[tarantool-patches] Re: [PATCH 09/10] swim: cache decoded payload in the Lua module

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Fri May 17 01:46:43 MSK 2019



On 16/05/2019 10:36, Konstantin Osipov wrote:
> * Vladislav Shpilevoy <v.shpilevoy at tarantool.org> [19/05/16 09:53]:
>> Users of Lua SWIM module likely will use Lua objects as a
>> payload. Lua objects are serialized into MessagePack
>> automatically, and deserialized back on other instances. But
>> deserialization of 1.2Kb payload on each member:payload()
>> invocation is quite heavy operation. This commit caches decoded
>> payloads to return them again until change.
> 
> The entire stack is OK to push. But the stack has no docbot entry.
> Please submit a documentation request with a complete description
> of SWIM and the API: it's a complicated topic and one can't expect
> the docs team to handle it alone.

The request appeared to be so huge, that I decided to paste it
in the ticket:
https://github.com/tarantool/tarantool/issues/3234#issuecomment-493256667




More information about the Tarantool-patches mailing list