mardi 29 avril 2014

Django - base de données de céleri État choisir - Stack Overflow


I'm using celery to perform tasks, I cannot just take and throw away. I should know exacly what state of task is and react on task kill or anything like this.


Task removal/freeze is not acceptable. And I don't want to create checkers for this and store all(params, task name) in separate db. Why? Because Celery should do this.


BUT! I can't be sure that celery will be error-proof. Basicly, because I saw few state-db file curruption errors in production of really big projects.


So, my decision is to store state db in good db, not sqlite. But which? Mongodb stores values in RAM for some long time, before it will write it on disk. Sqlite is dangerous. Other SQL needs to create schema(but I'm lazy..).


Any advices? Any comments for my problem? I'll be glad to see any!



I'm using celery to perform tasks, I cannot just take and throw away. I should know exacly what state of task is and react on task kill or anything like this.


Task removal/freeze is not acceptable. And I don't want to create checkers for this and store all(params, task name) in separate db. Why? Because Celery should do this.


BUT! I can't be sure that celery will be error-proof. Basicly, because I saw few state-db file curruption errors in production of really big projects.


So, my decision is to store state db in good db, not sqlite. But which? Mongodb stores values in RAM for some long time, before it will write it on disk. Sqlite is dangerous. Other SQL needs to create schema(but I'm lazy..).


Any advices? Any comments for my problem? I'll be glad to see any!


0 commentaires:

Enregistrer un commentaire