JSPM

  • Created
  • Published
  • Downloads 243172
  • Score
    100M100P100Q168036F

Eventually consistent chat rooms via CRDT

Package Exports

  • chat

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (chat) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Chat

A chat room crdt document type.

Memory Usage / Performance Tests

The current implementation (using MuxDemux streams with a centralized CRDT document) consumed approximately 1.5 Gb of memory and was servicing ~560K client streams prior to the test being terminated. A previous implementation using CRDT documents for both the room and the client implementation hit a similar memory usage figure with only 1K client instances.