Skip to content

tarantool/examples

master
Switch branches/tags
Code

This is a showcase repository where you can find demo applications and usage examples for Tarantool and its derivatives.

The repo is organized by directories:

  • cache contains an application for storing user accounts. Here we implement caches of different types:

    • a simple cache with LRU (least-recently-used) eviction algorithm
    • a cache for a MySQL storage
    • a cache for a Tarantool disk storage (based on Tarantool's Vinyl engine)

    This app is based on the opensource version of Tarantool and the Tarantool Cartridge framework.

  • profile-storage contains an application for storing user profiles. Here, on top of the basic create/change/read/delete features, we implement user password check to disallow profile-related operations for anyone except the user.

    Again, this app is based on the opensource version of Tarantool and the Tarantool Cartridge framework.

  • tdg contains examples of using Tarantool Data Grid:

    1. Uploading data
    2. Uploading data via a connector
    3. Creating a service
    4. Changing the data model
    5. Using affinities to process related data on a single node

    These examples are based on the enterprise version of Tarantool.

  • cookbook contains code snippets for typical cases:

Feel free to browse, try and contribute!

Please submit an issue here if you have any problems with the demos.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages