Checking network input processing by Python for a multi-threaded server

Markus Elfring Markus.Elfring at web.de
Thu May 2 03:55:12 EDT 2019


>> May I expect that data were completely received from clients and accordingly
>> processed by the request handler in the started threads after
>> the statement “server.shutdown()” was sucessfully executed?
>
> Python delegates those low level services to the underlaying
> network library, which likely will implement the TCP specification.

* How do you think about data processing consequences when record sets are
  concurrently received and are appended to a global list (for a Python variable)?

* Would you expect that the run time system takes care for data consistency
  because of involved multi-threading?

Regards,
Markus


More information about the Python-list mailing list