© Christopher Pitt and Joe Mancuso 2020
C. Pitt, J. MancusoThe Definitive Guide to Masonitehttps://doi.org/10.1007/978-1-4842-5602-2_10

10. Doing Work in the Background

Christopher Pitt1  and Joe Mancuso2
(1)
Cape Town, South Africa
(2)
Holbrook, NY, USA
 

In the previous chapter, we looked at all sorts of ways to make and send notifications. It’s an invaluable tool for large applications and more so for applications that need to perform tasks in the background.

Think of the web sites you use regularly, sites like YouTube, Facebook, Twitter, and Google. You know what they have in common (apart from a lot of money)? They all need to do boring work outside of the request/response cycle.

YouTube transforms videos from one format to many different formats. ...

Get The Definitive Guide to Masonite: Building Web Applications with Python 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.