Edit Nodejs fetch request to use KeepAlive or use Undici.Pool instead

Job ID: 35158209

Budget: €30 – €250 EUR

Hello,

I currently use undici to make a fetch request to a localhost API but am experiencing a 4ms delay (I need sub 1ms latency) when posting the Json details due to the fact that it takes some time to establish a new HTTP connection each time .

I need the TCP connection to be pre established using undici.pool / Keepalive so that this tcp connection bottleneck is removed from the equation .

Your job is simply to edit my fetch request (currently using the Undici lib) to pre establish the TCP / HTTP connection so the overhead cost of establishing a new one is removed from the equation .

Max budget is $50 this should take no longer than 15mins if you are experienced with NodeJs Fetch / http keep alive
Related categories: Node.js Backend Development