python-rq

Django python-rq — DatabaseError SSL error: decryption failed or bad record mac

半城伤御伤魂 提交于 2019-12-04 18:56:36
问题 I'm using the django-redis and django_rq frameworks to support both redis caching and redis background task processing for my Django application on Heroku. It's worked smoothly in the past, however now I keep getting a DatabaseError SSL error: decryption failed or bad record mac every time one of my jobs get run. I read that this error occurs commonly with Postgres in the https://devcenter.heroku.com/articles/postgres-logs-errors article, but it hasn't really been giving me anything useful

Pros and cons to use Celery vs. RQ [closed]

北城余情 提交于 2019-12-04 07:23:26
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 3 years ago . Currently I'm working on python project that requires implement some background jobs (mostly for email sending and heavily database updates). I use Redis for task broker. So in this point I have two candidates: Celery and RQ. I had some experience with these job queues, but I want

Django python-rq — DatabaseError SSL error: decryption failed or bad record mac

我的未来我决定 提交于 2019-12-03 11:36:36
I'm using the django-redis and django_rq frameworks to support both redis caching and redis background task processing for my Django application on Heroku. It's worked smoothly in the past, however now I keep getting a DatabaseError SSL error: decryption failed or bad record mac every time one of my jobs get run. I read that this error occurs commonly with Postgres in the https://devcenter.heroku.com/articles/postgres-logs-errors article, but it hasn't really been giving me anything useful for my python setup. The problem is solved by closing the DB connection at the beginning of each job. For

RQ - Empty & Delete Queues

≯℡__Kan透↙ 提交于 2019-12-03 07:19:07
问题 I'm using RQ, and I have a failed queue with thousands of items, and another test queue I created a while back for testing which is now empty and unused. I'm wondering how to remove all jobs from the failed queue, and delete the test queue altogether? Apologies for the basic question, but I can't find info on this in the RQ docs, and I'm completely new to both Redis and RQ... Thanks in advance! 回答1: Cleanup using rq RQ offers methods to make any queue empty: >>> from redis import Redis >>>

Pros and cons to use Celery vs. RQ [closed]

☆樱花仙子☆ 提交于 2019-12-02 13:55:35
Currently I'm working on python project that requires implement some background jobs (mostly for email sending and heavily database updates). I use Redis for task broker. So in this point I have two candidates: Celery and RQ . I had some experience with these job queues, but I want to ask you guys to share you experience of using this tools. So. What pros and cons to use Celery vs. RQ. Any examples of projects/task suitable to use Celery vs. RQ. Celery looks pretty complicated but it's full featured solution. Actually I don't think that I need all these features. From other side RQ is very