File: readme.md

package info (click to toggle)
golang-github-centrifugal-centrifuge 0.15.0%2Bgit20210306.f435ba2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,612 kB
  • sloc: javascript: 102; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 793 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
## Tarantool-based Centrifugo/Centrifuge Broker and PresenceManager

What's inside:

* PUB/SUB implementation to scale Centrifuge/Centrifugo nodes (PULL or PUSH based)
* Message history inside channels with retention (ttl and size) to survive mass reconnects and prevent message loss
* Presence support – to answer on a question who are the current subscribers of a certain channel

# The underlying spaces

The module creates several spaces internally.

* `pubs` to keep publication history for channels (for channels with history enabled)
* `meta` to keep history metadata (channel current max offset and epoch)
* `presence` to keep channel presence information (advice: make it temporary)

These spaces created automatically when you initialize the module by calling `centrifuge.init()`.