VolObj event hub

hub.volobj.quave.one v0.5.6

Relays "this path changed" events between the members of a VolObj volume.

members wss://hub.volobj.quave.onetenant API https://hub.volobj.quave.one

Get started#

Get an anonymous credential (no account, no e-mail):

curl -fsS -X POST https://hub.volobj.quave.one/v1/tenants/anonymous# or, with the volobj CLI:volobj hub anon --hub wss://hub.volobj.quave.one --save

The answer is a tenant id anon-… and a credential valid for 30 days. Give it to every member of your volumes (VOLOBJ_HUB_TOKEN, or the CSI Secret key hubToken) and point them at wss://hub.volobj.quave.one.

Renew or leave#

Renew the credential before it expires (an expired credential is still accepted for renewal for 7 days):

curl -fsS -X POST -H "Authorization: Bearer $VOLOBJ_HUB_TOKEN" https://hub.volobj.quave.one/v1/tenants/renew# orvolobj hub renew --hub wss://hub.volobj.quave.one --save

Leave: revoke the credential and delete the tenant record.

curl -fsS -X DELETE -H "Authorization: Bearer $VOLOBJ_HUB_TOKEN" https://hub.volobj.quave.one/v1/tenants/me# orvolobj hub delete-tenant --hub wss://hub.volobj.quave.one --yes

Register with an e-mail address

A code is sent to the address:

volobj hub register --hub wss://hub.volobj.quave.one --email you@example.comvolobj hub activate --hub wss://hub.volobj.quave.one --email you@example.com --code 123456 --save

What this is#

This is a VolObj event hub. VolObj mounts a prefix of an S3 bucket as a shared directory; the hub relays "this path changed" events between the members of a volume, so a write on one machine shows up on the others in well under a second instead of at the next polling cycle.

The hub sees paths and sizes, never file contents, never your volume key and never your S3 credentials. Without it, members still work: they fall back to polling the bucket.

Limits#

per tenant, per hub replicaanonymousregistered
live connections20200
live rooms (volumes)10100
members per room16256
events per second100/s500/s
  • New anonymous tenants: 10 per hour per client IP, 1,000 per day on the whole hub.
  • Other tenant endpoints (renew, leave, register): 5 requests per minute per client IP.
  • An anonymous tenant unused for 90 days is purged.

Privacy#

  • Events carry an operation, a path (in clear text), a size and an ETag; the hub relays them and never stores them.
  • It keeps a tenant record (kind, creation, expiry, last seen) and aggregate counters; it never receives file contents, volume keys or S3 credentials.
  • Client IP addresses stay in memory only, in the rate-limit buckets, for at most an hour; they are never logged.
  • Leave at any time with DELETE /v1/tenants/me. Full details: /privacy.