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

Move Meetup data retrieval to a task #8

Open
estebistec opened this issue Sep 10, 2011 · 4 comments
Open

Move Meetup data retrieval to a task #8

estebistec opened this issue Sep 10, 2011 · 4 comments

Comments

@estebistec
Copy link
Member

I think gondor supports some sort of worker or task concept. If so, that should be used to periodically refresh the meetup data for the home page. Currently, the first user to hit the page after cache expiry takes the hit.

@estebistec
Copy link
Member Author

Got an error-log email from the site on 9/23 wherein the call to meetup.com timed out. If this were a task such an error would never be seen by site visitors.

@estebistec
Copy link
Member Author

Gondor supports tasks now, but not scheduled tasks. Probably better to wait for that.

[1] https://gondor.io/support/celery/

@paulproteus
Copy link

For what it's worth: one very easy way to handle this is to have a Django view that simply executes the task and returns e.g. the string "OK". (or "KC" if you want to get confusingly specific to PythonKC) (-:

Then you "just", on any random server you have on the Internet, or from ifttt.com, configure a periodic task to visit that URL.

@estebistec
Copy link
Member Author

Right, or pingdom. Writing the task itself isn't really hard either, this is just how far down my priority list it is (wow, 2 years :/)

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

2 participants