# processone/tsung

Tsung is a high-performance benchmark framework for various protocols including HTTP, XMPP, LDAP, etc.

Repository: https://github.com/processone/tsung
Canonical: https://ross.abutalabs.com/products/tsung
Homepage: http://www.process-one.net/en/tsung/
Language: Erlang
License: GPL-2.0
License Family: copyleft
Topics: erlang, xmpp, benchmark, benchmarking, postgresql, mysql, ldap, mqtt, amqp
Last push: 2026-03-02T15:37:11+00:00

## Health v2 (maintenance only)
Score: 64/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 70, release rhythm 35, longevity 100
- inputs: {"age_days": 6057, "days_push": 184, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2629, forks 402 (observed 2026-08-28T04:07:05.546455+00:00)

## What it is
Tsung is a multi-protocol distributed load testing and benchmarking tool written in Erlang. It simulates thousands of clients to test the scalability and performance of IP-based client/server applications over protocols like HTTP, WebDAV, SOAP, PostgreSQL, MySQL, LDAP, MQTT, AMQP, and Jabber/XMPP.

## Use cases
- load test an HTTP web service with thousands of concurrent users
- benchmark an XMPP messaging server's scalability
- stress test a PostgreSQL or MySQL database under heavy query load
- simulate distributed traffic against an MQTT or AMQP broker
- measure performance of an LDAP directory server
- run distributed load tests from multiple machines

## When to choose
- you need multi-protocol load testing beyond plain HTTP
- you want distributed load generation from multiple nodes
- you need to benchmark messaging protocols like XMPP, MQTT, or AMQP
- you need very high concurrency thanks to Erlang's lightweight processes

## When to avoid
- you only need simple HTTP load testing with a modern scripting workflow (tools like k6 or Locust may be easier)
- you prefer writing test scenarios in a general-purpose language rather than XML
- you need a GUI-driven load testing tool
- your team has no Erlang/OTP operational experience

## Facets
- artifact type: framework
- maturity: active
- function: benchmarking, load-testing, testing
- domain: testing, performance, developer-tools, networking
- platform: elixir, cli, cross-platform
- tags: load-testing, multi-protocol, distributed, http, xmpp, mqtt, amqp, ldap, database-load-testing, erlang, linux, macos

## Member repositories
- processone/tsung (main) score 64

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:05.546455+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:19:41.104215+00:00, confidence not recorded.
  - readme: https://github.com/processone/tsung (fetched 2026-08-28T04:07:05.546455+00:00, sha f4666ee6e00d)
  - homepage: http://www.process-one.net/en/tsung/ (fetched 2026-08-29T10:02:28.898107+00:00, sha f732c5de59e1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
