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

Switch to Celery #11

Closed
9 tasks done
keithamoss opened this issue Jul 20, 2018 · 0 comments
Closed
9 tasks done

Switch to Celery #11

keithamoss opened this issue Jul 20, 2018 · 0 comments

Comments

@keithamoss
Copy link
Owner

keithamoss commented Jul 20, 2018

Let's use Celery, not our hacked together queueing solution.

  • Deploy django-celery with RabbitMQ
  • Have a single Celery task start-up with the stack, stop the previous task, and begin streaming
  • Deal with the edge case of two workers streaming at once and log a warning (duplicate pkeys)
  • Reconnect on getting a 420
  • How can frontend know if we're running? Inspect the task queue for running tasks?
  • What causes the Connection reset by peer errors?
  • Why is guest still showing up in the logs?
  • Filling in missing tweets doesn't seem to entirely work
  • Move DB logging stuff to logger?

Twitter API Documentation

Standard search API
Using the standard search endpoint
Standard streaming API request parameters
Streaming tweets: Reconnecting best practice

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

No branches or pull requests

1 participant