New to the workers - slow response
Hi, I'm trying to showcase my management latency improvements that we may gain serving api responses from CDN workers.
I've created simple app using Hono and Cloudflare KV, deployed it using npm run deploy. API is working but it is slow, when I try it from different locations - for some of them it responds > 20s.
Am I missing something? Is there maybe some switch I need to turn on in Cloudflare Dashboard for it to work production-like

2 Replies
Your TTFB is super high, what is the Worker doing and can you share a URL to test?
my app is geting ads from kv and doing search for keyword in them
url is here:
https://cloudflare-ads.smlisovsky.workers.dev/api/ads?q=wom
for now the ideas is just to do some full text search on ads - it will be limited number of ads ~ 20k in general
if it will work ok - next step would be to do semantic search using workers AI and vectorize
nvrmd the issue - I used d1 with fts5 functionality and performance is good as I expect