rye
rye
CDCloudflare Developers
Created by rye on 4/17/2024 in #d1-database
Load testing w/ weird results (1k req, 40s resp times)
Response time is fine locally @Neves
23 replies
CDCloudflare Developers
Created by rye on 4/17/2024 in #d1-database
Load testing w/ weird results (1k req, 40s resp times)
@Neves haven't tried unfortunately. not aware of any easy ways to transfer data over
23 replies
CDCloudflare Developers
Created by rye on 4/17/2024 in #d1-database
Load testing w/ weird results (1k req, 40s resp times)
Totally agree with you here. But I think it's important to note that I'm talking about 1k requests total across 30 seconds. We're hitting peek 200 rps at 30s+ response times on a very small table. At 15-20 rps we're still hitting 4s response times
23 replies
CDCloudflare Developers
Created by rye on 4/17/2024 in #d1-database
Load testing w/ weird results (1k req, 40s resp times)
Yea changes every minute or so and the query is cursor based filtering based on time. So endpoint will have a nextPage cursor and that includes the updated_at and name
23 replies
CDCloudflare Developers
Created by rye on 4/17/2024 in #d1-database
Load testing w/ weird results (1k req, 40s resp times)
I guess I'll wait for read replication then. I expect pretty high load so 34s won't really work
23 replies
CDCloudflare Developers
Created by rye on 4/17/2024 in #d1-database
Load testing w/ weird results (1k req, 40s resp times)
I seperated the 1000 req between 10 IP's and still got an average of 34s FYI
23 replies
CDCloudflare Developers
Created by rye on 4/17/2024 in #d1-database
Load testing w/ weird results (1k req, 40s resp times)
hmm sharding 10k rows seems like overkill. Alright I guess it is what it is. Caching this sort of data is not ideal
23 replies
CDCloudflare Developers
Created by rye on 4/17/2024 in #d1-database
Load testing w/ weird results (1k req, 40s resp times)
How do I "not" saturate the single DO? I do expect pretty high loads on this endpoint
23 replies
CDCloudflare Developers
Created by rye on 4/17/2024 in #d1-database
Load testing w/ weird results (1k req, 40s resp times)
Do protections complete the request? Because they eventually get 200s
23 replies
CDCloudflare Developers
Created by rye on 4/17/2024 in #d1-database
Load testing w/ weird results (1k req, 40s resp times)
1 is 230ms
23 replies
CDCloudflare Developers
Created by rye on 4/17/2024 in #d1-database
Load testing w/ weird results (1k req, 40s resp times)
100 gives an average of 4s,
23 replies
CDCloudflare Developers
Created by rye on 4/17/2024 in #d1-database
Load testing w/ weird results (1k req, 40s resp times)
today
23 replies
CDCloudflare Developers
Created by rye on 4/17/2024 in #d1-database
Load testing w/ weird results (1k req, 40s resp times)
Also reduced the LIMIT to 100 with still same results
23 replies