February 7, 2026 By Sergey

How do the C++ backend and the web interface interact?

The interaction model is as follows:

C++ backend:

  • manages Suricata;
  • receives events;
  • writes data to Redis;
  • exposes REST endpoints.

Web interface:

  • works directly with the REST API;
  • reads aggregated data from the backend;
  • does not interact with C++ directly.

C++ is used where the following are critical:

  • performance;
  • low latency;
  • operation on low-end hardware.