Commit Graph

5 Commits

Author SHA1 Message Date
Adrian Gruntkowski 40ff36a4fb
Implement dedicated persistence service (#5653)
* Implement a very crude HTTP relay to persistor service

* Temporarily disable local session and event persistence

* Temporarily disable Promex in dev

* Setup dedicated Finch pool for persistor

* Temporarily adjust load script parameters

* Fiddle with pool opts

* Only log errors

* Bump rate

* Put persistor configuration in runtime config

* Move persistor client code to a separate module

* Move event and session persistence behind a switchable adapter

* Add scaffolding of relaying persistor

* Instrument relayed persistence

* Adjust persistor API to accept full ingest event

* Fix persistor URL in config defaults

* Switch local dev env of embedded_with_relay backend

* Revert "Temporarily disable Promex in dev"

This reverts commit d9c9e9075d130cc5177a2a7559b98a2026077327.

* Lower default `PERSISTOR_COUNT`

* Refactor payload encoding and decoding slightly

* Test and slightly improve persistor logic
2025-09-01 09:13:41 +00:00
hq1 e017ec3268
Add extra checks to k6 load test script (#5384) 2025-05-15 08:24:05 +00:00
hq1 8f4b63083e
Loadtest p2 (#5380)
* Bring back previous dev config

* Dedicated MIX_ENV for load testing + change k6 script

* Remove unused env var

* Remove test flag

* Add .env.load

* Fixup
2025-05-06 10:58:06 +00:00
hq1 aa4a8339cb
Ingest throughput fixes (#5378)
* Update

* Update

* Naive safety valve in front of RL

* Revert "Naive safety valve in front of RL"

This reverts commit 3bb553ec2e.

* rate limit with atomics

* update test

* Reapply "Add +Mdai max emulator flag (#5373)" (#5374)

This reverts commit b28ca2ffee.

* Update load script

* Update LOADTEST mode

* Revert "Stop aggregating buffered ingest counters (#5372)"

This reverts commit 2c41dcd4c1.

* update

* Fix cache hit/miss metric tags

---------

Co-authored-by: ruslandoga <ruslandoga+gh@icloud.com>
2025-05-05 14:00:37 +00:00
Uku Taht f18a211dcc
Ingest throughput improvement test setup (#1867)
* Add OTEL and test Cachex for sessions

* Move load test

* Start apps in the appropriate order
2022-04-28 12:24:29 +03:00