[erlang-questions] sqlapi: library to connect to your erlang server via SQL

Max Lapshin max.lapshin@REDACTED
Sat Mar 17 20:02:26 CET 2018

This is not about mysql _server_.

Look, we write a video streaming server flussonic.  It has some running
video streams inside and connected users that are watching live stream.

It is possible to connect to flussonic with mysql command line tool or from
PHP and run sql query:  "SELECT * FROM streams"

sqlapi parses this request and sends it to function   my_cluster:select/3
that  collects from ets all information about streams and
sends this reply back.

PHP thinks that there is mysql server, but there is no mysql server.  All
data is sent from RAM from ets tables.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20180317/ffa06615/attachment.htm>

More information about the erlang-questions mailing list