Description
im_service is an instant messaging server written in Go, from the GoBelieve project. It handles one-to-one messages, group messages and chat room messages, and it supports clustered deployment for larger workloads. The README gives performance figures measured on a server with 32 GB of memory and 16 cores: a single machine can keep about 500,000 users online and process about 5,000 messages a second, and it supports very large groups of up to 3,000 people. The service runs as three cooperating processes, ims, imr and im, each with its own config file, which are started with nohup and logs written to a directory you create. Setup requires a Go toolchain newer than version 1.11 with module support, MySQL and Redis, and the db.sql schema. Client connections authenticate with a token stored in a Redis hash that links a user ID and an app ID, which you can generate by hand when testing without the API server. The project also links to the GoBelieve developer site. It is aimed at developers building chat features who want to run their own messaging backend.…
Highlights
- One-to-one, group and chat room messages
- Clustered deployment
- Token authentication through Redis
- Build with Go, MySQL and Redis
Ratings & Reviews
No ratings yet
Be the first to rate Im Service.
People also visit
Im Server
IM Chat, High-performance, scalable, self-hosted instant messaging server in Go
Im Service FAQ
What is im_service?
An instant messaging server in Go that handles one-to-one, group and chat room messages, with cluster support.
Is it free?
Yes. The source is public on GitHub and the listing shows no paid plan.
What does it need to run?
Go with module support, newer than version 1.11, plus MySQL and Redis. Import the db.sql file and configure the three services.
How many users can one server handle?
The README says about 500,000 users online and 5,000 messages a second on a 16-core, 32 GB server.
How do clients connect?
With a token stored in Redis. The README explains the key and fields so you can create tokens for testing.
Is there a hosted version?
The README links to the GoBelieve developer website, which offers the related service.
What are the best Im Service alternatives?
Popular alternatives to Im Service include Im Server, Open Im Server and Teamgram Server. See all Im Service alternatives

