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
0
370
Event Driven Architectures with Twisted
Simon de Haan
October 05, 2012
Tweet
Share
More Decks by Simon de Haan
See All by Simon de Haan
#breaktherules 2014
smn
0
36
Hack where it Matters
smn
1
170
Learning to Fail
smn
1
110
Featured
See All Featured
Art, The Web, and Tiny UX
lynnandtonic
289
19k
The Cult of Friendly URLs
andyhume
74
5.7k
Ruby is Unlike a Banana
tanoku
96
10k
Debugging Ruby Performance
tmm1
70
11k
GitHub's CSS Performance
jonrohan
1025
450k
The Pragmatic Product Professional
lauravandoore
25
5.8k
Bash Introduction
62gerente
604
210k
Fireside Chat
paigeccino
21
2.6k
Code Review Best Practice
trishagee
55
15k
Creatively Recalculating Your Daily Design Routine
revolveconf
210
11k
Automating Front-end Workflow
addyosmani
1356
200k
10 Git Anti Patterns You Should be Aware of
lemiorhan
648
58k
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