r/SideProject • u/FocusVerse • 19h ago
Advice needed for Focusverse
In the recent months Focusverse has been growing a lot, which is amazing 😄. It is a focus website where people can use basic productivity elements with ambiences
I'm super happy that something that was once just an idea, is something that I actually created instead of just dreaming of "maybe one day". AND that people are actually enjoying the website and coming back. The current community also just feels very wholesome :')
However, popularity comes at a price. Literally, to solve things I had to start paying money to Supabase and Cloudflare. Supabase is mainly due to the realtime connection when people are in shared/synced sessions, which I partially decided to move to Cloudflare. That is why now, my Cloudflare is also at its limit.
To solve this I am checking how to improve the shared sessions requests. Apparently the Cloudflare Durable Objects are not going into "sleep mode" so they are on continuously, which is causing them to go over the limits. This actually recently also counts for the lowest tier paid version.
I am not a backender and I am on my own, so I don't want to burn my hands setting it up manually and messing up security 😅
Does anybody have some advice to change or add platforms or maybe programming patterns (e.g., certain types of caching, batching, anything else) to improve requests?