adicu / adi-website

[DEPRECATED] The website for the Application Development Initiative, built on Eventum.
https://adicu.com
11 stars 15 forks source link

RQ task queue #114

Open schlosser opened 9 years ago

schlosser commented 9 years ago

Issue by alanhdu Friday Nov 14, 2014 at 20:26 GMT Originally opened as https://github.com/danrschlosser/eventum/pull/114


Works in development, need to figure out how to actually deploy Redis and RQ.


alanhdu included the following code: https://github.com/danrschlosser/eventum/pull/114/commits

schlosser commented 9 years ago

Comment by natebrennand Sunday Nov 23, 2014 at 20:15 GMT


Would be nice to have a README section, or something that is super explicit about how to write a task. Could also be a good move to have a decorator that logs the tasks (like their start and end times).

schlosser commented 9 years ago

Comment by natebrennand Sunday Nov 23, 2014 at 20:17 GMT


I think we'd want to have a consumer of the failed queue to insert them into a mongo collection for easy inspection.

Thinking about this in terms of handling emails, we might want to log those into the database as well so that they can be navigated via a web UI.

schlosser commented 9 years ago

Comment by natebrennand Sunday Nov 23, 2014 at 20:17 GMT


thoughts? cc @danrschlosser

schlosser commented 9 years ago

Comment by danrschlosser Monday Nov 24, 2014 at 01:22 GMT


Let's put this on :yellow_heart: (hold)

I think we shouldn't merge this until we have it tested with an actual task that works. We should build on top of this with:

  1. A task that merits use of RQ (Google Calendar, Emails, other things)
  2. Some interface for managing those tasks on the web