mirror of
https://github.com/not-kennethreitz/convore.json.git
synced 2026-06-21 15:40:58 +00:00
1 line
2.9 KiB
JSON
1 line
2.9 KiB
JSON
[{"user_id": 2089, "stars": [], "topic_id": 36713, "date_created": 1306317621.8018689, "message": "For example : http://www.artfulcode.net/articles/threading-django/", "group_id": 81, "id": 1176267}, {"user_id": 2089, "stars": [], "topic_id": 36713, "date_created": 1306317796.3230851, "message": "Any scalability issues? I am in favor of creating a worker aside managed by supervisor but I am wondering if a simple thread is a bad practice.", "group_id": 81, "id": 1176279}, {"user_id": 32856, "stars": [{"date_created": 1306330778.0825429, "user_id": 13817}, {"date_created": 1306331735.7563269, "user_id": 22109}, {"date_created": 1306362767.1979289, "user_id": 31345}, {"date_created": 1306501775.9710059, "user_id": 1243}, {"date_created": 1306588680.8624139, "user_id": 5778}], "topic_id": 36713, "date_created": 1306322606.796536, "message": "I'm relatively puritanical on this topic, so I would argue that any spawning of tasks should be managed outside the scope of web server processes, regardless of how minor an admin thinks they may be. Or in short, I would recommend kicking any async tasks, no matter now small, to a process which is totally independent of the web server. This is where Celery shines, as it provides a high level interface to async jobs without making the user decide how they update the client on a job's progress.", "group_id": 81, "id": 1176683}, {"user_id": 2089, "stars": [], "topic_id": 36713, "date_created": 1306325017.9925909, "message": "yeah celery is perfect for the job, but the component needs to be stand-aloned for certain reasons and we do not want another dependency layer. Thank you for your advice", "group_id": 81, "id": 1176996}, {"user_id": 1147, "stars": [], "topic_id": 36713, "date_created": 1306332215.9835229, "message": "My understanding is that the ORM is the part most likely to not be thread safe.", "group_id": 81, "id": 1178382}, {"user_id": 7376, "stars": [{"date_created": 1306418485.5014729, "user_id": 22109}], "topic_id": 36713, "date_created": 1306346548.657418, "message": "Celery might be better suited for this task use the Redis backend because frankly, Redis is handy to have laying around.", "group_id": 81, "id": 1181663}, {"user_id": 7, "stars": [{"date_created": 1306634790.7238591, "user_id": 1147}, {"date_created": 1306653517.6250479, "user_id": 5734}], "topic_id": 36713, "date_created": 1306474848.1462491, "message": "@edmenendez the ORM is thread safe", "group_id": 81, "id": 1201008}, {"user_id": 7, "stars": [{"date_created": 1306501761.5081301, "user_id": 1243}], "topic_id": 36713, "date_created": 1306474867.943131, "message": "OTOH opening a thread during an HTTP request is just about always wrong IMO", "group_id": 81, "id": 1201010}, {"user_id": 2089, "stars": [], "topic_id": 36713, "date_created": 1306484436.4111919, "message": "Thank guys for your answer, I persuaded my teammate to use celery which is one of the best solution to handle this thing.", "group_id": 81, "id": 1202423}] |