DEV Community

Cover image for We launched a game… and Reddit BROKE it
Tejas Bhovad
Tejas Bhovad

Posted on

We launched a game… and Reddit BROKE it

In the end of 2024 we built cohesion, a game that allows you to create custom connections games, as part of SvelteHack. We wanted to launch this project fr this time, unlike our other projects with 0 users

cohesion-game-cover

We decided to launch on multiple subreddits, and it did work we got 300 visitors on the first day racking in over 200 upvotes on the posts. But there was a catch, we hit our Upstash limit of 10k commands, and we were down for over two hours.

vercel-dashboard

Our primary database was Redis and which we used for Auth and as a database for games. On our home page we rendered title and the plays and for this to work we needed to fetch all the games, causing every game to fetch.
After the outage we faced, we worked on a more optimised approach to fetching data using sorted sets, we created a set with plays as key and object of title and id as value. The optimisations worked!(hopefully), we haven't gotten as many users as we did on the first day, but at least the commands usage has reduced significantly.

We are releasing Cohesion on Product Hunt today and I hope this will allow us to see our optimisations in action. Which btw you can upvote on:
https://www.producthunt.com/posts/cohesion-game

We aim with this launch was to get a community going for our game which we think is doable in the near future. Until then we will keep shipping new updates.

Top comments (0)