any one here tried atlas device sync in production...
# realm
h
any one here tried atlas device sync in production , i have some questions please ?
c
Hi @Hacine Mohamed Abdelhakim. What kind of questions? As part of the team doing this, I'd be happy to answer you.
h
Hi @Claus Rørbech i am thinking bout best way to handle uistate when using device sync. , since the mindset is diffrent here from rest api
am talking about android , am using kotlin and jetpack compose
c
Ok, that sound more Android "architectual" than with than functionality or the device sync solution itself, so I will leave it up to other people to respond to that. But we do have some examples in our sample repository. Not big UI heavy samples though, but you could maybe get some feeling on reacting to synchronization changes from the property encryption sample or from our simple sync counter sample if you are in a multiplatform setting.
h
Hello @Claus Rørbech , thanx for sharing , i have another question : in the picture bellw am using m30 cluster and using device sync , i see at the bottom 3000 max connections , does that mean the number of users is set to 3000 simultaniously or what ?
c
That connection limit is the limit between the Atlas App Services (sync server) and the cluster holding your data. You can see some details of it here.
The actual sync traffic (between devices and sync server) has some other limitations as described here
h
• so i understand that we can have only 5,000 concurrent Device Sync connections.
c
Yes, until you request an increase of that limit. It is just in place to ensure that you know what you are doing before scaling.
For these kind of general questions on the solution the forum might be better suited.