We swapped the engine: bots now run on Go
We rewrote the service that answers your bots’ messages in Go. Faster to start and much lighter.
この記事はまだお使いの言語では公開されていません。
This is the biggest change StreamBot has ever had, and you don’t need to do anything.
Every bot spends the whole day receiving messages: someone opens the menu, searches for a title, taps subscribe. The service that answers those messages was rewritten from scratch in Go, the language Google created for servers. Starting today, it’s the one talking to your customers.

Why touch something that worked
It worked, but it was heavy. Every extra bot asked for more memory, and at peak hours we could see the server getting tight. Go solves that its own way: a single program handles thousands of conversations at once using every core on the machine, and it needs little to do it.
Payments stayed where they were, in a separate, tested service. Go handles the conversation; the money keeps taking the usual path.
We measured before talking
We built the same bot task in three languages (read the Telegram message, prepare the text the way search does, build the screen with buttons and produce the reply) and ran it 300,000 times on the same machine.
- Startup: Go took 17.6 ms. JavaScript, 65 ms. Python, 82.5 ms.
- Memory using every core: Go stayed at 41 MB. JavaScript used 234 MB and Python, 297 MB.

There’s one spot where JavaScript won: on raw JSON per second, Node.js’s V8 engine is very fast. We show that on the page, without hiding it. But it needed more than 5 times Go’s memory to get there, and for a bot each reply already takes microseconds in all three languages. On the server, what weighs is memory and stability.
What changes for you
In practice:
- the bot wakes up faster after an update;
- it handles far more people calling at once without choking;
- the platform has room to grow without raising prices.
The dashboard stays the same. Your bots, menus, offers and subscribers are all where they were.
We tell the whole story calmly on its own page, with the charts, the number table and how we measured. It also shows up on the home page.
