Findstr Silly Save

A lightweight server framework based on Lua

Project README

silly

license CI


Depend

  • sudo apt-get install libreadline-dev(Debian)
  • yum install readline-devel(Centos)

Build

  • make
  • make TLS=off (disable TLS function)

Run

./silly <config>

Config

  • daemon, 1 --> run as daemon, 0 --> normal
  • bootstrap, lua entry file
  • lualib_path, will append the package.path (in luaVM)
  • lualib_cpath, will append the package.cpath (int luaVM)
  • logpath, when running in daemon mode, all print message will write to [logpath]/silly-[pid].log file
  • pidfile, when running in daemon mode, pidfile will used by run only once on a system

Test

  • All test code are in test folder
  • Run ./silly test/test.conf to test all module

Examples

  • examples/start.sh timer/socket/rpc/http/websocket can run one example
  • examples/start.sh can run all examples

Wiki

https://github.com/findstr/silly/wiki

Benchmark

https://github.com/findstr/silly/wiki/Benchmark

Open Source Agenda is not affiliated with "Findstr Silly" Project. README Source: findstr/silly

Open Source Agenda Badge

Open Source Agenda Rating