Your SlideShare is downloading. ×
rq talk
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

rq talk

2,038
views

Published on

RQ: Job Queue …

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,038
On Slideshare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

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