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

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Thu May 16 14:58:57 MSK 2019


The patch depends on gerold103/static-allocator-lua. Please,
review it first.

https://www.freelists.org/post/tarantool-patches/PATCH-11-buffer-port-static-allocator-to-Lua

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.
> 
> I know we have agreed to not document it yet, but the docs should
> be ready: I don't expect the api or swim nature will change
> significantly in the future.
> 
> 




More information about the Tarantool-patches mailing list