Building a cache proxy server out of Twisted Framework
by Security Dude
Josh was helping me fix one of the errors I have been stuck on all day. I was trying to return a generator that was deferred. I guess I’m new to return statements and generators. I didn’t know that they can’t live on the same line. (Glad this wasn’t a chemistry class with explosive material)
I still haven’t fixed it. Below is a diagram that I created to help me understand what I was trying to build. Its really simple.
Today’s lesson is about knowing the fundamentals. I figured out that I need to learn more about async programming. Josh shared a link below that should help in learning this new framework.
This multi-part series introduces Asynchronous Programming and the Twisted networking framework.
- In Which We Begin at the Beginning
- Slow Poetry and the Apocalypse
- Our Eye-beams Begin to Twist
- Twisted Poetry
- Twistier Poetry
- And Then We Took It Higher
- An Interlude, Deferred
- Deferred Poetry
- A Second Interlude, Deferred
- Poetry Transformed
- Your Poetry is Served
- A Poetry Transformation Server
- Deferred All The Way Down
- When a Deferred Isn’t
- Tested Poetry
- Twisted Daemonologie
- Just Another Way to Spell “Callback”
- Deferreds En Masse
- I Thought I Wanted It But I Changed My Mind
- Wheels within Wheels: Twisted and Erlang
- Lazy is as Lazy Doesn’t: Twisted and Haskell
- The End