I’m running an auction website, somewhat similar to eBay, with around 20 active users at any given time and a catalog of approximately 10,000 products.
Here’s my current setup:
Backend(Strapi) + Database (postgres): Google Compute Engine
Frontend: Next.js hosted on Cloud Run
Bidding Logic: Firebase Realtime Database for real-time auction updates
Sync: Google Cloud Functions sync Firebase updates to the main database
While the performance has been great, I’m currently spending ₹3000+ per day just on Firebase Realtime Database, which is becoming unsustainable.
I’m looking for suggestions on how to restructure or re-architect this setup to reduce costs without sacrificing performance or real-time updates.
Any input or shared experience would be appreciated!
Thanks for sharing your current cloud architecture. I understand that optimizing costs is your primary goal at this scale.
Here are a few suggestions that may help. First, I recommend reviewing your Cloud Billing Reports to identify which products are contributing most to your daily spend. We can then decide on where to optimize or replace services. For example, if Google Compute Engine is your top cost driver, consider more sustainable backend alternatives like Cloud Run, App Engine or other Hosting options on GCP.
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.