Skip to main content

Embedded Backend

WorkaDB uses PostgreSQL's single-user backend execution path. This avoids a postmaster and eliminates multi-process shared memory, sockets, and background workers.

Key properties:

  • The engine runs inside the host process.
  • Each handle is single-threaded and must not be called concurrently.
  • The host controls when work happens via wepg_step.

This model provides deterministic behavior suitable for mobile constraints.