10
Improving Microservices Performance with Caching
Because microservices run asynchronously, their execution time and performance are of minor importance in most scenarios. For example, when a Django web app offloads the task of sending a confirmation email to the user, it doesn’t matter whether the email arrives in 5 or 15 seconds. Nevertheless, we developers want to utilize resources optimally, and in extreme cases, we can end up with microservices taking half an hour or longer to run.
To address this, this chapter teaches you how to maintain and improve microservices performance with caching. First, you’ll learn about the fundamentals and benefits of caching. Then, you’ll learn about applying Django’s cache framework. Finally, you’ll master ...
Get Hands-On Microservices with Django 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.