Day 1: HTTP Request as State Machine
Webmachine excels at making complex HTTP processing simple, and its sweet spot is very much on the back end of web systems. It is used to power APIs such as Opscode’s Chef Server API as well as HTTP interfaces to distributed systems like Basho’s Riak database. We’ll look at Webmachine through the lens of a link-shortening service, and by the end of today, you’ll be ready to make your very own link shortener.
Link shorteners have proliferated since they first appeared around 2002,[35] turning lengthy URLs into compressed sequences of alphanumerics that fit in limited space or require less typing. They work by redirecting from the shortened link to the destination by using a big lookup table. They don’t ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access