Skip to content

[C++] Add Lundi framework#10887

Open
olafurjohannsson wants to merge 1 commit intoTechEmpower:masterfrom
olafurjohannsson:add-lundi
Open

[C++] Add Lundi framework#10887
olafurjohannsson wants to merge 1 commit intoTechEmpower:masterfrom
olafurjohannsson:add-lundi

Conversation

@olafurjohannsson
Copy link

Add Lundi C++20 framework

Lundi is a header-only, asynchronous C++20 web framework using Asio coroutines.

Test types implemented

All 7: json, plaintext, db, queries, fortunes, updates, cached-worlds

Implementation details

  • Async non-blocking libpq with pipeline mode (libpq 14+), fallback to sequential for older versions
  • Per-thread connection pool using asio::experimental::channel
  • Zero-allocation JSON writer using write_buffer + fast_itoa
  • Prepared statements for all queries

Verification

All 7 tests pass locally with ./tfb --mode verify --test lundi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant