Home / Companies / PubNub / Blog / Post Details
Content Deep Dive

Announcing rltm.js, a Universal API for Real-time Messaging

Blog post from PubNub

Post Details
Company
Date Published
Author
Michael Carroll
Word Count
1,087
Language
English
Hacker News Points
-
Summary

rltm.js is a newly introduced universal API designed for real-time communication, enabling developers to create real-time applications with a single codebase while easily switching between various real-time messaging backends. It functions as a protocol adapter that ensures interoperability between clients and messaging APIs, offering convenient methods for handling messages, rooms, users, and message persistence, and determining online presence in real-time. Compatible with both front-end web and Node.js environments, rltm.js allows seamless transition between real-time services through simple configuration. Initially supporting Socket.IO and PubNub, the library aims to aid developers who find scaling their own real-time networks challenging and costly, providing an easy transition to PubNub's service. PubNub also offers open-source libraries, examples, and tutorials, enhancing the shared real-time development ecosystem.