Beruflich Dokumente
Kultur Dokumente
Ilya Grigorik
CTO / AideRSS
Proxy Proxy
Proxy
Duplication
App server C
Staging fail.
Production
Benchmarking Proxy
flash of the obvious
EM-Proxy Workflow
#receive_data
- new data ready for processing
#unbind
- connection terminated
#connection_completed
- connected
Ruby EventMachine
crash course
Analyze Results
Response Time
Validating Proxy
easy, real-time diagnostics
Intercepting Proxy
for those hard-to-reach spots
Intercepting Proxy
for those hard-to-reach spots
Oi, expensive!
Beanstalkd Math
Memory is wasted…
MySQL
EM-Proxy
Beanstalkd
Chronos Scheduler
Beanstalkd persistence
Archive to MySQL
Chronos Scheduler
Beanstalkd persistence
MySQL
EM-Proxy
ARCHIVE
MySQL
EM-Proxy
ARCHIVE
Upcoming jobs: ~ 1M
RESERVE, …
1 Proxy, 1 Beanstalkd, 1 Beanstalkd
MySQL = 200 req/s