Add C++17 epoll/libpq LMS submission (llm) #35

Closed
Vubni wants to merge 3 commits from Vubni/posvyat-challenge:submission/cpp-epoll-vubni into master
Member

Adds a separate C++17/epoll/libpq LMS implementation in submissions/cpp-epoll-vubni/, developed with an LLM. Go PR #30 and C PR #37 remain separate.

The current change removes a redundant ready-queue scan: after ready_jobs pops a request ID, a cached hit no longer searches the deque for that absent ID. The listed flag still preserves miss fairness and full-worker-queue head restoration; ordinary socket-event dispatch retains the required removal.

The application uses bounded work queues, exact role/course-scope catalog proofs, fresh private-file ACL checks and bounded protocol prepared statements (64 SQL/OID shapes / 256 KiB per connection). Writes acknowledge only confirmed COMMIT. Unknown COMMIT/network/local decoding failures never trigger replay. Schema, indexes, durability and the contest harness are unchanged.

Validation of the queue correction:

  • Four actual transport fixtures, normal and ASan/UBSan, passed eight invariant families. At 64/512/4096 queued cached IDs, redundant scanned IDs fell from 2016/130816/8386560 to zero while FIFO and byte-budget ownership remained correct.
  • The real native Linux ARM64 server passed 137/137 API tests plus 8 HTTP, 4 edge and 6 transport checks through transaction-mode PgBouncer; 1 CPU/512 MiB, read-only UID1000, no swap, pool20. This was an incremental transport-only rebuild. The competition load limit remains 1 GiB.

The preceding prepared release 8348d42 reached 296000 in official Run449 on b2/harness3314/generator v0.5.0 with API137/137 and a full five-minute hold. This is not a score for the queue correction. Its official build/API/hold is tracked in CI461; no throughput improvement is claimed yet.

Source and validation report. Only source, tests, build/start scripts, licenses and Markdown are committed; raw diagnostics stay local.

Adds a separate C++17/epoll/libpq LMS implementation in `submissions/cpp-epoll-vubni/`, developed with an LLM. Go PR #30 and C PR #37 remain separate. The current change removes a redundant ready-queue scan: after `ready_jobs` pops a request ID, a cached hit no longer searches the deque for that absent ID. The listed flag still preserves miss fairness and full-worker-queue head restoration; ordinary socket-event dispatch retains the required removal. The application uses bounded work queues, exact role/course-scope catalog proofs, fresh private-file ACL checks and bounded protocol prepared statements (64 SQL/OID shapes / 256 KiB per connection). Writes acknowledge only confirmed COMMIT. Unknown COMMIT/network/local decoding failures never trigger replay. Schema, indexes, durability and the contest harness are unchanged. Validation of the queue correction: - Four actual transport fixtures, normal and ASan/UBSan, passed eight invariant families. At 64/512/4096 queued cached IDs, redundant scanned IDs fell from 2016/130816/8386560 to zero while FIFO and byte-budget ownership remained correct. - The real native Linux ARM64 server passed 137/137 API tests plus 8 HTTP, 4 edge and 6 transport checks through transaction-mode PgBouncer; 1 CPU/512 MiB, read-only UID1000, no swap, pool20. This was an incremental transport-only rebuild. The competition load limit remains 1 GiB. The preceding prepared release `8348d42` reached 296000 in official Run449 on b2/harness3314/generator v0.5.0 with API137/137 and a full five-minute hold. This is not a score for the queue correction. Its official build/API/hold is tracked in [CI461](https://git.cu3rd.ru/cu3rd/posvyat-challenge/actions/runs/461); no throughput improvement is claimed yet. [Source and validation report](https://git.cu3rd.ru/Vubni/posvyat-challenge/src/branch/submission/cpp-epoll-vubni/submissions/cpp-epoll-vubni/REPORT.md). Only source, tests, build/start scripts, licenses and Markdown are committed; raw diagnostics stay local.
Add C++ epoll/libpq LMS submission with confirmed commit batching
All checks were successful
challenge / find (pull_request_target) Successful in 2s
challenge / run (submissions/cpp-epoll-vubni) (pull_request_target) Successful in 18m26s
8d2b96434f
perf(cpp-epoll-vubni): reuse bounded prepared SQL plans
All checks were successful
challenge / find (pull_request_target) Successful in 2s
challenge / run (submissions/cpp-epoll-vubni) (pull_request_target) Successful in 19m7s
8348d4201f
perf(cpp-epoll-vubni): skip redundant ready-queue scans
All checks were successful
challenge / find (pull_request_target) Successful in 1s
challenge / run (submissions/cpp-epoll-vubni) (pull_request_target) Successful in 20m55s
12363098eb
Owner

image

![image](/attachments/77c7e383-7e9d-4844-ba61-55cf0920166f)
pxc1984 closed this pull request 2026-11-07 22:01:56 +00:00
All checks were successful
challenge / find (pull_request_target) Successful in 1s
challenge / run (submissions/cpp-epoll-vubni) (pull_request_target) Successful in 20m55s

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
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!35
No description provided.