Scaling Web Apps With RabbitMQ - Erlang Factory Lite
Integrating Erlang with PHP
1. Integrating
Erlang with PHP
Alvaro Videla
June 2010 - IPC Spring Edition - Berlin
Wednesday, June 2, 2010
2. About Me
• Lead Developer at TheNetCircle.com
• Twitter: @old_sound
• Blog: http://obvioushints.blogspot.com/
• PHP Erlang Bridge Core Developer
Wednesday, June 2, 2010
10. Products written in Erlang
• Amazon SimpleDB
• Ejabberd - XMPP server
Wednesday, June 2, 2010
11. Products written in Erlang
• Amazon SimpleDB
• Ejabberd - XMPP server
• RabbitMQ - AMQP Messaging Server
Wednesday, June 2, 2010
12. Products written in Erlang
• Amazon SimpleDB
• Ejabberd - XMPP server
• RabbitMQ - AMQP Messaging Server
• Riak - Decentralized Key/Value Store
Wednesday, June 2, 2010
13. Products written in Erlang
• Amazon SimpleDB
• Ejabberd - XMPP server
• RabbitMQ - AMQP Messaging Server
• Riak - Decentralized Key/Value Store
• CouchDB - Document Oriented Database
Wednesday, June 2, 2010
14. Products written in Erlang
• Amazon SimpleDB
• Ejabberd - XMPP server
• RabbitMQ - AMQP Messaging Server
• Riak - Decentralized Key/Value Store
• CouchDB - Document Oriented Database
• Mochiweb - Lightweight HTTP Servers
Wednesday, June 2, 2010
28. What can I build?
• Web Admins for Erlang Systems
Wednesday, June 2, 2010
29. What can I build?
• Web Admins for Erlang Systems
• PHP Session Storage Systems
Wednesday, June 2, 2010
30. What can I build?
• Web Admins for Erlang Systems
• PHP Session Storage Systems
• Ad hoc K/V stores
Wednesday, June 2, 2010
31. What can I build?
• Web Admins for Erlang Systems
• PHP Session Storage Systems
• Ad hoc K/V stores
• Run Map/Reduce Jobs in Erlang
Wednesday, June 2, 2010
32. What can I build?
• Web Admins for Erlang Systems
• PHP Session Storage Systems
• Ad hoc K/V stores
• Run Map/Reduce Jobs in Erlang
• Much more…
Wednesday, June 2, 2010
37. Session Storage
• Why?
• To ease session data distribution
• Be able to add logic to sessions
• Several storage backends to choose from
Wednesday, June 2, 2010
38. Session Storage: Bitcask
• Developed by Basho as a Riak backend
• Minimalistic API
• Stores data on disk
• Easy to Backup and Restore
* http://blog.basho.com/2010/04/27/hello,-bitcask/
Wednesday, June 2, 2010