Using a real-world online application (a real-time whiteboard) as an example, Wenbo Zhu illustrates the key architectural properties and underlying technologies to create and deploy a real-time, stateful application on top of the completely stateless serverless architecture. You’ll discover why it’s both feasible and desirable to keep the client-side programming model stateful while at the same time leveraging the stateless/serverless model to deploy the entire server-side stack. That is, there will be no stateful component to deploy on the server side. Moreover, the network communication between the client and server is serverless friendly too, in terms of load balancing, DoS prevention, and failure recovery. And you don’t even have to sacrifice any latency to achieve the best of both worlds (i.e., an architecture that is stateful to the application but stateless to the underlying cloud and serverless infrastructure).
Wenbo Zhu is a software engineer at Google, where he is responsible for Google’s frontend networking frameworks. His current work involves building scalable and robust real-time messaging stacks for internet clients to interact with cloud services. He has also contributed to various web protocol-related standards and open source projects. Wenbo holds a PhD in computer engineering. He is the author of the so-called COLOR algorithm for managing performance and consistency trade-offs of geographically replicated cloud services.
©2018, O’Reilly UK Ltd • (800) 889-8969 or (707) 827-7019 • Monday-Friday 7:30am-5pm PT • All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. • email@example.com