perf(eventstore): fast push on crdb (#9186)

# Which Problems Are Solved

The performance of the initial push function can further be increased

# How the Problems Are Solved

`eventstore.push`- and `eventstore.commands_to_events`-functions were
rewritten

# Additional Changes

none

# Additional Context

same optimizations as for postgres:
https://github.com/zitadel/zitadel/pull/9092
This commit is contained in:
Silvan
2025-01-15 15:55:48 +01:00
committed by GitHub
parent 75f0ad42e6
commit 690147b30e
3 changed files with 128 additions and 86 deletions

View File

@@ -30,7 +30,7 @@ services:
db:
restart: 'always'
image: 'cockroachdb/cockroach:v24.2.1'
image: 'cockroachdb/cockroach:latest'
command: 'start-single-node --insecure --http-addr :9090'
healthcheck:
test: ['CMD', 'curl', '-f', 'http://localhost:9090/health?ready=1']