Options For Building Real-time Apps in Javascript

  1. Client Pull
  2. Server Push
  • It is complex to implement
  • Not every browser supports this feature. (IE 11+)
  • It uses huge server resources and there is a limit to the maximum number of open connections
  1. Socket.io
  2. Emitter.io
  3. Pusher
  • Reliability (fallback to HTTP long-polling in case the WebSocket connection cannot be established due to firewall or corporate proxies).
  • Automatic reconnection.
  • Acknowledgments for transmitting data.
  • Broadcasting to all clients or to a subset of clients.
  • Immediately scale to billions of messages
  • Industry-leading uptime
  • Flexible and versatile API
  • SDKs and libraries for every language
  • Supports message storage with history and message-level expiry.
  • Provides secure channel keys with permissions and can face the internet.
  • Shared subscriptions, links, and private links for channels.
  • Easy deployment with Docker and Kubernetes of production-ready clusters.

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

https://youtu.be/j6UUO91yShk

Structure of an Angular 7 CLI project

Angular RxJS Observable Class

Changelog: 🦄 Console

Angular: Create a custom dependency injection

Undefined symbol: ___darwin_check_fd_set_overflow

Undefined symbol: ___darwin_check_fd_set_overflow

Introduction to React Hooks

Royal Crown Pawn & Jewelry owner pleads guilty in stolen reselling scheme — WHEC

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
KAPIL GARG

KAPIL GARG

More from Medium

Cookie and Session (III) — simple express-session authentication example

Uploading a Node.js app on Cpanel using Namecheap

Hi Node js, I have added you in my project.

Fantasy Premier League API authentication guide(using node.js)