Technology / Go

Our bots run on Go.

Quick to wake up, light on memory.

Go (or Golang) is the language Google created for servers. Every message your customers send to your bots is handled by a service compiled in Go: a single program that uses every server core at once and needs little memory.

bench/run.ps1

languagestartupmemory
Go17.6 ms41 MB
Node.js65.0 ms234 MB
Python82.5 ms297 MB

# same bot task · 300,000 messages · every core

  • 4.7× fasterto start than Python (3.7× faster than Node.js)
  • up to 7× less memoryhandling messages on every core
  • 1 fileno dependencies installed on the server

Measured, not guessed

Go, JavaScript and Python doing the same bot work

Each language reads the Telegram message, normalizes the text the way search does, builds the screen with buttons and produces the reply. 300,000 times, on the same machine.

Startup timelower is better
  • Go17.6 ms
  • JavaScript (Node.js)65.0 ms
  • Python82.5 ms
Memory using every corelower is better
  • Go41.3 MB
  • JavaScript (Node.js)233.7 MB
  • Python296.6 MB
Messages per second using every corehigher is better
  • Go312,793 msg/s
  • JavaScript (Node.js)771,803 msg/s
  • Python226,210 msg/s

On raw JSON throughput, JavaScript came out ahead: Node.js’s V8 engine is heavily optimized for it. But it used more than 5 times Go’s memory to do so. For a bot, each reply already takes microseconds in all three languages; what weighs on the server is memory and stability, and that is where Go stands out.

See the numbers
LanguageStartup time (ms)Memory using every core (MB)Messages per second using every core
Go17.641.3312,793
JavaScript (Node.js)65.0233.7771,803
Python82.5296.6226,210

Why Go

What Go brings to your bots

  • Many conversations at once

    With goroutines, a single program handles thousands of messages in parallel, using every server core.

  • A single file

    Go compiles everything into one executable. No packages to install and no versions clashing on the server.

  • Predictable memory

    It uses little memory even under heavy traffic, so the server has room to grow at no extra cost.

  • Fewer bugs

    Strong typing catches mistakes before the bot goes live, instead of your customers finding them.

  • Foundation of big projects

    Docker and Kubernetes, which power much of the internet, are written in Go.

  • Commerce stays safe

    Payments and confirmations run in a separate, tested service. Go handles the conversation with the customer.

How we measured

An open, repeatable test

  • The same task in all three languages, written the usual way for each.
  • No network and no database: it measures only the cost of the code itself.
  • Every core, the way each language does it: goroutines (Go), worker threads (Node.js) and processes (Python).
  • Memory = peak measured by the operating system, adding up every process.
  • Median of 3 runs of 300,000 messages. Startup = median of 9 launches.

Machine: AMD Ryzen 7 5700X 8-Core Processor, 16 cores · Go 1.27.4 · Node.js 26.12.0 · Python 3.13.13 · measured on 11/19/2026.

The test lives in the project’s bench folder and can be run again at any time.

Fast bots, no coding on your side

You create and configure them in the dashboard; we take care of the technology.

Built with Go — StreamBot