Soketi is your simple, fast, and resilient open-source WebSockets server. 📣
soketi is your simple, fast, and resilient open-source WebSockets server. 📣
The server is built on top of uWebSockets.js - a C application ported to Node.js. uWebSockets.js is demonstrated to perform at levels 8.5x that of Fastify and at least 10x that of Socket.IO. (source)
Compared with Pusher, you can achieve much more for less than one-third of the price.
For a $49 plan on Pusher, you get a limited amount of connections (500) and messages (30M).
With Soketi, for the price of an instance on Vultr or DigitalOcean ($5-$10), you get virtually unlimited connections, messages, and some more.
Soketi is capable to hold 500 active connections with high traffic on just 1 GB and 1 CPU machines in the cloud. You can also get free $100 on Vultr to try out soketi →
soketi implements the Pusher Protocol v7. Therefore, any Pusher-maintained or compatible client can connect to it, bringing a plug-and-play experience for existing applications that are already compatible with this protocol.
You and your users can access the API and WebSockets through Pusher-like apps which serve keys and secrets to connect or authenticate requests for broadcasting events or checking channels statuses. soketi also comes built-in with support for DynamoDB and SQL-based servers like Postgres.
In addition to being a good companion during local development, soketi comes with the resiliency and speed required for demanding production applications.
soketi just exposes the metrics to you, you just have to scrape them, whether it's a simple HTTP Client to pull the current usage, or you're using Prometheus to monitor all the connections.