-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
97b5bf78d918f8113e5d5f8dbf98912671c95ac1
- Loading branch information
Showing
38 changed files
with
194 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: Generators | ||
description: Pandora generators support different protocols | ||
categories: [Generator] | ||
weight: 2 | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: Get started | ||
description: Quick start with Yandex Pandora | ||
categories: [Get started] | ||
weight: 1 | ||
--- |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: Генераторы | ||
description: Используйте различные генераторы для разных протоколов | ||
categories: [Get started] | ||
weight: 2 | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
docs/content/ru/http-generator.md → docs/content/ru/generator/http-generator.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: Знакомство | ||
description: Знакомство с генератором нагрузки Yandex Pandora | ||
categories: [Get started] | ||
weight: 1 | ||
--- |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
--- | ||
title: Производительность Pandora | ||
description: Результаты тестов производительности | ||
categories: [Best practise] | ||
categories: [Best practices] | ||
tags: [config, test, performance] | ||
weight: 13 | ||
--- | ||
|
||
[Alexander Ivanov](mailto:[email protected]) made some performance tests for the gun itself. Here are the results. | ||
[Александр Иванов](mailto:[email protected]) провел несколько тестов производительности. Вот результаты. | ||
|
||
* Server: NGinx, 32 cores, 64G RAM. | ||
* Tank: 32 cores, 128G RAM. | ||
* Network: 1G. | ||
|
||
## HTTP requests to nginx | ||
## HTTP запросы в nginx | ||
|
||
|
||
Static pages with different sizes. Server delays implemented in Lua script, we can | ||
set delay time using `sleep` query parameter: | ||
Статические страницы разных размеров. Задержки сервера реализованы в скрипте Lua, мы можем | ||
установить время задержки с помощью параметра запроса `sleep`: | ||
|
||
```lua | ||
server { | ||
|
@@ -83,16 +83,15 @@ server { | |
|
||
|
||
|
||
## Custom scenarios | ||
## Пользовательские сценарии | ||
|
||
Производительность пользовательских сценариев во многом зависит от их реализации. В некоторых наших | ||
тестах мы наблюдали скачки, вызванные GC. Их можно избежать, уменьшив размер распределения. | ||
Хорошей идеей будет оптимизировать ваши сценарии. | ||
В Go есть множество <https://github.com/golang/go/wiki/Performance>`_ инструментов, помогающих вам | ||
сделать это. | ||
|
||
Custom scenarios performance depends very much of their implementation. In some our | ||
test we saw spikes caused by GC. They can be avoided by reducing allocation size. | ||
It is a good idea to optimize your scenarios. | ||
Go has `a lot <https://github.com/golang/go/wiki/Performance>`_ of tools helping you | ||
to do this. | ||
|
||
.. note:: We used JSON-formatted ammo to specify parameters for each scenario run. | ||
> Мы использовали payload в формате JSON для задания параметров для каждого сценария. | ||
* **Small requests** 35k RPS. OK. | ||
* **Some scenario steps with big JSON bodies** 35k RPS. OK. | ||
|
Oops, something went wrong.