Perl Out Of Order: Why Timeout Today What You Can Return Tomorrow
By Augustina Ragwitz (auggy) from NY.pm
Date: Tuesday, 24 June 2014 10:00
Duration: 50 minutes
Target audience: Intermediate
Language: English
So you've built a fancy web application with a fancy database back end, but now that people are using it you've got a few features timing out... and making for angry end users. In a normal procedural program, each task is done when the other finishes. Another option is to hand off the hard work to something else and give your user a status rather than a timeout! This talk will introduce asynchronous programming and the worker queue pattern. I will also provide a simple, reusable example for passing a long running SQL query off to a worker queue using RabbitMQ and AnyEvent::RabbitMQ.
Attended by:- Leon Timmermans (leont)
- Karen Etheridge (Ether)
- Alexander Vipach
- Dmitri Tikhonov (dmitri)
- Jared Miller
- Dana Jacobsen (danaj)
- Steve Nolte (mcsnolte)
- Nova Patch (patch)
- Russel Fisher (Fish)
- Mark Allen (mallen)
- Wallace Reis (wreis)
- Jay Allen (jayallen)
- James Morgan
- Thomas Glase
- Ricardo Signes (rjbs)
- Brendan Byrd (SineSwiper)
- John Lightsey (J.D.)
- Francis Sola (Hank)
- Daina Pettit
- Joe Zhou
- ali roozitalab
- Rish
- Rich Harkins
- vroom
- Tracey Clark (TraceyC)
- Robert Blackwell (rblackwe)
- David Farrell (dnmfarrell)
- D Ruth Bavousett (druthb)
- Nikolay Martynov
- Gabriel Munoz (gabriel)
- Maximilian Witte
- Bruce Gray (Util)
- Stan Schwertly (stan_theman)
- Tim Bunce
- Christopher Butler
- Doug Hoyte (fractal)
- James Bacon (boftx)
- Brian Brandes
- Lonny Jepson
- James Lenz (Jim)
- Kenneth Smith
- James E Keenan (kid51)
- Kevin Falcone (jibsheet)
- jerry gay (particle)
- Buddy Burden (barefootcoder)
- Christopher Eades (Chro)
- Chip Salzenberg (Chip)
- Tom Green (Tom)
- Daniel Fackrell
- Nicholas Jackson
- AndyB
- Kevin Olson
- Yanick Champoux (Yanick)
- Larry Leszczynski (larryl)
- Joseph Crotty (holybit)
- Scott O'Neil
- Rikus Goodell
- (Samuel) Kurt Newman
- Charles McGarvey (CCM)
- morgan jones
- James Carman (Jeremy)
- Andrew Rodland (hobbs)
- Jeffrey Tomsak (Jeff)