Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nxtedition/deepstream.io

Package Overview
Dependencies
Maintainers
1
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nxtedition/deepstream.io

a scalable server for realtime webapps

  • 5.3.8
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9
decreased by-94.04%
Maintainers
1
Weekly downloads
 
Created
Source

============================================== The Open Realtime Server

deepstream is a new type of server that syncs data and sends events across millions of clients

Changes compared to http://deepstream.io/

The main difference compared with the official deepstream is offline synchronization and conflict resolution supported through the storage layer using databases with eventual consistency such as CouchDB. This allows for e.g. cross datacenter replication and synchronization as well recovery from network partitions.

  • Removed CREATEORREAD, CREATE, DELETE, HAS and SNAPSHOT actions. All records "exists" in the empty form {}. Clients should use READ and UPDATE to achieve the same functionality.
  • Removed PATCH action for more robust and easier conflict management. Clients should send and listen to UPDATE instead.
  • Changed version format to ${version}-${uuid} for offline conflict resolution.
  • Removed VERSION_EXISTS and moved version and conflict management into storage layer. Highest ${version}-${uuid} wins until conflict is resolved.
  • Removed cache connector. Instead all nodes have their own in-memory LRU cache which is distributed and shared between nodes.
  • Sync changes and conflict resolution from storage connector by listening on the storage.on('change', (recordName, version, data)) => {}. See https://github.com/nxtedition/deepstream.io/blob/master/examples/couchdb-storage-connector.js for an example of how to implement a storage connector.
  • Compress record data for reduced bandwidth and cache size.

FAQs

Package last updated on 29 Dec 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc