[Tarantool-patches] [PATCH 3/6] iproto: Add negotiation phase
Konstantin Osipov
kostja.osipov at gmail.com
Thu Mar 26 16:19:54 MSK 2020
* Kirill Yukhin <kyukhin at tarantool.org> [20/03/26 15:58]:
> > > In this case, the answer must be changed from ok/fail to the answer with
> > > payload.
> > > In my opinion the negotiation looks as:
> > > - the client offers options for the session
> > > - the server sends the resulting response with options (which may differ
> > > from the requested)
> > > - the client decides to work with such settings or disconnect
> > > I think that negotiation phase can be used for flexible session setup in the
> > > future (not only for errors)
> >
> > Cost of establishing a connection should be as low as possible.
> > A sharded tarantool cluster has n^2 of them, and n can be very big
> > - each cpu core is its own instance. 400 000 connections per
> > cluster are not uncommon.
>
> I think this is pretty much fable.
A vshard based cluster with 20 router nodes and 20 storage nodes,
32 core each, will have 20*32*32*16 connections.
A 20-40 node cluster is not big by any means.
--
Konstantin Osipov, Moscow, Russia
More information about the Tarantool-patches
mailing list