[x] Set expiration time for indirect tile requests to 60 seconds. Therefore, after spike in requests, queue will return to normal.
Images
[ ] Strip alpha band out of pngs if not needed. Create separate function and do right after tilesource.requestTile. Something like tile = stripAlpha(tile). Comment: actually doesn't seem to decrease size substantially.
Logging
[x] Set log level for Gunicorn to critical (--log-level=critical)
django-memcached-pool
https://github.com/mozilla/django-memcached-pool https://github.com/state-hiu/django-memcached-pool/tree/ittc https://github.com/mozilla/django-memcached-pool/pull/14
Gunicorn
Gevent
patch_all(subprocess=True)
and https://github.com/mongodb/mongo-python-driver#testingCelery
Visibility
Queue Expiration http://www.imankulov.name/posts/celery-messages-ttl.html
Images
tile = stripAlpha(tile)
.Comment: actually doesn't seem to decrease size substantially
.Logging
--log-level=critical
)Memcached
RabbitMQ
/etc/default/rabbitmq-server