[tarantool-patches] Re: [PATCH] Add MsgPack ext types handling.

Konstantin Osipov kostja at tarantool.org
Tue Apr 23 16:44:20 MSK 2019


* Serge Petrenko <sergepetrenko at tarantool.org> [19/04/23 16:05]:
> 
> 
> > 23 апр. 2019 г., в 15:21, Konstantin Osipov <kostja at tarantool.org> написал(а):
> > 
> > * Serge Petrenko <sergepetrenko at tarantool.org> [19/04/23 15:09]:
> > 
> > I mentioned before that this would break all clients.
> > 
> > It's high time to reconsider our in-memory storage format and make
> > it different from serialization format: we're seeing significant
> > performance penalty with serialization to and from msgpack in SQL,
> > and DECIMAL is a yet another blow on the single-format-approach:
> > our clients are simply not prepared to handle non-standard
> > extensions. 
> > 
> > Let's investigate what it takes to store decimal as an mp ext, and
> > serialize as mp string.
> 
> Well, we can do this, but how can clients distinguish decimal and string then?

>From result set metadata or, more generally, from schema. 

 

-- 
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov



More information about the Tarantool-patches mailing list