This document summarizes Andy McKay's presentation on the anatomy of Mozilla's large Django site. It discusses performance optimizations including caching, reducing SQL queries, async tasks with Celery, and localization. It also covers code reuse through libraries like Bleach and JavaScript testing. Testing, linting, and continuous integration with Hudson were also mentioned.Read less
ã¨ããéçºç°å¢ã§Celery + RabbitMQãåããã¦ããããã¤ã®ã¾ã«ãtask.delay()ãæ¯ããã¦ãªãã¨ããããã³ã°ã¢ãããã¦ãæãã«ãªã£ãæã®èª¿æ»ã¨å¯¾å¦ã®ã¡ã¢ ç°å¢ Debian squeeze RabbitMQ 3.1.3 (apt-getã§install) ç¾è±¡ Djangoã¢ããªããCelelyã®task.delayã§ã¸ã§ããå®è¡ãã¦ããã©å¦çãããæ°é ããªã ç¹ã«ã¢ããªãCeleryãRabbitMQã§ç®ç«ã£ãã¨ã©ã¼ã¯åºã¦ããªã Celeryèµ·åæã«RabbitMQã®æ¥ç¶ã¯åºæ¥ã¦ãã¨ãããã°ã¯åºã¦ã [2013-07-25 16:08:55,270: WARNING/MainProcess] celery@hogehoge ready. [2013-07-25 16:08:55,284: INFO/MainProcess] consumer: Connected t
This document describes the current stable version of Celery (5.4). For development docs, go here. First Steps with Celery¶ Celery is a task queue with batteries included. Itâs easy to use so that you can get started without learning the full complexities of the problem it solves. Itâs designed around best practices so that your product can scale and integrate with other languages, and it comes wi
I'm using Celery to process multiple data-mining tasks. One of these tasks connects to a remote service which allows a maximum of 10 simultaneous connections per user (or in other words, it CAN exceed 10 connections globally but it CANNOT exceed 10 connections per individual job). I THINK Token Bucket (rate limiting) is what I'm looking for, but I can't seem to find any implementation of it.
Supervisor(d) 㯠daemontools ã©ã¤ã¯ãªããã»ã¹æ»æ´»ç£è¦ç¨ã®ã¹ã¼ãã¼ãµã¼ãã§ãã XML-RPCã使ã£ã¦ããã»ã¹æ å ±ã®åå¾ãããã»ã¹ã®æä½ããããªãã¾ãã ä»åã¯ã¸ã§ããã¥ã¼ãµã¼ãã§ããã¨ããã® Celery(d) ãsupervisordä¸ã§ç®¡çããã¾ã§ã ç´¹ä»ãã¾ãã supervisordã®è¨å® ã¤ã³ã¹ãã¼ã«ã¯ easy_install çµç±ã§ãããªãã¾ãã ãã¼ã¸ã§ã³ã¯3.0a8ã§ãã è¨å®ãã¡ã¤ã«ä½æã¾ã§ã $ easy_install -U supervisor $ echo_supervisord_conf > /etc/supervisord.conf $ mkdir /etc/supervisord ;; è¨å®ç¨ å¿ è¦ã«å¿ã㦠$ mkdir /var/log/supervisord ;; ãã°ç¨ å¿ è¦ã«å¿ã㦠$ vim /etc/supervi
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}