Job/Task Queue with Node.js

ERICK WENDEL

cto - Horizon four

Job Queue

task / job

arquitetura

bee-queue

  • Eventos com Redis
  • Job timeouts and retries
  • Processamento Concorrente
  • Relatórios de progresso

FOCO EM PERFORMANCE

  • Mantém o uso do Redis ao mínimo
  • Lua para script e pipeline
  • Benchmarks favoráveis contra bibliotecas similares

Why Bees?

  • is small and simple
  • is fast (bees can fly 20mph!)
  • carries pollen (messages) between flowers (servers)
  • something something "worker bees"

https://github.com/LewisJEllis/bee-queue

benchmark

cenário

celery

task / job

demonstração

redis

monitoramento

retries

demonstração

pm2 

keymetrics

questions ???

OBRIGADO !!!

  • http://bit.ly/mva-erickwendel

  • http://erickwendel.com.br

  • http://netcoders.com.br/blog​

  • http://meetup.com/netcoders

  • http://meetup.com/nodebr

  • https://github.com/ErickWendel/palestra-nodejs-jobqueue-lambda3

referencias !!!

  • https://github.com/LewisJEllis/bee-queue/wiki/Origin

  • https://redis.io/

  • nodejs.org

Job/Task Queue with Node.js

By Erick Wendel

Job/Task Queue with Node.js

Job/Task Queue with Node.js

  • 2,088