Hi,
I create dynamic room a lot, I notice that room id is an integer so max value is less then 2 billion, my app doesn't go to that value but may be. So could you tell me what will happend if the room id is overflow ?
Thanks
What happend if room id is overflow ?
Re: What happend if room id is overflow ?
This seems to be a pretty popular question
Room ids and User ids are auto-increment integers.
This is what happens: an Integer can handle 2^32 values, (4.294.967.296 combinations) after which it will start back from zero.
If your Server generates 100K Rooms (or Users) per day it will take 42949 days to restart from zero which is approximately 117 years.
That's a cool uptime!
Room ids and User ids are auto-increment integers.
This is what happens: an Integer can handle 2^32 values, (4.294.967.296 combinations) after which it will start back from zero.
If your Server generates 100K Rooms (or Users) per day it will take 42949 days to restart from zero which is approximately 117 years.
That's a cool uptime!
Who is online
Users browsing this forum: No registered users and 62 guests