wiki:WhyShouldICare

Version 1 (modified by rotund, 6 years ago) (diff)

--

What Twisted Is

Twisted is an asynchronous framework written in and for Python. This allows for concurrency without requiring the use of forking processes or spawning threads. Now, this obviously does not come without some additional work, especially if you're used to using one of the other methods.

For a simple program that only is concerned about doing exactly one thing at one time, standard synchronous blocking programming will do just fine. (Please note that things like getting/sending information from/to a server while displaying and repainting a GUI is actually two things.) On the other hand, if you put in a little more work upfront, things like scaling becomes a much easier issue. (This includes scaling up to more simultaneous requests or scaling down to lower powered systems.)

The Proof

Okay, you've made all these claims, but where's the proof?