Latency when proxing api calls from my cf worker -> my vps
Hi I have an API hosted on a VPS (typesense search) and when I hit it directly I get response times of 20-45ms when I make the exact same request but put my cloudflare worker infront of it (so request to worker -> vps -> to client).
I get response times of over 300ms.
Both the VPS and me are situated in London.
How can I get this middleman latency down to less than 50ms.
(I dont believe im using smart placement)
2 Replies