Hacker News new | ask | show | jobs
by mikegioia 4483 days ago
Does anyone know how the server determines which channel the client should be using? Are they doing this check at the apache/nginx level, or on the server right after the user is authenticated, and before the client code is sent?
2 comments

Because we are only delivering multiple clients, it means we only have one server version running at a time. Then, after authentication, we decide which client version you will be receiving based on your chosen channel and hashed member id in the case of multiple distributions within the channel.
Good question, I wondered about this as well. Channel switching would certainly create issues on data model changes in the underlying store.
From what I understood, the API doesn't have channels, so the store only stores a single data model. The channels are only for the clients.
Right. The there is only one version of the API. Multiple clients.