DEV Community

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

Posted on

1

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.

SurveyJS custom survey software

Simplify data collection in your JS app with a fully integrated form management platform. Includes support for custom question types, skip logic, integrated CCS editor, PDF export, real-time analytics & more. Integrates with any backend system, giving you full control over your data and no user limits.

Learn more

Top comments (0)

The best way to debug slow web pages cover image

The best way to debug slow web pages

Tools like Page Speed Insights and Google Lighthouse are great for providing advice for front end performance issues. But what these tools can’t do, is evaluate performance across your entire stack of distributed services and applications.

Watch video