spin6lock / hive

Parallel lua states

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hive

Parallel multiple lua states , actor model for lua.

Quick Start

make and run

lua test.lua

the main logic is in main.lua .

You can read this blog first (http://blog.codingnow.com/2013/06/hive_lua_actor_model.html) (In Chinese)

Todo

  • None-blocking socket library from skynet (https://github.com/cloudwu/skynet)
  • Multi-process support
  • Broadcast message
  • Signal for cell exit
  • Database (Redis/Mongo/SQL) driver
  • Debugger/Monitor
  • Log system (Instead of print error message)
  • Better document
  • Better samples
  • More options in hive.start
  • And more

About

Parallel lua states

License:MIT License


Languages

Language:C 79.4%Language:Lua 19.8%Language:C++ 0.8%