dsoo / shardfree

A ZeroMQ-based toolkit for real-time distributed simulation in C++.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zero-sim

ZeroMQ-based server for real-time distributed simulation

Note that this is currently HIGHLY experimental right now. And doesn't actually do very much.

In fact, all it can do is remote log publishing via WebSocket, which I guess is sort of neat, but not particularly useful yet.

There's virtually no error handling. There's no tests. Expect and assume all the APIs to change or disappear.

Mac build instructions

I haven't done anything beyond the minimum to get things up and running here. Once I decide to deploy this on something other than one of my development Macs I'll put some real work into the build tools. In any case:

Install automake and other build tools (for zeromq)

brew install automake
brew install pkg-config
brew install libtool

Build libwebsockets and zeromq-3x as submodules

git submodule init
cd libwebsockets
./configure;make # Make install doesn't work

To build, run:

make depend
make

To clean, run:

make clean

Running

To run the server:

./server # Runs the server

All it does is run some (very) fake simulation threads which output logs.

You can view the logs by connecting to http://localhost:7890

About

A ZeroMQ-based toolkit for real-time distributed simulation in C++.


Languages

Language:C++ 100.0%