Recent Blog Entries

Play Nicely - Celery, RabbitMQ & ELB Idle Timeout

14 Mar 2016 | Tagged with Python, AWS, Celery,

When RabbitMQ and Celery are behind an Elastic Load Balancer, problems occur when ELB sends TCP connections to your EC2 instances. In a normal request/response cycle, the ELB keeps the connection open for a short time afterwards (default is 60 seconds). Known as the 'idle timeout', under certain circumstances, Celery won't be notified that the connection is closed.

Read More