Contenu connexe Similaire à Ruby Proxies for Scale, Performance, and Monitoring - GoGaRuCo - igvita.com (20) Plus de Ilya Grigorik (11) Ruby Proxies for Scale, Performance, and Monitoring - GoGaRuCo - igvita.com1. Ruby Proxies for Scale, Performance and Monitoring Ilya Grigorik CTO / AideRSS Event-Driven Architectures @igrigorik #meshu #eda http://bit.ly/eda 9. Proxies for Monitoring, Performance and Scale welcome to the wonderful world of intercepting, caching, … , proxy servers 12. Staging fail. Profile of queries has changed Fail Load on production has changed Fail Parallel environment Fail Slower release cycle Fail 13. Replay log data, rinse, repeat github.com/igrigorik/autoperf 19. Ruby EventMachine crash course EM::Connection #receive_data - new data ready for processing #unbind - connection terminated #connection_completed - connected 30. Who said you’re not allowed to touch the data? Intercepting Proxy for those hard-to-reach spots 31. SMTP / Mail: inject SPAM detection De(encrypt): stream data MySQL: inject sharding logic Intercepting Proxy for those hard-to-reach spots 36. Extend the protocol Chronos Scheduler Beanstalkd persistence Process incoming data Buffer “SCHEDULE” requests, otherwise forward 39. @PostRank: “Chronos Scheduler” ~79,000,000 jobs, 4GB RAM ARCHIVE RESERVE, … Upcoming jobs: ~ 1M 400% cheaper + extensible! 1 Proxy, 1 Beanstalkd, 1 MySQL = 200 req/s 40. %w[ Transparent <Intercepting> Auth Cache … ] easy to make & a powerful hammer Notes de l'éditeur Wonderful, wonderful world in the context of building and using Ruby proxy servers for scale, performance and monitoring.