GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Categories
  • Newsletter
  • Submit
  • Login
  • Awesome C++
  • Database

This view

  • Original page
  • New address

GeezerVison is showing cpp.libhunt.com — BerylDB Alternatives - C++ Database | LibHunt

  • Subscribe
  • Submit
  • Categories
  • About
  • Login

BerylDB

BerylDB is a fully modular data structure data manager that can be used to store data as key-value entries. The server allows channel subscription and is optimized to be used as a cache repository. Supported structures include lists, sets, multimaps, and keys.

beryldb logo
DISCONTINUED. You can find some alternatives below.
Suggest Changes
Take the C++ Developer Survey - About 6 minutes on the tools, libraries and AI you use with C++. You get the results by email. Take the survey »
Popularity
2.9
Stable
Activity
0.0
Stable
Stars 201
Watchers 6
Forks 6
Last Commit about 5 years ago

Description

BerylDB is a data structure server. Our database provides access to structures via a wide range of commands, which are later queued, processed, and dispatched. The server is written in C++ and is powered by RocksDB.

With BerylDB, users have access to lists, maps, keys, and channel subscriptions for their clients. Currently, the server is available for GNU/Linux, FreeBSD and macOS.

Programming language: C++
License: BSD 3-clause "New" or "Revised" License
Tags: Database     Key-Value     Api    

BerylDB alternatives and similar libraries

Based on the "Database" category.
Alternatively, view beryldb alternatives based on common mentions on social networks and blogs.

  • ClickHouse

    9.9 10.0 L1 BerylDB VS ClickHouse
    ClickHouse® is a real-time analytics database management system
    ClickHouse logo
  • LevelDB

    9.8 1.1 L1 BerylDB VS LevelDB
    LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.
    google logo
  • SaaSHub - Software Alternatives and Reviews

    SaaSHub helps you find the best software and product alternatives
    Promo www.saashub.com
    SaaSHub Logo
  • RocksDB

    9.8 9.7 L1 BerylDB VS RocksDB
    A library that provides an embeddable, persistent key-value store for fast storage.
    meta logo
  • Hiredis

    8.7 7.7 L3 BerylDB VS Hiredis
    Minimalistic C client for Redis >= 1.2
    redis logo
  • LMDB

    7.5 8.1 BerylDB VS LMDB
    Read-only mirror of official repo on openldap.org. Issues and pull requests here are ignored. Use OpenLDAP ITS for issues.
    LMDB logo
  • sqlite_orm

    7.1 0.0 BerylDB VS sqlite_orm
    ❤️ SQLite ORM light header only library for modern C++
    fnc12 logo
  • SQLite

    6.9 9.8 L2 BerylDB VS SQLite
    Unofficial git mirror of SQLite sources (see link for build instructions)
    mackyle logo
  • SOCI

    6.7 8.3 BerylDB VS SOCI
    Official repository of the SOCI - The C++ Database Access Library
    SOCI logo
  • TileDB

    6.5 6.6 BerylDB VS TileDB
    The Universal Storage Engine
    TileDB-Inc logo
  • MongoDB C++ Driver

    6.4 8.9 L1 BerylDB VS MongoDB C++ Driver
    C++ Driver for MongoDB
    mongodb logo
  • Sophia

    6.3 2.0 L3 BerylDB VS Sophia
    Modern transactional key-value/row storage library.
    pmwkaa logo
  • cpp_redis

    6.3 0.0 BerylDB VS cpp_redis
    DISCONTINUED. C++11 Lightweight Redis client: async, thread-safe, no dependency, pipelining, multi-platform.
  • MongoDB C Driver

    6.0 9.4 L3 BerylDB VS MongoDB C Driver
    The Official MongoDB driver for C language
    mongodb logo
  • Bedrock

    5.6 9.9 L3 BerylDB VS Bedrock
    Rock solid distributed database specializing in active/active automatic failover and WAN replication
    Expensify logo
  • libmdbx

    5.5 9.6 BerylDB VS libmdbx
    DISCONTINUED. One of the fastest embeddable key-value ACID database without WAL. libmdbx surpasses the legendary LMDB in terms of reliability, features and performance.
  • sqlite_modern_cpp

    5.3 0.0 BerylDB VS sqlite_modern_cpp
    The C++14 wrapper around sqlite library
    SqliteModernCpp logo
  • MongoDB Libbson

    4.9 0.0 L2 BerylDB VS MongoDB Libbson
    DISCONTINUED. A BSON utility library. [Apache2]
  • hiberlite

    4.8 0.0 L5 BerylDB VS hiberlite
    C++ ORM for SQLite
    paulftw logo
  • SimDB

    4.3 0.0 BerylDB VS SimDB
    A high performance, shared memory, lock free, cross platform, single file, no dependencies, C++11 key-value store
    LiveAsynchronousVisualizedArchitecture logo
  • upscaledb

    4.2 0.0 L1 BerylDB VS upscaledb
    A very fast lightweight embedded database engine with a built-in query language.
    cruppstahl logo
  • LMDB++

    3.7 0.0 BerylDB VS LMDB++
    C++11 wrapper for the LMDB embedded B+ tree database library.
    drycpp logo
  •  TinyORM

    3.6 9.6 BerylDB VS  TinyORM
    Modern C++ ORM library with MySQL, PostgreSQL, and SQLite support
    silverqx logo
  • ObjectBox C/C++ database

    3.5 3.2 BerylDB VS ObjectBox C/C++ database
    C and C++ database for objects and structs
    objectbox logo
  • redis3m

    3.5 0.0 L4 BerylDB VS redis3m
    A C++ Redis client
    luca3m logo
  • RethinkDB driver for C++

    2.8 0.0 L1 BerylDB VS RethinkDB driver for C++
    RethinkDB driver for C++
    AtnNn logo
  • tntdb

    2.2 6.5 L1 BerylDB VS tntdb
    Tntdb is a c++-class-library for easy access to databases.
    maekitalo logo
  • Website

    2.1 8.6 L4 BerylDB VS Website
    VSQLite++ Library - BSD-3 Licensed
    vinzenz logo
  • aredis

    1.8 0.0 BerylDB VS aredis
    a clean redis C++ client
    lordoffox logo
  • libgeodesk

    1.5 - BerylDB VS libgeodesk
    Fast and storage-efficient spatial database engine for OpenStreetMap data
    clarisma logo
  • SQLinq

    1.0 7.3 BerylDB VS SQLinq
    SQLinq is a C++ library that enables easy and efficient integration with SQL databases, using a syntax similar to LINQ from C#.
    piotr-maker logo
  • MySQL++

    - BerylDB VS MySQL++
    A C++ wrapper for MySQL's C API. [LGPL]

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.

