Introduction to AP4R
summary
AP4R is a Ruby messaging library that claims lightweight API and seamless Rails integration and guaranteed delivery via SAF (store and forward); it uses a reliable-message backend with MySQL persistence, dispatcher threads that push over HTTP/XML-RPC/DLUB, and configurable thread counts to separate busy vs heavy jobs. Real deployments include a UK web game (a few hundred messages/hour, two ap4 servers) and a mobile SMS gateway (≈1,000+ messages/day). A demo shows 100 concurrent requests cut user latency while background tasks drain steadily.
AI-written summary · about
chapters (9)
- 0:00Start
- 2:30pen source
- 4:23ter solution
- 6:02to scale out
- 12:38ionnaire results
- 21:07Protocols
- 21:31kinds of tasks
- 22:59Outline
- 35:17R@RubyForge
related talks
36mReal-Time Rails
18mRuby Messaging Patterns
33mFar and Away (A Tour of DistribRuted Programming with Ruby)
22mRack-AMQP: Ditch HTTP Inside SOA!
36mDRb vs. RabbitMQ Showdown
44mBuilding Distributed Applications
41mDecouple all the things: Asynchronous messaging keeps it simple
43mRails services in the walled garden
