Advertisement

An Introduction to Asynchronous Programming with Twisted

  • Mark Williams
  • Cory Benfield
  • Brian Warner
  • Moshe Zadka
  • Dustin Mitchell
  • Kevin Samuel
  • Pierre Tardy
Chapter

Abstract

The previous chapter derived Twisted’s event-driven architecture from first principles. Twisted programs, like all event-driven programs, make concurrency easier at the expense of making data flow control more difficult. An event-driven program does not automatically have its execution suspend by block I/O when it sends more data than a receiving party can handle. It is the program’s responsibility to determine when this occurs and how to deal with it.

Copyright information

© Mark Williams, Cory Benfield, Brian Warner, Moshe Zadka, Dustin Mitchell, Kevin Samuel, Pierre Tardy 2019

Authors and Affiliations

  • Mark Williams
    • 1
  • Cory Benfield
    • 2
  • Brian Warner
    • 3
  • Moshe Zadka
    • 3
  • Dustin Mitchell
    • 3
  • Kevin Samuel
    • 4
  • Pierre Tardy
    • 5
  1. 1.PasadenaUSA
  2. 2.LondonUK
  3. 3.New YorkUSA
  4. 4.NiceFrance
  5. 5.ToulouseFrance

Personalised recommendations