Web Architect
2018-09-19 13:05:34 UTC
Hi,
We have an ecommerce website built on django. In a back ground processing
of large amount of data, I am using tornado coroutine with producer
consumer model for concurrency. The producer reads from MySQL database and
puts the record in the queue. Consumer picks the record from the Queue and
processes it. This runs as a separate python task (Celery task).
I have observed that the memory usage of the above increases drastically
and the memory is not released. Hence, is there a chance that the Tornado
producer/consumer coroutine is consuming memory and not releasing it? Would
really appreciate if anyone could help me with the above as this would help
me in narrowing down on the cause for high memory usage we are facing.
Thanks.
We have an ecommerce website built on django. In a back ground processing
of large amount of data, I am using tornado coroutine with producer
consumer model for concurrency. The producer reads from MySQL database and
puts the record in the queue. Consumer picks the record from the Queue and
processes it. This runs as a separate python task (Celery task).
I have observed that the memory usage of the above increases drastically
and the memory is not released. Hence, is there a chance that the Tornado
producer/consumer coroutine is consuming memory and not releasing it? Would
really appreciate if anyone could help me with the above as this would help
me in narrowing down on the cause for high memory usage we are facing.
Thanks.
--
You received this message because you are subscribed to the Google Groups "Tornado Web Server" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python-tornado+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Tornado Web Server" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python-tornado+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.