Mern stack and Java spring boot are over saturated fields
Which technology to learn for less competition and high pay?
Problem: Keep usernames unique Single DB: pretty straight forward to have unique check on the column itself.
What solutions can work for disturbuted systems?
If you just want to check if the username already exists in DB use a bloom filter. If you want to store it as well, use a DHT.
Sounds good. How will we store these? Reconstruction of bloom filters can be lengthy too.
In a sharded database. Use consistent hashing to know what’s stored in which shard.
You don’t have to do these from scratch pretty sure aws and other cloud providers have prebuilt services for these type of problems.
Please don't make this another stack overflow.
Have a username database(not necessarily seperate from a current existing one) which stores username against a GUID. Then use this GUID as a secondary key everywhere else in database. Make sure uniqueness check is maintained in other databases as well.
DB will work well until we have single instance. How to handle it when we shard our database?
Which technology to learn for less competition and high pay?
What are some ways to do a mobile number login of a user without asking OTP. Apart from these are there any other methods?
Please share any jugads if you know !
Just curious if we have to design some sort of flash sale. For example: let's say 100 iPhones at discounted price for window or may be booking tatkal on irctc.
Will it be good Design to serve the read from the replicas and during the pa...