Do you think we are missing an alternative of BerylDB or a related project?

Add another 'Database' Library

Popular Comparisons

  • BerylDB
    vs
    LevelDB
  • BerylDB
    vs
    TileDB
  • BerylDB
    vs
    RocksDB
  • BerylDB
    vs
    MongoDB C++ Driver
  • BerylDB
    vs
    LMDB

README

License Mailing List Twitter Discord Server

What is BerylDB?

BerylDB is a data structure server. Our database provides access to structures via a wide range of commands, which are later queued, processed, and dispatched. The server is written in C++ and is powered by RocksDB.

With BerylDB, users have access to lists, maps, keys, and channel subscriptions for their clients. Currently, the server is available for GNU/Linux, FreeBSD and macOS.

  • Check BerylDB's full list of commands.
  • We are on Twitter.
  • Learn more about our Drivers.

A robust attention to performance and code cleanliness is an ongoing priority when developing BerylDB. Our server aims at being crash-free while utilizing minimum resources.

Data

This README is a brief introduction to BerylDB. For extended information, you can visit our documentation site at docs.beryl.dev.

Why use it?

BerylDB simplifies your system by allowing you to write fewer lines of code to store, retrieve, and manage data in your apps. For instance, if your app relies on sessions to keep users connected, you may use BerylDB's key-value data storage. Then remove expiring keys with Beryl's automatic expire managing system.

Installation

We recommend building BerylDB from the source. A guide on how to do this is available on the BerylDB docs site. BerylDB's development branches are available in our GitHub repository.

NOTE: When running 'make', you should use the '-j4' argument, which allows you to compile using 4 cores. Feel free to change this number according to your CPU.

  • Installing dependencies in Debian based systems:
$ sudo apt-get install librocksdb-dev build-essential
  • Installing dependencies in Redhat based systems:
$ dnf install @development-tools
$ yum install git rocksdb-devel.x86_64
  • Installing dependencies in macOS:
$ brew install rocksdb 

Clone BerylDB's latest stable version:

$ git clone --branch 1.0 https://github.com/beryldb/beryldb.git 
$ cd beryldb/

You may now configure BerylDB following these quick steps:

