# Tsung: An Open-Source Distributed Load-Testing Tool for Multiple Protocols

DevFeed: [Tsung: An Open-Source Distributed Load-Testing Tool for Multiple Protocols](<https://devfeed.tech/articles/see-tsung-in-action-34447.md>)

Original publisher: [Read original article](<https://tapoueh.org/blog/2011/08/see-tsung-in-action/>)

Author: Dimitri Fontaine PostgreSQL Major Contributor; Author

Published: 2011-08-02T08:30:00Z

Content type: article

Language: en

Sources: [Dimitri Fontaine](<https://devfeed.tech/sources/dimitri-fontaine.md>)

Topics: [Testing](<https://devfeed.tech/topics/testing.md>), [Benchmark](<https://devfeed.tech/topics/benchmark.md>), [Erlang](<https://devfeed.tech/topics/erlang.md>), [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [Protocol (disambiguation)](<https://devfeed.tech/topics/protocol.md>), [sessions](<https://devfeed.tech/topics/sessions.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [Development](<https://devfeed.tech/topics/development.md>)

Tags: [benchmark](<https://devfeed.tech/tags/benchmark.md>), [erlang](<https://devfeed.tech/tags/erlang.md>), [load-testing](<https://devfeed.tech/tags/load-testing.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [protocol](<https://devfeed.tech/tags/protocol.md>), [sessions](<https://devfeed.tech/tags/sessions.md>), [testing](<https://devfeed.tech/tags/testing.md>)

## AI overview

The article introduces Tsung, an open-source, multi-protocol distributed load-testing tool built with Erlang. It describes benchmarking applications, recording and replaying sessions at high scale, PostgreSQL support, and integration with pgfouine for converting PostgreSQL logs into Tsung sessions. It also mentions the uTsung variant used in video games and a video demo.

## Source excerpt

Tsung is an open-source multi-protocol distributed load testing tool and a mature project. It's been available for about 10 years and is built with the Erlang system. It supports several protocols, including the PostgreSQL one. When you want to benchmark your own application, to know how many more clients it can handle or how much gain you will see with some new shiny hardware, Tsung is the tool to use. It will allow you to record a number of sessions then replay them at high scale. pgfouine supports Tsung and is able to turn your PostgreSQL logs into Tsung sessions, too.