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

greim greim@REDACTED
Sun Mar 18 11:08:59 CET 2018


Am 17.03.2018 um 20:02 schrieb Max Lapshin:
> 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.

Thanks Max
now I understand it, thats what I assumed.
I will test it for my application, its a kind of software PLC.

Markus



More information about the erlang-questions mailing list