Hi Miles, I wanted to reply for a while, but struggled to find a good angle. I think I finally figured out what I missed. I’m not sure I understand your deployment scenario.
When I think conference app, I think folks having that on their mobile phones, or tablets. Given that, you’d be using PouchDB (for web apps) or one of Cloudant mobile sync libraries (if it is a native app). Either way, to get the data to the devices, it’d have to come from somewhere, but then you say there is no central server. Where does the data come from? It sounds like you imagine the devices talking to each other in a replication mesh kind of way. While technically possible from a CouchDB replication protocol point of view, this approach isn’t very practical. For one, you won’t be able to guarantee that all devices can talk to each other, especially when you don’t control the wifi. What’s more likely is that you’d have central CouchDB server that is connected to the wifi network, either on site, or in a datacenter somewhere that all devices connect to. Having that many devices talk to a central database to get all the relatively static data of the conference (schedule, info, etc), doesn’t sound like much of a problem. Group interaction is a little more interesting. You could model this a 1-db-per-group, and it would work okay, but there are some devil-in-the-details-details to work out with access control and joining and leaving a group, etc. So overall: - what architecture do you envision? - I think this can be made to work. - CouchDB definitely can handle 5000 intermittent clients. Depending on your use-case, you may need more or less computing resources for this, but there aren’t any fundamental blockers in CouchDB’s design that would prevent this from being a success. Best Jan — > On 20. May 2020, at 14:23, Miles Fidelman <[email protected]> wrote: > > Hi Folks, > > I'm thinking of using Couch (or Couch plus Pouch) as the platform for a > conference program app - everyone gets their copy of the program, plus > handouts/proceedings, with the added capabilities to set up one's personal > schedule, hold side conversations with various groups, schedule BOF meetings, > etc. > > Which leads me to wonder what experience folks have had with scaling - > particularly without using a central server. Can, say, 5000 instances, > linked intermittently, stay reasonably consistent? > > What's the largest collection of Couch instances anybody has played with? > > Thanks, > > Miles Fidelman > > -- > In theory, there is no difference between theory and practice. > In practice, there is. .... Yogi Berra > > Theory is when you know everything but nothing works. > Practice is when everything works but no one knows why. > In our lab, theory and practice are combined: > nothing works and no one knows why. ... unknown >
