Commit Graph

310 Commits

Author SHA1 Message Date
4e9e4d634c Add initial thread pipeline benchmark 2025-08-26 13:11:20 -04:00
eaeffff620 Improve ThreadPipeline docs 2025-08-26 13:10:58 -04:00
6ddba37e60 Add different wait strategies to pipeline 2025-08-26 12:30:27 -04:00
f8be6941bb Move latency_sim to tools 2025-08-25 13:49:02 -04:00
612497f733 Try enforcing snake_case 2025-08-25 13:47:35 -04:00
50d873e8eb Actually use loopIterations 2025-08-25 13:18:35 -04:00
5314448480 Move bench_volatile_loop to benchmarks/ 2025-08-25 13:15:59 -04:00
3d0c2f57cb Add arrow back to io threads in request flow diagram 2025-08-25 13:11:25 -04:00
0905bb66c0 Add theoretical max serial cpu times 2025-08-25 13:08:12 -04:00
36e1bf0e2d Add threading_performance_report.md 2025-08-25 13:00:25 -04:00
71e8fdf881 Clarify 2025-08-25 10:19:33 -04:00
c83fda5877 Improve precision 2025-08-25 06:49:26 -04:00
ce794f8a0f Initial draft of recovery protocol 2025-08-24 23:36:02 -04:00
1e05ee1705 Add latency sim. Not reviewed 2025-08-24 23:36:02 -04:00
1a4e8d5761 Add latency sim. Not reviewed 2025-08-24 22:32:47 -04:00
506bbbb528 Update defaults based on simulation 2025-08-24 21:34:46 -04:00
da69a99cf4 Make defaults for batch_size_threshold, max_in_flight_requests 2025-08-24 20:23:17 -04:00
333148bb5a Improve clarity 2025-08-24 20:02:11 -04:00
f54d1e0dc1 Initial persistence thread design 2025-08-24 19:47:29 -04:00
ee721c7753 Use snake_case for Connection etc methods 2025-08-24 16:21:01 -04:00
e56cf41a01 Maintain outgoing bytes queued count 2025-08-24 11:04:26 -04:00
c0242317ed on_post_batch -> on_batch_complete 2025-08-24 11:00:20 -04:00
6f1806d0b8 Make error code types nodiscard 2025-08-24 06:35:11 -04:00
772797155b Add on_write_buffer_drained 2025-08-23 22:39:14 -04:00
5ebdffdbce Use csignal instead of signal.h 2025-08-23 21:37:23 -04:00
a33756749c Improve style.md 2025-08-23 21:33:31 -04:00
b455e97db3 Add casting section to style guide 2025-08-23 21:22:16 -04:00
94f78ebbe7 Use signed in a bunch of places 2025-08-23 20:52:40 -04:00
23b0e7f39a Trim some questionable stuff from style guide 2025-08-23 20:48:31 -04:00
a2e1fd5ba1 Use include <cstring> and std::memcpy etc 2025-08-23 20:24:50 -04:00
18a1b30d9f Fix EINTR handling for close 2025-08-23 20:14:24 -04:00
7db0e331e4 Add todo.md 2025-08-23 18:44:50 -04:00
a820efa2e6 Fix EINTR handling 2025-08-23 17:32:37 -04:00
5b4a28a8ca Trim down design.md more 2025-08-23 13:40:23 -04:00
69310c3cf3 Refer to style.md more in design.md 2025-08-23 13:37:01 -04:00
f576e96b5d Slim down style.md 2025-08-23 13:33:17 -04:00
3712622d11 Many style updates around asserts, aborts, and errors 2025-08-23 13:23:40 -04:00
2754f4cbe2 Avoid exceptions 2025-08-23 12:56:28 -04:00
25ff489857 Error messages versus error codes 2025-08-23 09:12:23 -04:00
8a83338769 Add "force concurrent execution" to style guide 2025-08-23 09:02:45 -04:00
40a18ed07e More style updates 2025-08-23 08:58:41 -04:00
8012e7ed60 Prefer testing through public APIs 2025-08-23 06:19:29 -04:00
4af5e0423e Always use struct 2025-08-23 06:13:27 -04:00
b86cf3680e Add style.md 2025-08-22 21:52:34 -04:00
9eafae457b ThreadPipeline.h -> thread_pipeline.hpp 2025-08-22 18:08:22 -04:00
c58a00a34f Replace VLA with thread local vectors 2025-08-22 18:05:14 -04:00
f51f257df6 Justify epoll_instances config existing 2025-08-22 16:47:08 -04:00
12d4289568 Add an index to thread pipeline iterators for load balancing 2025-08-22 16:32:48 -04:00
f43e623a7e Add one stage pipeline to /ok 2025-08-22 14:28:17 -04:00
c536522f21 Fix throughput calculation 2025-08-22 14:26:56 -04:00