0

|-|i

I'm making a mobile chat app

I heard about load balancing and scalability, to make it able to be used properly by multiple people at different locations of the world at same time

I'm currently hosting the (PostgreSQL) DB and doing tests locally

Here is my concern -> I imagine 2 persons from different continents creating an account at the exact same time

Currently I generate uuid for user ID

But I would like instead to use unique incremental integer, so it would be easier to store and remember for the user

But is it a good idea? Would it be achievable properly without risking to mess up everything?

Could you please give me some hints?

Regards

asked Jan 7, 2025 at 3:12

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.