| z, ? | toggle help (this) |
| space, → | next slide |
| shift-space, ← | previous slide |
| d | toggle debug mode |
| ## <ret> | go to slide # |
| c, t | table of contents (vi) |
| f | toggle footer |
| r | reload slides |
| n | toggle notes |
| p | run preshow |
scaling web apps with message queues
who i am / dotCom bubble europe / 10k -> 1m domains in 5 years / NZ IWMN / springtimesoft (open for business) / other projects like OP, Startup Weekend


serial execution is bad - next up code sample
it is bad and well we know it
get '/signup' => sub {
parse_request($req);
ask_db($stuff);
scale_avatar($img);
call_ext_api($info_needed);
render_page($results);
}"> fast"
(could also call it suboptimal)
(or the only true way)
corporates talk about:
is in fact a glorified message queue
next up: code sample
sub producer{
$information => {
route => 'stack.x',
data => 'helo world'
};
send($information);
}sub consumer{
while( read('stack.x'))
{
process();
}
}next up: code sample
all calls send non blocking requests
get '/signup' => sub {
parse_request($req);
ask_db_async($stuff);
scale_avatar_async($img);
call_ext_api_async($info_needed);
$results = collect_answers();
render_page($results);
}
many different protocols / currently hot and widely used in startups
or how do i go from monolythic to modular and asynchronous
look for:
how we do it and why

millions have been wasted on sophisticated workflow engines
and you are going too far corporate if you try
keep it stupid simple