Wrong models cause massive accidental complexity.

Greg Young

Chapter 10Performing Background Jobs with Microservices

Have you ever ordered food over the telephone? Maybe you called a pizza delivery place that didn’t yet have online ordering? Did it go something like this?

You phoned the location, maybe asking what they had on special. You ended up making a selection and getting an idea of when it would be delivered. Then you stayed on the phone, tying up the line so that no one else could call in until your pizza was delivered and ready to go into your belly.

Oh wait, that doesn’t sound familiar? Well, good. Just like with this pizza-delivery scenario, there are certain things web applications do that have no business being completed during ...

Get Practical Microservices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.