O'Reilly logo

Foundations of Python Network Programming, Third Edition by John Goerzen, Brandon Rhodes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required