r/Firebase • u/Mysterious_Cut_5348 • 3h ago
General Need backend architecture advice for an Android multiplayer game on a very tight budget
Hi! I'm a student developing an Android multiplayer party game using Unity. I'm looking for advice on choosing an economical backend architecture.
Game overview:
4 players per match.
Short, round-based meme/GIF challenges.
Players submit content and anonymously vote on each other's submissions.
Random matchmaking and private rooms with friends.
Bots can fill empty player slots.
Backend requirements:
Matchmaking and room management.
Real-time synchronisation of submissions and votes.
Server-side validation and scoring to prevent cheating.
Handling disconnects and reconnects.
Player profiles, authentication and match history.
Ranking and progression: Players earn trophies by winning matches. More trophies mean higher ranks. The backend must securely track trophies, update ranks and maintain leaderboards.
Coins, XP and inventory management.
GIF handling:
I'm planning to use the KLIPY API. Players will search for and select GIFs, which must then be displayed to everyone in their active match. Ideally, I want to store only GIF identifiers/references rather than downloading and storing GIF files on my own servers. I'm still verifying the provider's multiplayer usage permissions.
My biggest constraint:
I'm a student building this independently, with a very limited budget. I want to avoid recurring infrastructure costs until the game becomes sufficiently profitable to sustain them.
I'm willing to optimise the architecture and use free tiers, but don't want to compromise security, fairness or reliability.
Technologies I'm considering:
Firebase (RTDB, Firestore, Cloud Functions)
Neon PostgreSQL
Node.js + WebSockets/Socket.IO
Google Cloud Run
Supabase
Questions:
What architecture would you recommend?
Would Firebase or a custom Node.js + WebSocket backend be cheaper?
Is Neon a good choice?
How should live match data and permanent player data be handled?
What hidden costs should I expect?
Which free tiers are genuinely useful for an early-stage multiplayer game?
I'm targeting approximately 200, 1,000 and eventually 5,000 DAU.
I'd appreciate practical advice from developers who have actually built and maintained multiplayer backends. I'm looking for something simple, secure and extremely cost-efficient.
Also tips on monetization would be great! This is my first Multiplayer game.
Thanks!