$ ./configure
$ make -j4 install

Running BerylDB

To run BerylDB using the default configuration, type:

$ ./run/beryldb start

NOTE: BerylDB runs in the background by default. If you wish to avoid forking, you can run the server using nofork:

$ ./run/beryldb start --nofork

Great! You may now run your very first BerylDB command using beryl-cli.

Keep in mind that BerylDB uses port 6378 by default, so be sure to maintain that port unused before running the server.

Drivers

Drivers are used to interact with a given BerylDB instance. If you are familiar with BerylDB, you may notice that driver's functions typically have the same name that its parent function.

  • PHP - Compatible with PHP >= 7.3
  • Node.js - Compatible with node >= 15
  • Python - Compatible with Python >= 3

First queries

You may want to learn more about BerylDB and run your first queries using beryl-cli:

  • SET is used to define a key.
  • GET is used to retrieve a key.
  • DEL is what you need when removing a key.
  • use EXISTS to verify whether a given key exists.
  • STRLEN is used to obtain a key's length.
beryl> SET hello "world"
OK
beryl> GET hello
"world"
beryl> STRLEN hello
5
beryl> ISMATCH hello "worl?"
1
beryl> DEL hello
OK
beryl> EXISTS hello
0

You can also run the ls command to obtain a counter in all structures:

beryl> ls
+-----------------+----------------------+
| Type            | Count                |
+-----------------+----------------------+
| KEYS            | 5                    |
| MAPS            | 7                    |
| LISTS           | 0                    |
| GEOS            | 12                   |
| MULTIMAPS       | 0                    |
| VECTORS         | 9                    |
| EXPIRES         | 1                    |
| FUTURES         | 0                    |
+-----------------+----------------------+

To search all keys:

beryl> search *
+-----------------+----------------------+
| Key             | Value                |
+-----------------+----------------------+
| hello           | "world"              |
| test            | "entry"              |
+-----------------+----------------------+

Take a look at all BerylDB's commands here.

Coremodules and Modules

BerylDB is mainly divided into two components: core modules and modules. These can be found in these directories:

  • src/coremodules: Contains BerylDB's core modules. These are required to run the server properly.

  • src/modules: Contains optional modules. BerylDB can funcion without these.

Core modules include those components that are required in order to run basic functionalities. For instance, core_keys handles the SET and GET commands.

In the other hand, modules are optional components developed either by the Beryl team or by third party developers.

Feel free to code and submit your own modules.

Discussions

In order to maintain a documentation that is easy to follow. We try to maintain documentation that is easy to follow and try to make discussions understandable for everyone. Our code is actively changing and thus having a brief discussion board is preferred. Join our Google group If you would like to learn more about Beryl's development process.

Source code organization

Beryl's source code is in the src/ directory. The Makefile, which is created after configuring Beryl, is located in the root directory.

Inside the root directory, you will find:

  • src: Contains BerylDB's implementation, written in C++.
  • include: Contains BerylDB's headers.
  • etc: Libraries developed by 3rd party organizations.
  • make: Contains several Perl-based functions to compile BerylDB.

NOTE: BerylDB has changed a bit. Some functions and file names may have changed. Hence, BerylDB's documentation may be closer to the 1.0 branch. Nonetheless, the core structure is the same, tested extensively.

Contributing

We are always welcoming new members. If you wish to start contributing code to the Beryl project in any form, such as in the form of pull requests via Github, a code snippet, or a patch, you will need to agree to release your work under the terms of the BSD license.

Join our community 👋

We invite people from different backgrounds 🌈👨❤️ :raising_hand::older_man:

If you are just getting started as programmer, there are several ways that you can collaborate. There is no need to be a senior programmer. At BerylDB, we are problem solvers and welcome people having this vision 👍

How do I get involved?

  • 🎓 Check our pending issues, or create your own.
  • 🌵 Contribute to our Drivers (Node.js, PHP, Python).
  • 🙋 Become a QA: Test our software and report back (Check our Google group).
  • 💬 Get to know our team and join our Discord server.

External Links

  • Documentation
  • GitHub
  • Support/Discord
  • Twitter


*Note that all licence references and agreements mentioned in the BerylDB README section above are relevant to that project's source code only.

Do not miss the trending, libraries, news and articles with our weekly report.

Awesome C++ is part of the LibHunt network. Terms. Privacy Policy.

(CC)
BY-SA
Spin The Wheel Of Names for a cryptographically secure random name picker.
Schedule a when to meet poll.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.