A single process/thread library, with non-blocking network apis for Lua.

$ luarocks install luafan

full coroutine apis: http/httpd tcp/tcpd udp/udpd mariadb fifo.

Dependency:
libevent
openssl
libcurl
mariadb

ubuntu14.04 + luajit
===============

apt-get update
apt-get install -y wget lua5.1-dev lua5.1 luajit make gcc libc-dev libcurl4-openssl-dev libevent-dev git libevent-2.0-5 libevent-core-2.0-5 libevent-extra-2.0-5 libevent-openssl-2.0-5 libcurl3 cmake g++ bison libncurses5-dev libssl-dev

wget https://github.com/MariaDB/server/archive/mariadb-5.5.48.tar.gz
tar xzf mariadb-5.5.48.tar.gz
cd server-mariadb-5.5.48
cmake .
cd libmysql
make install
cd ../include
make install
cd
rm -rf mariadb-5.5.48.tar.gz server-mariadb-5.5.48
luarocks install luafan MARIADB_DIR=/usr/local/mysql

Versions

0.7-212 days ago4 downloads
0.7-11 year ago79 downloads
0.6-12 years ago76 downloads
0.5-12 years ago121 downloads
0.4-12 years ago106 downloads

Dependencies

lua >= 5.1

Manifests