Tarantool development patches archive
 help / color / mirror / Atom feed
From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
To: tarantool-patches@freelists.org
Cc: kostja@tarantool.org
Subject: [tarantool-patches] [PATCH 00/10] swim Lua API
Date: Wed, 15 May 2019 22:36:36 +0300	[thread overview]
Message-ID: <cover.1557948686.git.v.shpilevoy@tarantool.org> (raw)

This huge patchset introduces SWIM Lua module - wrapper around C SWIM. It
duplicates C API one in one, with additional internal checks related to Lua
dynamic typing.

First 3 patches are preparatory, they fix some bugs in the C module appeared
during Lua API development.

Next 4 patches are the core - 4 independent parts of Lua API. They are simple
and somewhere not efficient.

Next 3 patches are optimizations, then eliminate some performance problems of
the core patches.

Branch: http://github.com/tarantool/tarantool/tree/gerold103/swim-lua
Issue: https://github.com/tarantool/tarantool/issues/3234

Vladislav Shpilevoy (10):
  swim: fix an assertion on attempt to chage timeouts
  swim: make swim_new_round() void
  swim: validate URI in swim_probe_member()
  swim: introduce Lua interface
  swim: Lua bindings to manipulate member table
  swim: Lua bindings to access individual members
  swim: pairs() function to iterate over member table
  swim: allow to use cdata struct tt_uuid in Lua API
  swim: cache decoded payload in the Lua module
  swim: cache members in Lua member table

 extra/exports           |   26 +
 src/CMakeLists.txt      |    1 +
 src/lib/swim/swim.c     |   46 +-
 src/lib/swim/swim.h     |   12 +
 src/lib/swim/swim_ev.h  |    2 +
 src/lua/init.c          |    2 +
 src/lua/swim.lua        |  777 ++++++++++++++++++++++++++++++
 test/swim/box.lua       |   24 +
 test/swim/suite.ini     |    5 +
 test/swim/swim.result   | 1011 +++++++++++++++++++++++++++++++++++++++
 test/swim/swim.test.lua |  340 +++++++++++++
 test/unit/swim.c        |    3 +-
 test/unit/swim.result   |    7 +-
 13 files changed, 2234 insertions(+), 22 deletions(-)
 create mode 100644 src/lua/swim.lua
 create mode 100644 test/swim/box.lua
 create mode 100644 test/swim/suite.ini
 create mode 100644 test/swim/swim.result
 create mode 100644 test/swim/swim.test.lua

-- 
2.20.1 (Apple Git-117)

             reply	other threads:[~2019-05-15 19:36 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-15 19:36 Vladislav Shpilevoy [this message]
2019-05-15 19:36 ` [tarantool-patches] [PATCH 01/10] swim: fix an assertion on attempt to chage timeouts Vladislav Shpilevoy
2019-05-16  7:28   ` [tarantool-patches] " Konstantin Osipov
2019-05-15 19:36 ` [tarantool-patches] [PATCH 10/10] swim: cache members in Lua member table Vladislav Shpilevoy
2019-05-16  7:31   ` [tarantool-patches] " Konstantin Osipov
2019-05-15 19:36 ` [tarantool-patches] [PATCH 02/10] swim: make swim_new_round() void Vladislav Shpilevoy
2019-05-16  7:31   ` [tarantool-patches] " Konstantin Osipov
2019-05-15 19:36 ` [tarantool-patches] [PATCH 03/10] swim: validate URI in swim_probe_member() Vladislav Shpilevoy
2019-05-16  7:31   ` [tarantool-patches] " Konstantin Osipov
2019-05-15 19:36 ` [tarantool-patches] [PATCH 04/10] swim: introduce Lua interface Vladislav Shpilevoy
2019-05-15 19:36 ` [tarantool-patches] [PATCH 05/10] swim: Lua bindings to manipulate member table Vladislav Shpilevoy
2019-05-16  7:32   ` [tarantool-patches] " Konstantin Osipov
2019-05-15 19:36 ` [tarantool-patches] [PATCH 06/10] swim: Lua bindings to access individual members Vladislav Shpilevoy
2019-05-15 19:36 ` [tarantool-patches] [PATCH 07/10] swim: pairs() function to iterate over member table Vladislav Shpilevoy
2019-05-15 19:36 ` [tarantool-patches] [PATCH 08/10] swim: allow to use cdata struct tt_uuid in Lua API Vladislav Shpilevoy
2019-05-15 19:36 ` [tarantool-patches] [PATCH 09/10] swim: cache decoded payload in the Lua module Vladislav Shpilevoy
2019-05-16  7:36   ` [tarantool-patches] " Konstantin Osipov
2019-05-16 11:58     ` Vladislav Shpilevoy
2019-05-16 22:46     ` Vladislav Shpilevoy
2019-05-21 16:57 ` [tarantool-patches] Re: [PATCH 00/10] swim Lua API Vladislav Shpilevoy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1557948686.git.v.shpilevoy@tarantool.org \
    --to=v.shpilevoy@tarantool.org \
    --cc=kostja@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --subject='Re: [tarantool-patches] [PATCH 00/10] swim Lua API' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox