rr- / malgraph4

MALgraph: statistics service for MyAnimeList.net users.
http://mal.oko.im
Other
158 stars 39 forks source link

Rewrite cron-media #120

Closed rr- closed 10 years ago

rr- commented 10 years ago

Right now cron-media utilizes some queries that, while executed on big database, are extremely slow (yes DISTINCT, I am looking at you).

Implement media queue. Whenever an user is updated, all its media should be added to queue. After successful user queue run, media queue should be run.

idea

rr- commented 10 years ago

Before processing the queue, it might be useful to reorder it by last processing time.

rr- commented 10 years ago

(after testing) ...or not. That wouldn't be queue at all.