Abstract
Stateful and stateless programming can be defined as software code that maintains a state or data element, or sees each interaction without previous context. Stateful programming is the dominate sibling because any time a variable is set (i=1), a data element is captured (for example, capturing customer order information on an e-commerce site), a variable in a loop is incremented, or an array is used, a state is present. In and of itself, stateful is not a problem because state is needed for many transactional interactions. DevOps does not mandate that all code must become stateless, but there are times when stateless brings opportunity.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2016 Michael S. Cuppett
About this chapter
Cite this chapter
Cuppett, M.S. (2016). Stateful Data, Stateless Database Schema, and Code. In: DevOps, DBAs, and DBaaS. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2208-9_5
Download citation
DOI: https://doi.org/10.1007/978-1-4842-2208-9_5
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-2207-2
Online ISBN: 978-1-4842-2208-9
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books