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

Konstantin Osipov kostja at tarantool.org
Thu May 16 10:36:04 MSK 2019


* 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.


-- 
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32




More information about the Tarantool-patches mailing list