97 Things Every Cloud Engineer Should Know by Emily Freeman
Author:Emily Freeman
Language: eng
Format: epub
Publisher: O'Reilly Media
Published: 2020-12-04T00:00:00+00:00
Keeping State
Stateful servers are servers that keep track of processed messages. These messages should be identified with some metadata, not with the payload itself. This is very important to distinguish between repeated messages and messages with equal payloads. When creating a message, attach an identifier attribute that makes duplicates explicit.
As in stateless servers, if there is a time window after which processing a message is no longer required, create a time-to-live header so that old messages may be forgotten, reducing the effort of keeping state and checking whether a message was processed.
If the state is stored in an ephemeral structure, the same rules applied to stateless servers apply to stateful servers. If the state is lost or incomplete, the service may not be aware it is receiving a duplicate.
When a service with several instances processes messages in parallel, it may be necessary to share state among them, usually with the help of a database. The choice of the state persistence stack depends on the reliability/performance axis that is part of the decision making.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7808)
Grails in Action by Glen Smith Peter Ledbrook(7719)
Configuring Windows Server Hybrid Advanced Services Exam Ref AZ-801 by Chris Gill(6815)
Azure Containers Explained by Wesley Haakman & Richard Hooper(6815)
Running Windows Containers on AWS by Marcio Morales(6332)
Kotlin in Action by Dmitry Jemerov(5089)
Microsoft 365 Identity and Services Exam Guide MS-100 by Aaron Guilmette(5055)
Combating Crime on the Dark Web by Nearchos Nearchou(4629)
Microsoft Cybersecurity Architect Exam Ref SC-100 by Dwayne Natwick(4584)
Management Strategies for the Cloud Revolution: How Cloud Computing Is Transforming Business and Why You Can't Afford to Be Left Behind by Charles Babcock(4437)
The Ruby Workshop by Akshat Paul Peter Philips Dániel Szabó and Cheyne Wallace(4318)
The Age of Surveillance Capitalism by Shoshana Zuboff(3978)
Python for Security and Networking - Third Edition by José Manuel Ortega(3880)
The Ultimate Docker Container Book by Schenker Gabriel N.;(3538)
Learn Windows PowerShell in a Month of Lunches by Don Jones(3528)
Learn Wireshark by Lisa Bock(3500)
Mastering Python for Networking and Security by José Manuel Ortega(3376)
Mastering Azure Security by Mustafa Toroman and Tom Janetscheck(3355)
Blockchain Basics by Daniel Drescher(3322)
