Files
haproxy-s3-customname/docs/data/perf-2gb-4vcpu-A/runs.log
T
ayurishchevandClaude Sonnet 5.5 ea1592800a HAProxy как приватный шлюз к S3 VK Cloud: конфигурация, Lua, тесты, документация
- haproxy.cfg: терминация TLS (самоподписанный сертификат, wildcard), подмена Host/SNI,
  переписывание Location/Server и тел ответов (s3_rewrite.lua)
- s3_resign.lua: проверка подписи SigV4 клиента и повторная подпись под реальный Host
- s3gw-snat.nft: SNAT клиентской подсети (nftables) для прямого доступа
- tests: автотесты Lua (SHA-256/HMAC/SigV4), сборщик метрик и расчёт сводок нагрузочных тестов
- docs: планы и итоги всех итераций, отчёт о пути пакета, сравнительные тесты CPU/RAM
  (512 МБ, 2 ГБ multipart 5/20/40 потоков, 1 и 4 vCPU), Mermaid-диаграммы, сырые данные замеров
- Секреты (hostinfo.txt, hostkey.key, s3_creds.lua) исключены через .gitignore

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-23 12:44:07 +03:00

19 lines
1.3 KiB
Plaintext

[09:13:21] mode=direct haproxy=inactive endpoint=https://hb.ru-msk.vkcloud-storage.ru
direct 1 1792746813.439795779 1792746838.698038158 | upload: ./test2g.bin to s3://clabatombuk/cpu-test/direct-1.bin DUR 24.925431925
direct 2 1792746855.502504994 1792746878.798698496 | upload: ./test2g.bin to s3://clabatombuk/cpu-test/direct-2.bin DUR 22.938904334
direct 3 1792746896.065631955 1792746919.550850256 | upload: ./test2g.bin to s3://clabatombuk/cpu-test/direct-3.bin DUR 23.152126431
[09:15:32] mode=proxy haproxy=active endpoint=https://s3-v.myhost.local
proxy 1 1792746944.430835461 1792746966.892634652 | upload: ./test2g.bin to s3://clabatombuk/cpu-test/proxy-1.bin DUR 22.116234107
proxy 2 1792746984.097132989 1792747008.153582740 | upload: ./test2g.bin to s3://clabatombuk/cpu-test/proxy-2.bin DUR 23.658862132
proxy 3 1792747024.888769360 1792747048.344459489 | upload: ./test2g.bin to s3://clabatombuk/cpu-test/proxy-3.bin DUR 23.098724961
[09:17:40] cleanup
delete: s3://clabatombuk/cpu-test/direct-2.bin
delete: s3://clabatombuk/cpu-test/direct-3.bin
delete: s3://clabatombuk/cpu-test/proxy-2.bin
delete: s3://clabatombuk/cpu-test/proxy-1.bin
delete: s3://clabatombuk/cpu-test/proxy-3.bin
delete: s3://clabatombuk/cpu-test/direct-1.bin
config restored: 0
haproxy=active nftables=active
DONE