I wanna know for an application which it’s main part is group and private chats (as in Telegram) for many people, what’s the best options I have for database and backend language and framework?
since it’s real-time chat the speed and latency are important.
I’m familiar somehow with PHP and framework. any info will be appreciated.
I think it mainly depends on how many users do you expect.
For a small user group you can just use Firestore and it will work sufficiently.
Alternatively you could use Serverpod which has built in real time updates.
Or you choose to use a system like Ably or Pusher
Or the open source socket server socketi.
There are many many options. It really depends on how many concurrent users you expect. Do you need group discussions with extensive moderation then you will need a real backend under your own control.
serverpod would allow you to stay in the dart family. it has postgres in it.
supabase is a great tool, and progress and development on it has been rapid.
Using contents of this forum for the purposes of training proprietary AI models is forbidden. Only if your AI model is free & open source, go ahead and scrape. Flutter and the related logo are trademarks of Google LLC. We are not endorsed by or affiliated with Google LLC.