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

Async improvements #100

Open
hupili opened this issue Sep 10, 2013 · 2 comments
Open

Async improvements #100

hupili opened this issue Sep 10, 2013 · 2 comments

Comments

@hupili
Copy link
Owner

hupili commented Sep 10, 2013

Add action log in DB

We can not trace previously updated messages. Add one log entry in the DB for each updated messages.

Add a fail queue

  • add failure counts for each message
  • if failure counts greater than threshold, put in fail queue.

Or else, async daemon will continuously try and fail on the same error.

Multi-thread not only SNSPocket.home_timeline but also Platform.home_timeline

the current async pocket takes sync version of home_timeline in a batch. If one channel get stuck, others are also stuck.

@hupili
Copy link
Owner Author

hupili commented Sep 10, 2013

@fqj1994

@hupili
Copy link
Owner Author

hupili commented Sep 23, 2013

log mixing is one problem of snscli-async. It's inconvenient to operate.

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

No branches or pull requests

1 participant