CHAPTER 7

image

Server Architecture

There are two challenges facing the author of a network service. The first is the core challenge of writing code that will correctly respond to incoming requests and craft the appropriate responses. The second is the task of installing this network code inside a Windows service or Unix daemon that starts automatically when the system boots, logs its activity to a persistent store, raises an alert if it cannot connect to its database or back-end data store, and either protects itself completely against all possible failure modes or can be quickly restarted should it fail.

This book focuses on the first of these two ...

Get Foundations of Python Network Programming, Third Edition 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.