Objective
The intent of this talk is to introduce the concepts of queueing in web development, tools at one’s disposal, some common patterns and how it all can be used to reduce time to generate user feedback.
Description
Many web apps try to do everything all at once, even things that are directly related to the response to the user. Doing all the tasks (including time consuming tasks) may affect the user experience badly. The user just wants to keep going and do his/her work and does not care about how the previous action affects the whole system and what all processing needs to be done for the same.
A user wants to post a message. Your system delivers that message and results of some associated complex processing to different recipients and tones of notification channels. But do we have to do all these things all at once while the user awaits your system to do all these things and then generate feedback for the user? The user just wants to do what he/she wishes to do and move on.
This talk will introduce the concepts of queueing in web development, tools at one’s disposal, some common patterns and how it all can be used to do everything at the back to please everyone using your application! I will also discuss some use-cases in which this approach can prove to be beneficial. And if there is enough time, I will try to show a show demo of one (or more) tools in this context.
Tools:
- Redis
- RabbitMQ
Libraries:
- Hotqueue
- PyRes
- Pika (RabbitMQ)
- Celery
Speaker bio
Vaidik Kapoor is a student, currently doing B. Tech. in Computer Science Engineering at Jaypee Institute of Information Technology, NOIDA. He is a developer and contributor to a couple of FOSS projects. He has been programming in Python for about 2 years now. He did Google Summer of Code in 2011 with the Drupal project.
In his free time, he likes to watch movies, eat amazing food and advocate FOSS.
Website: http://vaidikkapoor.info
1
▼
Hi Vaidik - Interesting talk. Could you elaborate a bit on the Python libraries you plan to mention in the talk ? The current description doesn't say anything about it.
1
▼
Hi Anand, Thanks and apologies for the delayed response on this. Somehow, I didn't get any notification after your comment on this page. I have added the libraries and tools that I am considering for this session.