Hello,

Gianluca Cannata, le mer. 04 févr. 2026 08:52:29 +0100, a ecrit:
> I agree that libcurl is the best option for handling HTTP requests. I
> am already exploring a few possible implementations:
> 
> 1. Blocking: One curl_easy handle per node performing blocking requests.

That would be a useful first step that matches the curent httpfs
behavior.

> 2. Non-Blocking: One. curl_easy handle per node managed by a global
> curl_multi handle for non-blocking IO

Once the first step is done and working, that can be a useful second
step to improve performance.

> 3. Custom Library: A dedicated libhttpfs using a ring buffer that
> wraps libnetfs and exposes HTTP-specific callbacks through libcurl

I don't really see the point of this approach? To take an example, in
netfs_attempt_read you just want to submit an asynchronous request to
libcurl and return MIG_NO_REPLY, and have a callback called by libcurl
later to send the result when libcurl has received it.

Samuel

Reply via email to