Skip to content

Security and reliability brief ​

One page for a team deciding whether to run JoobQ: where your data goes, what depends on us, what is guaranteed and what is not. Every statement here describes what the software does today; the linked pages have the detail. Print this page from your browser to keep a copy.

1. What runs where ​

Everything that touches your jobs runs in your network. We host one thing: the licence portal.

Drawing the diagram…
  • Redis holds queues, jobs, dead letters, workflow histories and leases. PostgreSQL holds accounts, API token hashes, the audit log and notification channels. Both are yours. See Architecture.
  • The check-in is the server's only connection to us. It sends the server's address, its version, the number of active accounts, an id for the running instance, a worker count and a list of Pro features in use. The last two are sent empty today.
  • Never sent: job payloads, job or queue names, workflow data, or anything else from Redis or PostgreSQL.
  • Connecting a server to your licence sends its address, the name you gave it, its version and a public key.
  • Other outbound connections are ones you configure: your mail server (STARTTLS), your alert webhooks, your OpenID Connect provider, your log collector for audit streaming. Webhook and audit-streaming addresses must be https; internal addresses are refused and redirects are not followed.

We do not claim "no telemetry": the check-in above is the telemetry, and that list is all of it. See what the portal knows.

2. What keeps working without us ​

Your workers never depend on the portal. The SDK gateway checks its own token, not the licence.

IfThe consoleWorkers and jobsPro features
The portal cannot be reachedWorks for up to 7 days after the last successful check-inKeep runningOn while the last Pro key lasts, then as below
The licence is unpaid or expiredAnswers 402 paid_license_required until renewedKeep runningOn while the last Pro key lasts, then as below
The server is disabled in the portalAnswers 402 paid_license_requiredKeep runningOff

A Pro key lasts up to 8 days from its last renewal. A paid key is then honoured for 7 more days. After that, work already accepted finishes and only new Pro work is refused: workflow runs in flight complete, rate limits and unique jobs keep working. See When a key expires.

Two limits to know:

  • The console's 7 days are kept in memory. A server restarted while the portal is unreachable has no grace: its console is locked until a check-in succeeds. Its workers still run. Do not restart console servers during a portal outage.
  • Signing in with your portal account and connecting a new server need the portal. Local accounts do not.

3. Delivery guarantees ​

  • At least once. A job is delivered at least once, so a handler can run twice. Make handlers idempotent. Nothing in JoobQ delivers exactly once, and no queue can make a payment or an email happen exactly once.
  • A worker that dies loses no job. An SDK worker holds each task under a lease (30 seconds by default) that it renews while it works. A lease that is not renewed returns the task to its queue with one retry used, or to the dead letters when none is left. Crystal workers keep the jobs they hold in a list of their own with a heartbeat; another process takes the list over once the heartbeat has been silent for 30 seconds.
  • Retries. A failed job is retried after a random wait of between one second and an exponential cap (at most one hour), three times by default. An error marked non-retryable goes to the dead letters at once.
  • Dead letters are kept until you re-drive or delete them, or until the retention you set.

What is not guaranteed:

  • Timing. No job is promised to run within a given time.
  • Two known gaps in crash recovery of Crystal workers. If the reply to a claim is lost on the way from Redis, the job waits in that process's list until the process restarts. And two processes with the same host name and process id (containers on host networking, each running as process 1) share one list: give each container its own host name.
  • A Redis that evicts keys can drop queues: set its eviction policy to noeviction.
  • Redis Sentinel and Redis Cluster are not supported. A managed Redis with one endpoint and its own failover works.
  • Throughput. We publish no throughput figure and offer no service-level agreement.

See Jobs, Dead letters and Best practices.

4. Data protection ​

  • Sealed job fields. Fields you mark are encrypted with AES-256-GCM before the job is stored, so Redis never holds them in plain text. Keys are yours (JOOBQUI_PAYLOAD_KEYS) and rotate without downtime: add the new key first. The job's name, its queue and its other fields are not encrypted, and the fields travel in plain text from your app to the gateway, so reach the gateway over HTTPS. See Payload encryption.
  • Masking. Values whose name looks like a credential (password, secret, token, key, authorization, cookie and the like) are masked in every answer of the console and its API. The match is by name and deliberately generous.
  • Secrets at rest. Notification-channel addresses and keys and two-factor secrets are sealed with AES-256-GCM under JOOBQUI_SECRETS_KEY. API tokens and recovery codes are stored as hashes only, passwords as bcrypt hashes. The server's saved settings file is encrypted with AES-256-GCM; when its key sits on the same volume, that protects a copy of the file, not someone who can read the whole volume.
  • In transit. TLS to Redis is supported, with the certificate chain and host name checked by default. TLS for the console and the gateway is terminated by your own proxy. See Secrets.
  • Sessions. The session cookie is encrypted, signed, Secure and HttpOnly, lasts 60 minutes by default counted from sign-in, and is revoked on the server at sign-out. A state-changing request from a browser must carry a custom header, which a cross-site form cannot send.

5. Access control and audit ​

  • Three roles (viewer, operator, admin) on every route. See Roles and permissions.
  • Two-factor authentication (TOTP with recovery codes), which you can require per role.
  • Single sign-on with OpenID Connect (authorization code with PKCE), mapping your provider's groups to roles. Enterprise plan. SAML is not supported.
  • API tokens are created and revoked in the console, stored as SHA-256 hashes, and stop working at once when revoked. Workers use one separate token that can call only the SDK gateway.
  • Sign-in is throttled: five attempts per five minutes, with limits on two-factor attempts too.
  • Audit log. Every state-changing call is recorded. A change to who has access, or to what protects it, is written as an intent first and is refused if that cannot be written. A row never holds a request body, a password, a token, a code or an address. Rows are kept 365 days by default. We do not call the log tamper-proof: it is a table in your PostgreSQL. See Auditing.
  • Audit streaming to your log collector, at least once, on the Enterprise plan. See Audit streaming.

6. Licence integrity ​

  • Verified in your server, with keys built into it. The licence is a signed token (RS256) and the Pro key another (Ed25519). A release build checks both against public keys compiled into the binary and accepts no other.
  • What they bind to. The licence names your organization and the one server it was issued to. A paid Pro key works only for that organization and that server.
  • Check-ins are authenticated with the server's own secret, and signed with a key pair the server makes when it connects; the private half stays in the server's encrypted settings file. A copy of the whole volume can still check in: the key identifies an installation, it does not prevent cloning.
  • The Pro key is checked offline. No call to us is made when a job or a workflow runs.

7. Reporting a vulnerability ​

Write to the security contact in the repository's SECURITY.md and in /.well-known/security.txt on joobq.io. Please report privately and give us time to fix before publishing. We fix security issues in the latest release. We have no bug bounty.

8. What we do not have ​

  • No SOC 2 or ISO 27001 report, and no other certification.
  • No independent security audit or penetration test yet. The licensing code has had an internal review; an outside review has not been done.
  • No service-level agreement and no uptime guarantee for the licence portal.
  • No Redis Sentinel or Redis Cluster support.
  • No SAML: single sign-on is OpenID Connect only.

The legal terms, including the data processing addendum and our subprocessors, are linked in the footer of joobq.io.