[erlang-questions] [ANN] erserve Erlang/R (Rserve) connector - 3.0.0

49 views
Skip to first unread message

Daniel Eliasson

unread,
Aug 28, 2012, 7:15:23 AM8/28/12
to erlang-q...@erlang.org
Dear all,

I announce to you the existence of erserve 3.0.0. It is available at
https://github.com/del/erserve and a connection pool library for it at
https://github.com/del/erserve_pool

What is it?
===
erserve is an Erlang application that lets you easily connect to an R
instance via Rserve ( http://rforge.net/Rserve/ ) over a binary
protocol.
You can send strings to R to be evaluated, and also upload data to
variables in R via binary transport.

Who is it for?
===
erserve should come in handy if you want to perform some kind of
calculations that are tedious/difficult in Erlang, for instance
running data through machine learning models. It can also shorten your
deployment times by allowing you to model things in R, and then just
use your results from Erlang, instead of porting them there.

Is it fast?
===
It's not bad. With 10 workers and a pool of 10 erserve connections, my
workstation (Core i7 2.93 Ghz, 16 GB RAM) could run 10 000 individual
classifications through a random forest in 8 seconds. That's about
1250 calls per second in throughput, with each invidivual call taking
about 3 ms round-trip.

===
If you have any questions, please let me know. If anyone has use for
this, I would greatly appreciate feedback on improvements.

I'd also like to thank my employer, Klarna AB, for letting me do some
of the work on this open source software during work hours.

Best,
Daniel Eliasson
_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

Bernardo Alvez

unread,
Aug 28, 2012, 9:30:44 AM8/28/12
to Daniel Eliasson, erlang-q...@erlang.org
Thank you Daniel, very interesting!

Bernardo

Daniel Eliasson escribió:

Zabrane Mickael

unread,
Aug 28, 2012, 10:40:12 AM8/28/12
to Daniel Eliasson, erlang-q...@erlang.org
Hi Daniel,

Extremely useful.
Thanks for sharing ... and thanks to Klarna too!

Regards,
Zabrane

Shahrdad Shadab

unread,
Sep 23, 2012, 8:55:52 AM9/23/12
to Zabrane Mickael, erlang-q...@erlang.org
Hi Daniel

This is really good, I have been waiting for this for a long time.

Thanks a lot
Best Regards
Shahrdad
--
Software Architect & Computer Scientist
Reply all
Reply to author
Forward
0 new messages