Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
h33p
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
h33p
3y ago
For TCP, you'd generally want to have a buffer pool and issue one repeating request that takes buffers out from that pool. This is what io_uring allows you to do. The difficulty comes from APIs ability to expose that buffer pool nicely
2.
▲
by
h33p
3y ago
If you're doing sequential I/O, you will hardly be able to be faster than std library - it is synchronous, goes directly to the operating system, which does read-ahead. 40+ years of OS design was meant for this. io_uring can'