lear
lear copied to clipboard
Introduce files caches and native Linux AIO
Frequently used files should be cached in memory using custom caching method, and retrieved using string->ptr hashmap. File retrieval to cache should be subscribed by native linux AIO (use bare aio_abi or libaio) and then added to epoll queue. It's an aspect to discuss, whether response body should be copied to write buffer, or accessed directly