zig-zoi-pxc1984 #12

Merged
pxc1984 merged 15 commits from pxc1984/posvyat-challenge:zig-zoi-pxc1984 into master 2026-11-07 22:27:15 +00:00
Owner
No description provided.
zig-zoi-pxc1984
Some checks failed
challenge / find (pull_request_target) Successful in 4s
challenge / run (submissions/zig-zoi-pxc1984) (pull_request_target) Failing after 7s
4ad442a341
zig-zoi-pxc1984: catalog cache, prepared statements
Some checks failed
challenge / find (pull_request_target) Successful in 4s
challenge / run (submissions/zig-zoi-pxc1984) (pull_request_target) Failing after 17s
518a4e1700
zig-zoi-pxc1984: in-memory store, group commit, epoll, zero allocations per request
All checks were successful
challenge / find (pull_request_target) Successful in 7s
challenge / run (submissions/zig-zoi-pxc1984) (pull_request_target) Successful in 47m16s
f5382734d2
zig-zoi-pxc1984: bounded write batches, TCP_NODELAY to the database
Some checks failed
challenge / find (pull_request_target) Successful in 3s
challenge / run (submissions/zig-zoi-pxc1984) (pull_request_target) Failing after 3m13s
425446446a
zig-zoi-pxc1984: smaller load chunks with retries under statement_timeout
All checks were successful
challenge / find (pull_request_target) Successful in 9s
challenge / run (submissions/zig-zoi-pxc1984) (pull_request_target) Successful in 55m14s
8b8024f515
zig-zoi-pxc1984: flush TLS without losing the tail, no accept spin when out of fds
All checks were successful
challenge / find (pull_request_target) Successful in 5s
challenge / run (submissions/zig-zoi-pxc1984) (pull_request_target) Successful in 31m57s
ca91cc1274
tls.Client.flush (Zig 0.16) drops up to 44 bytes when the writer buffer is
nearly full, so a write batch over 16 KB could lose its tail: Postgres waited
for the rest of the message, the writer for the reply, forever. Every later
write hung and kept its fd until EMFILE, then the level-triggered listener
spun the only core at 100%.
zig-zoi-pxc1984: parallel write lanes keyed by student
All checks were successful
challenge / find (pull_request_target) Successful in 5s
challenge / run (submissions/zig-zoi-pxc1984) (pull_request_target) Successful in 35m48s
18b847be18
One student's writes stay in order on one connection, other students no longer
wait for that commit. Temporary database errors are retried per statement, so
memory and database don't diverge after a timeout or an early foreign key.
zig-zoi-pxc1984: back to one write connection
All checks were successful
challenge / find (pull_request_target) Successful in 5s
challenge / run (submissions/zig-zoi-pxc1984) (pull_request_target) Successful in 32m3s
ae48ded5a2
Six lanes made latency worse at the same load: p95 at 64000 users went from 429 to
584 ms in CI and from 502 to 587 ms on a local stand, p99 at 32000 from 143 to 187 ms.
zig-zoi-pxc1984: rerun
All checks were successful
challenge / find (pull_request_target) Successful in 4s
challenge / run (submissions/zig-zoi-pxc1984) (pull_request_target) Successful in 29m7s
d36b62e67e
pxc1984 force-pushed zig-zoi-pxc1984 from d36b62e67e
All checks were successful
challenge / find (pull_request_target) Successful in 4s
challenge / run (submissions/zig-zoi-pxc1984) (pull_request_target) Successful in 29m7s
to b9d9f8aa04
Some checks failed
challenge / find (pull_request_target) Successful in 2s
challenge / run (submissions/zig-zoi-pxc1984) (pull_request_target) Failing after 2m4s
2026-11-02 18:23:14 +00:00
Compare
pxc1984 force-pushed zig-zoi-pxc1984 from b9d9f8aa04
Some checks failed
challenge / find (pull_request_target) Successful in 2s
challenge / run (submissions/zig-zoi-pxc1984) (pull_request_target) Failing after 2m4s
to 998e4ef1c5
Some checks failed
challenge / find (pull_request_target) Successful in 2s
challenge / run (submissions/zig-zoi-pxc1984) (pull_request_target) Failing after 1m52s
2026-11-03 09:59:48 +00:00
Compare
mb this will fix CI
Some checks failed
challenge / find (pull_request_target) Successful in 2s
challenge / run (submissions/zig-zoi-pxc1984) (pull_request_target) Failing after 1m49s
17e84a8d21
use libpq
Some checks failed
challenge / find (pull_request_target) Successful in 1s
challenge / run (submissions/zig-zoi-pxc1984) (pull_request_target) Failing after 1m37s
1d8bb9cd73
pxc1984 force-pushed zig-zoi-pxc1984 from 1d8bb9cd73
Some checks failed
challenge / find (pull_request_target) Successful in 1s
challenge / run (submissions/zig-zoi-pxc1984) (pull_request_target) Failing after 1m37s
to 48bc8604df
Some checks failed
challenge / find (pull_request_target) Successful in 1s
challenge / run (submissions/zig-zoi-pxc1984) (pull_request_target) Failing after 1m36s
2026-11-03 10:28:43 +00:00
Compare
pxc1984 force-pushed zig-zoi-pxc1984 from 48bc8604df
Some checks failed
challenge / find (pull_request_target) Successful in 1s
challenge / run (submissions/zig-zoi-pxc1984) (pull_request_target) Failing after 1m36s
to 16311cf7fb
All checks were successful
challenge / find (pull_request_target) Successful in 2s
challenge / run (submissions/zig-zoi-pxc1984) (pull_request_target) Successful in 20m28s
2026-11-03 10:32:14 +00:00
Compare
pxc1984 force-pushed zig-zoi-pxc1984 from 16311cf7fb
All checks were successful
challenge / find (pull_request_target) Successful in 2s
challenge / run (submissions/zig-zoi-pxc1984) (pull_request_target) Successful in 20m28s
to 5f73f05ab0
Some checks failed
challenge / find (pull_request_target) Successful in 2s
challenge / run (submissions/zig-zoi-pxc1984) (pull_request_target) Has been cancelled
2026-11-03 11:05:22 +00:00
Compare
pxc1984 force-pushed zig-zoi-pxc1984 from 5f73f05ab0
Some checks failed
challenge / find (pull_request_target) Successful in 2s
challenge / run (submissions/zig-zoi-pxc1984) (pull_request_target) Has been cancelled
to c8691967dc
Some checks failed
challenge / find (pull_request_target) Successful in 1s
challenge / run (submissions/zig-zoi-pxc1984) (pull_request_target) Has been cancelled
2026-11-03 11:14:57 +00:00
Compare
pxc1984 force-pushed zig-zoi-pxc1984 from c8691967dc
Some checks failed
challenge / find (pull_request_target) Successful in 1s
challenge / run (submissions/zig-zoi-pxc1984) (pull_request_target) Has been cancelled
to e574aef938
All checks were successful
challenge / find (pull_request_target) Successful in 2s
challenge / run (submissions/zig-zoi-pxc1984) (pull_request_target) Successful in 23m32s
2026-11-03 11:46:02 +00:00
Compare
pxc1984 force-pushed zig-zoi-pxc1984 from e574aef938
All checks were successful
challenge / find (pull_request_target) Successful in 2s
challenge / run (submissions/zig-zoi-pxc1984) (pull_request_target) Successful in 23m32s
to 8bdd0e9e5a
All checks were successful
challenge / find (pull_request_target) Successful in 1s
challenge / run (submissions/zig-zoi-pxc1984) (pull_request_target) Successful in 23m46s
2026-11-03 12:21:08 +00:00
Compare
zerocopy
All checks were successful
challenge / find (pull_request_target) Successful in 1s
challenge / run (submissions/zig-zoi-pxc1984) (pull_request_target) Successful in 19m26s
9a8d21484b
pxc1984 force-pushed zig-zoi-pxc1984 from 9a8d21484b
All checks were successful
challenge / find (pull_request_target) Successful in 1s
challenge / run (submissions/zig-zoi-pxc1984) (pull_request_target) Successful in 19m26s
to 57cc8f53b0
All checks were successful
challenge / find (pull_request_target) Successful in 2s
challenge / run (submissions/zig-zoi-pxc1984) (pull_request_target) Successful in 30m58s
2026-11-04 10:47:44 +00:00
Compare
zig-zoi-pxc1984: rerun
Some checks were skipped
challenge / find (pull_request_target) Has been skipped
0ebd18146e
pxc1984 merged commit 1a2d02dbe8 into master 2026-11-07 22:27:15 +00:00
pxc1984 referenced this pull request from a commit 2026-11-07 22:27:17 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
cu3rd/posvyat-challenge!12
No description provided.