Basic tick system¶
This is a basic tick system with fake feed, tickerplant, rdb+ hdb and a gateway to query data.
Mutliple rdbs/hdbs can be spawned and will connect and subscribe and be able to be queried.
There is no data persistance, however hdb data can be generated using the
Building under qp¶
To build each of the containers run
Running under docker-compose¶
After building you can run under docker-compose as follows
cp docker-compose.yml ./qpbuild/ docker-compose up
cfg - Configuration directory
- Contains schema and process configuration
src/lib - Libraries dir
- Contains code that multiple processes share
src/processes - process files
By default the gateway is on 5050 if booted through
Can query via
queryData[table;syms] on the gw that will dispatch to a random rdb and hdb.
The table flowing through the system is
example. To connect to the gw and query for all syms:
gw:hopen 5050; gw(`queryData;`example;`)
The repo contains a library
funcDownHandle.q that contains a function for the gw that will send a function down a handle tto rdb/hdbs.
For this to work, this library must remain uncompiled. This lib is here to verify that the build can identify which libs to not compile