Modules | Tarantool
Документация на русском языке
поддерживается сообществом

Modules

В данной главе рассматриваются Lua-модули с открытым и закрытым исходным кодом для Tarantool Enterprise, которые включены в дистрибутив в качестве автономного репозитория сторонних библиотек.

  • avro-schema – набор инструментов для схемы Apache Avro;

  • cartridge is a high-level cluster management interface that contains several modules:

    • rpc обеспечивает удаленные вызовы процедур между экземплярами кластера и позволяет ролям, запущенным на некоторых экземплярах, взаимодействовать с другими ролями в других экземплярах.
    • service-registry обеспечивает взаимодействие между ролями и позволяет различным ролям взаимодействовать друг с другом в рамках одного экземпляра.
    • confapplier обеспечивает валидацию и применение конфигурации в масштабе всего кластера с помощью двухфазной фиксации.
    • auth управляет аутентификацией.
    • pool повторно использует соединения net.box в Tarantool.
    • admin обеспечивает функции администрирования.
  • cartridge-cli is the command-line interface for the cartridge module.

    Важно

    cartridge-cli is deprecated in favor of the tt CLI utility.

  • checks is a type checker of functional arguments. This library that declares a checks() function and checkers table that allow to check the parameters passed to a Lua function in a fast and unobtrusive way.

  • http – это встроенный HTTP-сервер, который дополняет стандартный HTTP-клиент и требует установки, как описано в разделе по установке.

  • icu-date – библиотека форматирования даты и времени для Tarantool, которая основана на библиотеке для работы с Unicode (International Components for Unicode);

  • kafka – это полноценная высокопроизводительная библиотека kafka для Tarantool на основе librdkafka;

  • luacheck is a static analyzer and linter for Lua, preconfigured for Tarantool.

  • luarapidxml – быстрый анализатор XML.

  • luatest – среда тестирования Tarantool, которая написана на Lua.

  • membership builds a mesh from multiple Tarantool instances based on gossip protocol. The mesh monitors itself, helps members discover everyone else in the group and get notified about their status changes with low latency. It is built upon the ideas from Consul or, more precisely, the SWIM algorithm.

  • metrics is a collection of useful monitoring metrics.

  • tracing is a module for debugging performance issues.

  • vshard is an automatic sharding system that enables horizontal scaling for Tarantool DBMS instances.

  • ldap allows you to authenticate in a LDAP server and perform searches.
  • odbc is an ODBC connector for Tarantool based on unixODBC.
  • oracle is an Oracle connector for Lua applications through which they can send and receive data to and from Oracle databases. The advantage of the Tarantool-Oracle integration is that anyone can handle all the tasks with Oracle DBMSs (control, manipulation, storage, access) with the same high-level language (Lua) and with minimal delay.
  • task is a module for managing background tasks in a Tarantool cluster.
  • space-explorer is a module for exploring Tarantool spaces in cartridge.

Чтобы использовать модуль, установите следующие элементы:

  1. Все необходимые сторонние пакеты программного обеспечения (при необходимости). Список программ см. в требованиях модуля.

  2. Сам модуль на каждый экземпляр Tarantool:

    $ tt rocks install MODULE_NAME [MODULE_VERSION]
    

See the tt rocks reference to learn more about managing Lua modules.

Нашли ответ на свой вопрос?
Обратная связь