I am currently evaluating using CRDB
# spicedb
v
I am currently evaluating using CRDB serverless on a multi-region (US & EU) setup, and it seems like it's unable to go past something like writing 10 relationships per second? Something seems off, could there be any chance that you could try your new benchmark suite on that kind of setup?
v
please also note we used CRDB Dedicated, not serverless
and consensus across regions is going to take a toll on the write throughput.
we used 6 x 32 vCPU CRDB cluster single region for the 1M RPS (990K RPS Reads, 10K RPS Writes)
I'd suggest to reach out to CockroachLabs to understand if Serverless needs a prewarming phase before doing 10K RPS writes, and ask them if it's going to be able to handle that across multiple regions in Serverless
n
We switched it to crdb dedicated with 4 vCPU, 16gb memory
i think we were getting 10-20 writes per second
so we have a workload where we have to check if a user can add a relationship, before adding a relationship - and that took roughly 10 seconds? cc @Vilsol
the database is setup with two of the datacenters being 25ms apart, and the 3rd is roughly 80-90ms away from A and 100ms away from B
v
so you are mixing checks and writes?
those numbers don't add up to me
@ecordell do you have any suggestions on what these folks could be looking into?
I think one test y'all could do is start with one region, to understand if the problem is multi-region related
n
yeah, single region wasn't that slow
so we're fairly certain it's something to do with the multi region cockroach but we're not entirely sure how
e
is the 10-20 writes per second with the
insecure
overlap mode that Joey mentioned? if your regions are 100ms apart, that should be about 10 writes per second if the write transactions touch the same data. Are you writing to the same set of relationships in your test, or are you randomizing the writes?
n
yeah, that includes the insecure overlap mode. in terms of relationships i believe they're different sets, but @Vilsol knows more
8 Views