3

Having read through the Nest Multiplex API guide here:

https://developers.nest.com/documentation/cloud/multiplex-overview

There are several mentions of something called a "multiplex group connection".

Verbatim, from the doc:

Each multiplex connection should have 10-20 user connections. As you build more multiplex connections, you can gather them into a multiplex group connection, which should be limited to <300 connections.

They show very clearly what a multiplex connection is (basically just invoked with a curl command.) But there is no mention of what a group connection is, or any other details.

Russ Cam
  • 124,184
  • 33
  • 204
  • 266
  • the cURL command is just showing an example of establishing a multiplexed connection, the actual protocol being used is Rest Streaming. – urman Jun 14 '16 at 06:59
  • yes, the protocol is rest streaming, but having read those documents, there's no mention of what a multiplex/group connection is there either. – nekoflux λ Jun 26 '16 at 23:10
  • Ah I see what you're talking about, we'll fix up these docs to add a but about multiplexing. What it is essentially is a way to use one open socket to listen to multiple users. In Rest Streaming you can only use 1 token (user) per socket, what multiplex does is allows multiple tokens (users) per socket. – urman Jun 28 '16 at 19:17
  • @urman Could you explain how to actually do this. I understand how to do it for 20 users, but then it goes on about grouping to connections, however I cannot find anything on how to actually do this – K20GH Jan 18 '17 at 16:48
  • sorry for the delay! The 20 number is mostly arbitrary. The idea is 20 is a good number of tokens to start a pool. Pools max out at 1000 tokens per stream, but are most efficient from a platform perspective at 20-200 tokens. Docs should be re-worded to be clearer. – urman Feb 02 '17 at 01:58

0 Answers0