Skip to content

Cnerium Documentation

A reliability-first backend layer for Vix applications.

Cnerium does not replace Vix. It attaches to an existing Vix backend and adds durable route behavior for critical write operations that must stay correct under retries, timeouts, lost responses, and unstable networks.

Attach Cnerium to Vix
and protect critical writes
main.cppvixcneriumdurable
#include <vix.hpp>
#include <cnerium/cnerium.hpp>
int main()
{
  vix::App app;
  auto cnerium = cnerium::attach(app);

  cnerium.durable_post("/orders","orders.create",
      [](cnerium::DurableRequest &request){
        return cnerium::created({
            {"ok", true}
      });
  });

  cnerium.start();
  app.run();
}

Released under the MIT License.