RQby Selwin Ong, 27/04/2013Tuesday, April 30, 13
http://python-rq.orgTuesday, April 30, 13
Apa itu RQ?RQ is a Job Queue LibraryIt’s simpleTuesday, April 30, 13
The problemAnda punya (web) app canggihPerlu mengirimkan emailMembuat laporanMemanggil API situs lainTuesday, April 30, 13
Atau mungkin...Apapun yang seharusnya di luarrequest/response cycleTuesday, April 30, 13
Mencari solusi...Anda mulai mencari solusi...Tuesday, April 30, 13
Alternatif 1Tuesday, April 30, 13
Alternative 2:(Tuesday, April 30, 13
DisclaimerSaya salah satu dari dua coredeveloper RQSubjective opinion ahead ;)Tuesday, April 30, 13
Ok...Jadi kita menggunakan CeleryAda 1 masalah baruTuesday, April 30, 13
Sekarang kita perlu belajar...Rabbit MQAMQPChannels, ExchangesRouting KeysResult store (biasanya database)Tuesday, April 3...
Tuesday, April 30, 13
DisclaimerKaya FiturReliableTuesday, April 30, 13
Tapi!= SimpleTuesday, April 30, 13
http://python-rq.orghttps://github.com/nvie/rqTuesday, April 30, 13
TeknologiTuesday, April 30, 13
Prinsip1. Simple2. ReliableTuesday, April 30, 13
SimplicityZero configHanya memerlukan RedisTuesday, April 30, 13
Instalasipip install rqTuesday, April 30, 13
Penggunaanq = Queue(connection=redis)q.enqueue(send_mail, ‘to@mail.com’)Tuesday, April 30, 13
PenggunaanDEMOTuesday, April 30, 13
Production ready750+ Stars di GithubTuesday, April 30, 13
Production readySudah memroses milyaran JobsTuesday, April 30, 13
Coming soon...Concurrent workersGevent, Pre-forking workerhttps://github.com/nvie/new_workersTuesday, April 30, 13
Coming soon...Job schedulinghttps://github.com/ui/rq-schedulerTuesday, April 30, 13
Coming soon...Job dependencyhttps://github.com/nvie/rq/pull/207Tuesday, April 30, 13
Job dependencyjob = q.enqueue(generate_report)q.enqueue(send_email, after=job)Tuesday, April 30, 13
Tuesday, April 30, 13
We’re Hiring!http://stamps.co.idTuesday, April 30, 13
Questions? selwin@stamps.co.idhttp://twitter.com/selwinhttp://github.com/selwinTuesday, April 30, 13
Upcoming SlideShare
Loading in …5
×

rq talk

2,657 views

Published on

RQ: Job Queue
http://www.python.or.id/2013/04/kopi-darat-komunitas-python-indonesia.html

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,657
On SlideShare
0
From Embeds
0
Number of Embeds
1,519
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

rq talk

  1. 1. RQby Selwin Ong, 27/04/2013Tuesday, April 30, 13
  2. 2. http://python-rq.orgTuesday, April 30, 13
  3. 3. Apa itu RQ?RQ is a Job Queue LibraryIt’s simpleTuesday, April 30, 13
  4. 4. The problemAnda punya (web) app canggihPerlu mengirimkan emailMembuat laporanMemanggil API situs lainTuesday, April 30, 13
  5. 5. Atau mungkin...Apapun yang seharusnya di luarrequest/response cycleTuesday, April 30, 13
  6. 6. Mencari solusi...Anda mulai mencari solusi...Tuesday, April 30, 13
  7. 7. Alternatif 1Tuesday, April 30, 13
  8. 8. Alternative 2:(Tuesday, April 30, 13
  9. 9. DisclaimerSaya salah satu dari dua coredeveloper RQSubjective opinion ahead ;)Tuesday, April 30, 13
  10. 10. Ok...Jadi kita menggunakan CeleryAda 1 masalah baruTuesday, April 30, 13
  11. 11. Sekarang kita perlu belajar...Rabbit MQAMQPChannels, ExchangesRouting KeysResult store (biasanya database)Tuesday, April 30, 13
  12. 12. Tuesday, April 30, 13
  13. 13. DisclaimerKaya FiturReliableTuesday, April 30, 13
  14. 14. Tapi!= SimpleTuesday, April 30, 13
  15. 15. http://python-rq.orghttps://github.com/nvie/rqTuesday, April 30, 13
  16. 16. TeknologiTuesday, April 30, 13
  17. 17. Prinsip1. Simple2. ReliableTuesday, April 30, 13
  18. 18. SimplicityZero configHanya memerlukan RedisTuesday, April 30, 13
  19. 19. Instalasipip install rqTuesday, April 30, 13
  20. 20. Penggunaanq = Queue(connection=redis)q.enqueue(send_mail, ‘to@mail.com’)Tuesday, April 30, 13
  21. 21. PenggunaanDEMOTuesday, April 30, 13
  22. 22. Production ready750+ Stars di GithubTuesday, April 30, 13
  23. 23. Production readySudah memroses milyaran JobsTuesday, April 30, 13
  24. 24. Coming soon...Concurrent workersGevent, Pre-forking workerhttps://github.com/nvie/new_workersTuesday, April 30, 13
  25. 25. Coming soon...Job schedulinghttps://github.com/ui/rq-schedulerTuesday, April 30, 13
  26. 26. Coming soon...Job dependencyhttps://github.com/nvie/rq/pull/207Tuesday, April 30, 13
  27. 27. Job dependencyjob = q.enqueue(generate_report)q.enqueue(send_email, after=job)Tuesday, April 30, 13
  28. 28. Tuesday, April 30, 13
  29. 29. We’re Hiring!http://stamps.co.idTuesday, April 30, 13
  30. 30. Questions? selwin@stamps.co.idhttp://twitter.com/selwinhttp://github.com/selwinTuesday, April 30, 13

×