The Wayback Machine - https://web.archive.org/web/20210801113249/https://github.com/obsei/obsei/issues/162
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation about Observer's state management #162

Open
lalitpagaria opened this issue Jul 9, 2021 · 0 comments
Open

Add documentation about Observer's state management #162

lalitpagaria opened this issue Jul 9, 2021 · 0 comments

Comments

@lalitpagaria
Copy link
Collaborator

@lalitpagaria lalitpagaria commented Jul 9, 2021

Currently each Observer support state management.

Obsei store state in any of sqlalchemy supported database on schema mentioned in WorkflowTable class.

There is example also exist to show it's capability.

State management is particularly useful in using Obsei in worker environment. For example a cron fetch tweets from Twitter every 1 hour. With state management Obsei's Observer do not read duplicate tweets.

Let's add documentation about this into Obsei docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment