Using CockroachDB Serverless has very poor performance

I have a nakama install from docker using a local CockroachDB container and it works great. There are a few additional RPCs I’ve added for searching and social features and some associated webhooks but nothing much in the way of heavy database or server-side work, currently nakama is powering social features like friends, groups, accounts and storage and not yet any game related logic.

I tried switching to CockroachDB Serverless and performance dropped to the point where it was almost unusable. I don’t know if this is a CockroachDB Serverless issue or a Nakama issue or a configuration issue.

Has anyone got Nakama running on CockroachDB Serverless successfully and have any advice on how to get that set up and configured?


I think this question is best asked on the Cockroach forums.