rosik / tarantool-bus

Net.bus for tarantool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pub/Sub over Tarantool net.box

Running demo

  1. Run ./demo-server.lua and ./demo-client.lua in two adjasent terminal windows.
  2. Roll a dice in server console: roll().
$ ./demo-client.lua
localhost:3301: box.info.ro = false
localhost:3301: demo.random = nil
entering the event loop
localhost:3301: demo.random = 5
localhost:3301: demo.random = 5
localhost:3301: demo.random = 4
localhost:3301: demo.random = 5
localhost:3301: demo.random = 1
localhost:3301: demo.random = 4
localhost:3301: demo.random = 3

About

Net.bus for tarantool


Languages

Language:Lua 100.0%