Skip to content
folkways

Events between your services

Folkways MicroSync

Backends publish over HTTP. Node.js, Deno and Bun services subscribe and resume from their last cursor.

Stream

billing/eventsstream

head #5210

producer

orders-service

#5210 invoice.paid

#5209 invoice.sent

#5208 order.created

#5207 refund.issued

#5206 order.created

billing

#5210

email

#5210

analytics

#5209
published over HTTP · consumed by Node.js, Deno and Bun services
Services consuming one log. Each keeps its own cursor, so a service that restarts picks up exactly where it stopped.

Features

What MicroSync does.

Live works today·Coming soon on the roadmap

  • Live

    Publish over HTTP

    Any backend can publish events with the server SDK.

  • Live

    Consumers in Node.js, Deno and Bun

    Services subscribe with the same SDK as your apps.

  • Live

    Resume after restarts

    With file storage, a service picks up from its saved cursor.

  • Live

    Binary formats

    FlatBuffers, Protobuf, MessagePack and CBOR as well as JSON.

  • Live

    Service identities

    Tokens can name a service instead of a user.

  • Coming soon

    Observability integrations

    Analytics are built into the dashboard today. Datadog and other third-party integrations are planned.

How it’s built

The topic.

One topic can carry several delivery types: each event name has its own, set once in the topic rule.

billing/events

Events between services, in order, with each consumer resuming from its own cursor.

Events on billing/events
EventType
invoice.paidPublished by the billing service.Stream
refund.issuedPublished by the payments service.Stream

Details

Good for

  • Order and billing events
  • Cache invalidation
  • Background job updates
  • Data sync between services

Good to know

  • Node.js 20 needs the ws package for WebSockets; Node.js 22+, Deno and Bun don’t.
  • Events are up to 60 KiB each by default.
  • History is kept for at most 24 hours, so a service that is down for longer gets a gap event.