Tuesday, February 26, 2013

Celery


4 comments:

  1. Configuraciones disponibles
    ---------------------------

    http://docs.celeryproject.org/en/latest/configuration.html

    ReplyDelete
  2. Celery + Django transactions
    ----------------------------

    http://docs.celeryproject.org/en/latest/userguide/tasks.html#database-transactions

    ReplyDelete
  3. Configuración minima
    --------------------

    BROKER_URL = 'amqp://guest@localhost/'

    CELERY_RESULT_BACKEND = 'amqp'
    # Deprecated aliases: CELERY_BACKEND

    ReplyDelete
  4. Worker con limites x queue
    --------------------------

    # Advanced example starting 10 workers in the background:
    # * Three of the workers processes the images and video queue
    # * Two of the workers processes the data queue with loglevel DEBUG
    # * the rest processes the default' queue.
    $ celeryd-multi start 10 -l INFO \
    -Q:1-3 images,video \
    -Q:4,5 data \
    -Q default \
    -L:4,5 DEBUG


    http://docs.celeryproject.org/en/latest/reference/celery.bin.celeryd_multi.html

    ReplyDelete

Note: Only a member of this blog may post a comment.