Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Alvaro Videla's Blog:
Erlang as a Fast Key Value Store for PHP
Mar 08, 2010 @ 19:37:51

Alvaro Videla has submitted a new post he's written up combining PHP and Erlang yet again, but this time he's using it to just store key/value pairs rather than for session data.

In this post I want to show you some of the neat things that can be done with the PHP-Erlang Bridge extension: A Key Value Store. Erlang comes packed with a Key Value store in the form of the ETS module. This is database is pretty fast and efficient for storing the Erlang terms in memory.

He tried a proof of concept to see how well the system would respond and was able to push over 150k items into the storage in one second. Sample code and instructions on getting the bridge working are included in the post.

tagged: erlang keyvalue store benchmark extension bridge

Link:


Trending Topics: