fbpx
Wikipedia

Tarantool

Tarantool is an in-memory computing platform with a flexible data schema, best used for creating high-performance applications. Two main parts of it are an in-memory database and a Lua application server.

Tarantool
Original author(s)VK Tech
Developer(s)VK Tech
Initial release2008
Stable release
2.10.4 / November 11, 2022 (2022-11-11)
Repository
  • github.com/tarantool/tarantool
Written inC
Operating systemLinux, FreeBSD, macOS
Available inEnglish
TypeNoSQL
LicenseSimplified BSD
Websitewww.tarantool.io

Tarantool maintains data in memory and ensures crash resistance with write-ahead logging and snapshotting. It includes a Lua interpreter and interactive console, but also accepts connections from programs in several other languages.

History edit

Mail.Ru, one of the largest Internet companies in Russia, started the project in 2008 as part of the development of Moy Mir (My World) social network. In 2010 for a project head it hired a former technical lead from MySQL. Open-source contributors have been active especially in the area of external-language connectors for C, Perl, PHP, Python, Ruby, and node.js.

Tarantool became part of the Mail.Ru backbone, used for dynamic content such as user sessions, unsent instant messages, task queues, and a caching layer for traditional relational databases such as MySQL or PostgreSQL.[1] [2]

By 2014 Tarantool had also been adopted by the social network services Badoo and Odnoklassniki (the latter is affiliated with Mail.Ru since 2010).[3][4]

Properties edit

All data is maintained in memory (RAM), with data persistence ensured by write-ahead logging and snapshotting, and for those reasons some industry observers have compared Tarantool to Membase.[5]

Replication is asynchronous and failover (getting one Tarantool server to take over from another) is possible either from a replica server or from a "hot standby" server.

There are no locks. Tarantool uses Lua-style coroutines and asynchronous I/O. The result is that application programs or stored procedures must be written with cooperative multitasking in mind, rather than the more popular preemptive multitasking.

For database storage the basic unit is a tuple. Tuples in tuple sets handle the same role as rows in tables for relational databases. Tuples have an arbitrary number of fields, and fields do not need names. Every tuple in a database has one (unique not null) primary key and one or more secondary keys, which are enabled for immediate lookup via indexes. Supported index types are B-tree, hash, bitmap, and R-tree (spatial).

Fields in a tuple are type-agnostic or can have specific numeric or string data types. Users may insert, update, delete, or select if they have been granted appropriate privileges.[6]

In 2017 Tarantool introduced an optional on-disk storage engine which allows databases larger than memory size.[7]

In 2019 Tarantool introduced an optional SQL interface which complies with most of the mandatory features of the official SQL standard.[8]

Distribution edit

Tarantool comes as part of the official distributions for some Linux distros such as Debian, Fedora or Ubuntu.[9][10][11] The Tarantool organization also supplies downloads for other Linux distributions, OS X, and FreeBSD. Tarantool can be extended with modules installed using LuaRocks, and it includes its own selection of extension rocks.[12]

References edit

  1. ^ Gornyy, Alexander (11 May 2016). "Tarantool 1.6: NoSQL база данных и application server в одном флаконе". Mail.Ru Group.
  2. ^ Osipov, Konstantin. "Tarantool persistent in-memory queues". NoSQL matters.
  3. ^ Povarov, Anton. "Tarantool в Badoo: хранение истории посещений". Badoo Development.
  4. ^ "DST completes purchase of Odnoklassniki.ru, exits Nasza-Klasa.pl". TechCrunch. 31 August 2010.
  5. ^ Popescu, Alex; Bacalu, Ana-Maria. "Tarantool/Silverbox: Another In-Memory Key-Value Store from Mail.Ru". MyNoSQL.
  6. ^ "Tarantool User Guide".
  7. ^ "Storing data with Vinyl". Tarantool.
  8. ^ "User's Guide / SQL". Tarantool.
  9. ^ "Package: Tarantool". Debian.
  10. ^ "Package: tarantool In-memory database with Lua application server". Fedora.
  11. ^ "Package: tarantool In-memory database with Lua application server". Ubuntu.
  12. ^ "Tarantool Rocks". Tarantool. Retrieved 30 December 2016.

External links edit

  • Official website

tarantool, memory, computing, platform, with, flexible, data, schema, best, used, creating, high, performance, applications, main, parts, memory, database, application, server, original, author, techdeveloper, techinitial, release2008stable, release2, november. Tarantool is an in memory computing platform with a flexible data schema best used for creating high performance applications Two main parts of it are an in memory database and a Lua application server TarantoolOriginal author s VK TechDeveloper s VK TechInitial release2008Stable release2 10 4 November 11 2022 2022 11 11 Repositorygithub wbr com wbr tarantool wbr tarantoolWritten inCOperating systemLinux FreeBSD macOSAvailable inEnglishTypeNoSQLLicenseSimplified BSDWebsitewww wbr tarantool wbr io Free and open source software portal Tarantool maintains data in memory and ensures crash resistance with write ahead logging and snapshotting It includes a Lua interpreter and interactive console but also accepts connections from programs in several other languages Contents 1 History 2 Properties 3 Distribution 4 References 5 External linksHistory editMail Ru one of the largest Internet companies in Russia started the project in 2008 as part of the development of Moy Mir My World social network In 2010 for a project head it hired a former technical lead from MySQL Open source contributors have been active especially in the area of external language connectors for C Perl PHP Python Ruby and node js Tarantool became part of the Mail Ru backbone used for dynamic content such as user sessions unsent instant messages task queues and a caching layer for traditional relational databases such as MySQL or PostgreSQL 1 2 By 2014 Tarantool had also been adopted by the social network services Badoo and Odnoklassniki the latter is affiliated with Mail Ru since 2010 3 4 Properties editAll data is maintained in memory RAM with data persistence ensured by write ahead logging and snapshotting and for those reasons some industry observers have compared Tarantool to Membase 5 Replication is asynchronous and failover getting one Tarantool server to take over from another is possible either from a replica server or from a hot standby server There are no locks Tarantool uses Lua style coroutines and asynchronous I O The result is that application programs or stored procedures must be written with cooperative multitasking in mind rather than the more popular preemptive multitasking For database storage the basic unit is a tuple Tuples in tuple sets handle the same role as rows in tables for relational databases Tuples have an arbitrary number of fields and fields do not need names Every tuple in a database has one unique not null primary key and one or more secondary keys which are enabled for immediate lookup via indexes Supported index types are B tree hash bitmap and R tree spatial Fields in a tuple are type agnostic or can have specific numeric or string data types Users may insert update delete or select if they have been granted appropriate privileges 6 In 2017 Tarantool introduced an optional on disk storage engine which allows databases larger than memory size 7 In 2019 Tarantool introduced an optional SQL interface which complies with most of the mandatory features of the official SQL standard 8 Distribution editTarantool comes as part of the official distributions for some Linux distros such as Debian Fedora or Ubuntu 9 10 11 The Tarantool organization also supplies downloads for other Linux distributions OS X and FreeBSD Tarantool can be extended with modules installed using LuaRocks and it includes its own selection of extension rocks 12 References edit Gornyy Alexander 11 May 2016 Tarantool 1 6 NoSQL baza dannyh i application server v odnom flakone Mail Ru Group Osipov Konstantin Tarantool persistent in memory queues NoSQL matters Povarov Anton Tarantool v Badoo hranenie istorii poseshenij Badoo Development DST completes purchase of Odnoklassniki ru exits Nasza Klasa pl TechCrunch 31 August 2010 Popescu Alex Bacalu Ana Maria Tarantool Silverbox Another In Memory Key Value Store from Mail Ru MyNoSQL Tarantool User Guide Storing data with Vinyl Tarantool User s Guide SQL Tarantool Package Tarantool Debian Package tarantool In memory database with Lua application server Fedora Package tarantool In memory database with Lua application server Ubuntu Tarantool Rocks Tarantool Retrieved 30 December 2016 External links editOfficial website Retrieved from https en wikipedia org w index php title Tarantool amp oldid 1171036911, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.