Processes

Process templates for services.

json_to_log →

Converts a .json file to a transaction log file.

kafka_consumer →

Reads messages from one or more Kafka topics, converts them into MarketGrid transactions, and publishes the replies onto another topic.

kafka_producer →

Publishes market data objects onto a Kafka topic.

log_to_tsv →

Converts a file from MG transaction log format to one or more .tsv files.

mdb_alertengine →

MDB real-time alert processing engine. This process uses the data in the various tables related to alerts, such AlertDefinition, AlertCategory and AlertConfiguration to generate alerts which are sent to the matching engine as transactions and are then populated in the Alert table. Alerts can be triggered by any data in shared memory and are defined by the data in the AlertDefinition table (and others). A common example would be an alert which pops up in the trading UI when a resting order is matched. Another example could be email notifications for an auction starting etc. See the full list of tables related to alerts here.

mdb_discovery →

MDB discovery service.

mdb_gateway →

MDB query gateway.

mdb_hdb →

MDB historical database.

mdb_level1engine →

MDB real-time engine that produces 24-hour rolling market data. This process calculates values such as total volume traded in the past 24hr window every second and sends LevelOneUpdate transactions to the engine. It queries the historical and realtime databases to calculate this. The transaction contains the sequence number of the most recent record included in the calculation and the engine checks if there are any more recent records and updates the value accordingly (relevant for calculations such as last 24h high/low).

mdb_migration →

MDB Migration process for database maintenance.

mdb_monitor →

MDB process monitoring service.

mdb_rdb →

MDB real-time database.

mdb_reporter →

MDB report generation process.

nginx →

The web server used to deliver the MarketGrid UI.

nq →

Empty nq process which can be used to run a compiled nq script.

prometheus_exporter →

Prometheus Exporter

te_destroy →

Unlink all MarketGrid objects from shared memory.

te_dump →

Print the contents of a transaction log file or shared memory table.

te_dump_timings →

Prints transaction timings recorded by the matching engine when the --dotransactiontiming option is used.

te_engine →

The MarketGrid matching engine.

te_governor →

Arbitrates between Main and Backup matching engines.

te_monitor →

Prints shared memory usage.

te_tserver →

Transaction server which accepts transactions, routes them to the matching engine, and returns the replies.

te_watcher →

Triggers a system cycle on a configurable interval or in response to a shared memory condition.

tsv_to_log →

Converts a .tsv file to one or more transaction log cache files.

ui_load_emulator →

UI Load Emulator

ui_server →

Server which services UI clients over WebSockets and REST.