Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Event Driven Architectures with Twisted
Search
Simon de Haan
October 05, 2012
420
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Event Driven Architectures with Twisted
Simon de Haan
October 05, 2012
More Decks by Simon de Haan
See All by Simon de Haan
#breaktherules 2014
smn
0
66
Hack where it Matters
smn
1
200
Learning to Fail
smn
1
150
Featured
See All Featured
Exploring anti-patterns in Rails
aemeredith
3
480
Marketing to machines
jonoalderson
1
5.7k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
490
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
400
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
The SEO identity crisis: Don't let AI make you average
varn
0
550
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
910
How Software Deployment tools have changed in the past 20 years
geshan
1
34k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
201
75k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
Building Adaptive Systems
keathley
44
3.2k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.3k
Transcript
Scalable Event Driven Architectures with Twisted Friday, October 5, 2012
Praekelt Foundation builds open source, scalable mobile technologies and solutions
to improve the health and wellbeing of people living in poverty. Friday, October 5, 2012
Majority World Friday, October 5, 2012
Africa: 1 billion people. 700 million phones. Friday, October 5,
2012
Most will never use a computer. Friday, October 5, 2012
Education Health Employment Agriculture Governance Friday, October 5, 2012
Image courtesy of Kiwanja.net There are some serious challenges. Friday,
October 5, 2012
Nothing is reliable. Friday, October 5, 2012
Tight Coupling. Friday, October 5, 2012
Friday, October 5, 2012
Transports Applications Decoupled & Asynchronous Decoupled & Asynchronous Standardized Message
Format Standardized Message Format Reusable Reusable Friday, October 5, 2012
Twisted Networking Application RabbitMQ AMQP Message bus Redis Key /
Value store Persistence Riak NoSQL database Friday, October 5, 2012
Python Twisted Javascript Node.js Ruby EventMachine Friday, October 5, 2012
Event Driven Programming Programs consist of callbacks that are called
by the framework. Friday, October 5, 2012
Friday, October 5, 2012
Friday, October 5, 2012
Friday, October 5, 2012
Friday, October 5, 2012
Friday, October 5, 2012
Friday, October 5, 2012
Deferred() Future Promise Friday, October 5, 2012
Friday, October 5, 2012
Friday, October 5, 2012
Friday, October 5, 2012
OS Event OS Event OS Event Deferreds F R R
W W W W W W W W W W Reactor Event Loop Friday, October 5, 2012
T A Coupled Friday, October 5, 2012
T A Decoupled Friday, October 5, 2012
Concurrent TT A Friday, October 5, 2012
A T T T A A RabbitMQ Appointment Reminders ...
USSD SMS ... Verify medicine Distributed Friday, October 5, 2012
You can wait Friday, October 5, 2012
T Synchronous 3rd party API A Inbound Vumi Message Outbound
Vumi Message Friday, October 5, 2012
Deferreds can be difficult to wrap your head around. Friday,
October 5, 2012
@inlineCallbacks great to get started, can cause subtle problems. Friday,
October 5, 2012
Incredible stable stack Friday, October 5, 2012
trial Friday, October 5, 2012
WIKI VUMI Friday, October 5, 2012
Friday, October 5, 2012
Dial *120*8864#, or add
[email protected]
and
[email protected]
to your Google
Talk contact list. Friday, October 5, 2012
github.com/praekelt/vumi/ Join! Build apps and infrastructure to impact Africa, at
scale. Friday, October 5, 2012
*120*8864# Thank You. Friday, October 5, 2012