And now we're Skytable

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
next
Sayan Nandan 4 years ago
parent 339844a613
commit 43779eb08e
No known key found for this signature in database
GPG Key ID: C31EFD7DDA12AEE0

@ -38,7 +38,7 @@ steps:
- name: push-docker-image - name: push-docker-image
image: plugins/docker image: plugins/docker
settings: settings:
repo: Skybase/sdb repo: Skytable/sdb
username: username:
from_secret: docker_username from_secret: docker_username
password: password:

@ -41,7 +41,7 @@ jobs:
with: with:
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }} password: ${{ secrets.DOCKER_PASSWORD }}
repository: skybasedb/sdb repository: skytable/sdb
tags: latest tags: latest
tag_with_ref: true tag_with_ref: true
if: env.BUILD == 'true' || github.event_name == 'create' && startsWith(github.ref, 'refs/tags/v') if: env.BUILD == 'true' || github.event_name == 'create' && startsWith(github.ref, 'refs/tags/v')

@ -1,16 +0,0 @@
name: Sync with mirrors
on: push
jobs:
sync-mirror-1:
name: Sync with repo mirror
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0 # Get all tags and branches
- name: Run sync
env:
SYNC_EP: ${{ secrets.MIRROR_GL_API }}
run: |
eval '${SYNC_EP}'

@ -1,3 +1,3 @@
# The Authors # The Authors
Whenever we refer to "The Skybase Authors", "The Sky Authors", "The SkybaseDB Authors", "The SDB Authors", "The TerrabaseDB Authors", "The TDB Authors", or simply "The Authors", we are referring to: Whenever we refer to "The Skytable Authors", "The Sky Authors", "The SkybaseDB Authors", "The SDB Authors", "The TerrabaseDB Authors", "The TDB Authors", or simply "The Authors", we are referring to:
- Sayan (ohsayan at outlook dot com) - Sayan (ohsayan at outlook dot com)

@ -53,7 +53,7 @@ This release adds the following actions:
> No breaking changes > No breaking changes
This release adds `BGSAVE` for automated background saving (see [#11](https://github.com/skybasedb/skybase/issues/21)) This release adds `BGSAVE` for automated background saving (see [#11](https://github.com/skytable/skytable/issues/21))
## Version 0.4.1 [2020-09-06] ## Version 0.4.1 [2020-09-06]

@ -1,7 +1,7 @@
# Individual Contributor License Agreement # Individual Contributor License Agreement
Adapted from http://www.apache.org/licenses/icla.txt © The Apache Software Foundation Adapted from http://www.apache.org/licenses/icla.txt © The Apache Software Foundation
Thank you for your interest in contributing to Skybase. In order to clarify the intellectual property license granted with Contributions from any person or entity, the Author (Sayan Nandan) must have a Contributor License Agreement ("CLA") on file that has been signed by each Contributor, indicating agreement to the license terms below. This license is for your protection as a Contributor as well as the protection of the Author and its users; it does not change your rights to use your own Contributions for any other purpose. Thank you for your interest in contributing to Skytable. In order to clarify the intellectual property license granted with Contributions from any person or entity, the Author (Sayan Nandan) must have a Contributor License Agreement ("CLA") on file that has been signed by each Contributor, indicating agreement to the license terms below. This license is for your protection as a Contributor as well as the protection of the Author and its users; it does not change your rights to use your own Contributions for any other purpose.
You accept and agree to the following terms and conditions for Your present and future Contributions submitted to the Author. In return, the Author shall not use Your Contributions in a way that is contrary to the public benefit or inconsistent with its bylaws in effect at the time of the Contribution. Except for the license granted herein to the Author and recipients of software distributed by the Author, You reserve all right, title, and interest in and to Your Contributions. You accept and agree to the following terms and conditions for Your present and future Contributions submitted to the Author. In return, the Author shall not use Your Contributions in a way that is contrary to the public benefit or inconsistent with its bylaws in effect at the time of the Contribution. Except for the license granted herein to the Author and recipients of software distributed by the Author, You reserve all right, title, and interest in and to Your Contributions.

@ -33,18 +33,18 @@ In other cases, use the C style.
### Parts of the project ### Parts of the project
* `ci` , `.github` : CI scripts (which, under normal circumstances, don't need to be modified) * `ci` , `.github` : CI scripts (which, under normal circumstances, don't need to be modified)
* `cli` : Source for `skysh` which is the command-line client for Skybase * `cli` : Source for `skysh` which is the command-line client for Skytable
* `examples` : Example configuration files * `examples` : Example configuration files
* `libsky` : This contains functions, structs, ... used by both the `cli` and the * `libsky` : This contains functions, structs, ... used by both the `cli` and the
* `server` : Source for the main database server `` * `server` : Source for the main database server ``
* `sky-bench` : The source for the benchmarking tool resides here * `sky-bench` : The source for the benchmarking tool resides here
* `sky-macros` : The source for custom compiler macros used by Skybase * `sky-macros` : The source for custom compiler macros used by Skytable
### Jargon ### Jargon
Each project has its own jargon — and so do we! Each project has its own jargon — and so do we!
* _actiondoc_ and _actions docs_ : This refers to the `actions.jsonc` file, which is used by the Skybase documentation website for automatically building documentation for the actions * _actiondoc_ and _actions docs_ : This refers to the `actions.jsonc` file, which is used by the Skytable documentation website for automatically building documentation for the actions
### Branches ### Branches

@ -1,5 +1,5 @@
# #
# The Dockerfile for the Skybase server sdb # The Dockerfile for the Skytable server sdb
# #
FROM debian:stable FROM debian:stable

@ -1,23 +1,23 @@
<html> <html>
<div align="center"> <div align="center">
<img src="assets/logo.jpg" height=64 width=64> <img src="assets/logo.jpg" height=64 width=64>
<h1>Skybase</h1><h3>The next-generation NoSQL database</h3> <h1>Skytable</h1><h3>The next-generation NoSQL database</h3>
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/skybasedb/skybase/Test%20(push)) ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/skybasedb/skybase/Sync%20with%20mirrors?label=mirror%20sync) ![Status: Alpha](https://img.shields.io/badge/status-alpha-critical?style=flat-square) ![Development](https://img.shields.io/badge/development-regular-32CD32?style=flat-square) ![GitHub release (latest SemVer including pre-releases)](https://img.shields.io/github/v/release/skybasedb/skybase?include_prereleases&sort=semver&style=flat-square) ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/skybasedb/skybase/Test%20(push)) ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/skybasedb/skybase/Sync%20with%20mirrors?label=mirror%20sync) ![Status: Alpha](https://img.shields.io/badge/status-alpha-critical?style=flat-square) ![Development](https://img.shields.io/badge/development-regular-32CD32?style=flat-square) ![GitHub release (latest SemVer including pre-releases)](https://img.shields.io/github/v/release/skybasedb/skybase?include_prereleases&sort=semver&style=flat-square)
[![Docs](https://img.shields.io/badge/readthedocs-here-blueviolet?style=flat-square)](https://terrabasedb.github.io/docs) [![Contribute Now](https://img.shields.io/badge/%F0%9F%8C%9Fcontribute-now-a94064)](https://ohsayan.github.io/thanks) [![Docs](https://img.shields.io/badge/readthedocs-here-blueviolet?style=flat-square)](https://skytable.github.io/docs) [![Contribute Now](https://img.shields.io/badge/%F0%9F%8C%9Fcontribute-now-a94064)](https://ohsayan.github.io/skythanks)
</div> </div>
</html> </html>
## What is Skybase? ## What is Skytable?
Skybase (or SkybaseDB/SDB) is an effort to provide the best of key/value stores, document stores and columnar databases, that is, **simplicity, flexibility and queryability at scale**. The name 'Skybase' exemplifies our vision to create a database that has limitless possibilities. Skybase was previously known as TerrabaseDB. Skytable (or SkybaseDB/SDB) is an effort to provide the best of key/value stores, document stores and columnar databases, that is, **simplicity, flexibility and queryability at scale**. The name 'Skytable' exemplifies our vision to create a database that has limitless possibilities. Skytable was previously known as TerrabaseDB (and then Skybase).
Skybase is curently in an alpha stage, but can be used as a **performant**, **secure** and **persistent key-value store**. Skytable is curently in an alpha stage, but can be used as a **performant**, **secure** and **persistent key-value store**.
## Getting started 🚀 ## Getting started 🚀
1. Download a bundle for your platform from [here ⬇️ ](https://github.com/skybasedb/skybase/releases) 1. Download a bundle for your platform from [here ⬇️ ](https://github.com/skytable/skytable/releases)
2. Unzip the bundle 2. Unzip the bundle
3. Make the files executable (run `chmod +x sdb skysh` on *nix systems) 3. Make the files executable (run `chmod +x sdb skysh` on *nix systems)
4. First run `sdb` to start the database server and then run `skysh` to start the interactive shell 4. First run `sdb` to start the database server and then run `skysh` to start the interactive shell
@ -30,12 +30,12 @@ You can learn more about installation [here](https://terrabasedb.github.io/docs/
* **Insanely fast**: Scale to millions of queries per second per node * **Insanely fast**: Scale to millions of queries per second per node
* **Key/value store**: `GET` , `SET` , `UPDATE` and [all that stuff](https://terrabasedb.github.io/docs/List-Of-Actions) * **Key/value store**: `GET` , `SET` , `UPDATE` and [all that stuff](https://terrabasedb.github.io/docs/List-Of-Actions)
* **Snapshots**: Automated (and tunable) snapshots for stress-free backups * **Snapshots**: Automated (and tunable) snapshots for stress-free backups
* **Secure**: Secure connections are built into Skybase with SSL/TLS * **Secure**: Secure connections are built into Skytable with SSL/TLS
* **Multithreaded**: Designed to exploit all CPU cores * **Multithreaded**: Designed to exploit all CPU cores
* **Resource friendly**: The database server doesn't need more than 1MB to run * **Resource friendly**: The database server doesn't need more than 1MB to run
* **Convenient**: Without the setup hassle and system-specific dependencies * **Convenient**: Without the setup hassle and system-specific dependencies
(... [and more on the way](https://github.com/skybasedb/skybase/labels/roadmap)) (... [and more on the way](https://github.com/skytable/skytable/labels/roadmap))
## Clients 🔌 ## Clients 🔌
@ -59,13 +59,13 @@ This project strictly follows semver, however, since this project is currently i
## Contributing ## Contributing
[![Contribute Now](https://img.shields.io/badge/%F0%9F%8C%9Fcontribute-now-a94064?style=for-the-badge)](https://ohsayan.github.io/thanks) [![Contribute Now](https://img.shields.io/badge/%F0%9F%8C%9Fcontribute-now-a94064?style=for-the-badge)](https://ohsayan.github.io/skythanks)
**Yes - we need you!** Be it a typo, a bizarre idea, a dirty bug🐞 or an amazing patch - you're welcome to contribute to Skybase! Beginner friendly issues are marked with the [<img src=https://img.shields.io/badge/L--easy-C71585>](https://github.com/skybasedb/skybase/labels/L-easy) label. Read the guide [here](./CONTRIBUTING.md). **Yes - we need you!** Be it a typo, a bizarre idea, a dirty bug🐞 or an amazing patch - you're welcome to contribute to Skytable! Beginner friendly issues are marked with the [<img src=https://img.shields.io/badge/L--easy-C71585>](https://github.com/skytable/skytable/labels/L-easy) label. Read the guide [here](./CONTRIBUTING.md).
## Contributors ## Contributors
You can see a full list of contributors [here](https://ohsayan.github.io/thanks) You can see a full list of contributors [here](https://ohsayan.github.io/skythanks)
## License ## License

@ -1,8 +1,8 @@
/* /*
* Created on Thu Aug 27 2020 * Created on Thu Aug 27 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.
@ -24,8 +24,8 @@
* *
*/ */
/* /*
* This file is used by Skybase's documentation website for automatically * This file is used by Skytable's documentation website for automatically
* generating documentation for the actions. It will also be used by the Skybase * generating documentation for the actions. It will also be used by the Skytable
* server in the future * server in the future
*/ */
[ [

@ -4,7 +4,7 @@
C_USER=$(git show -s --format='%an' HEAD) C_USER=$(git show -s --format='%an' HEAD)
C_MAIL=$(git show -s --format='%ae' HEAD) C_MAIL=$(git show -s --format='%ae' HEAD)
cd .. cd ..
git clone https://github.com/Skybase/docs.git git clone https://github.com/Skytable/docs.git
cd docs cd docs
chmod +x builddoc.sh chmod +x builddoc.sh
sh ./builddoc.sh sh ./builddoc.sh

@ -1,8 +1,8 @@
/* /*
* Created on Wed Jul 01 2020 * Created on Wed Jul 01 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.
@ -31,7 +31,7 @@ use libsky::terrapipe::ADDR;
use protocol::{Con, Connection, SslConnection}; use protocol::{Con, Connection, SslConnection};
use std::io::{self, prelude::*}; use std::io::{self, prelude::*};
use std::process; use std::process;
const MSG_WELCOME: &'static str = "Skybase v0.5.1"; const MSG_WELCOME: &'static str = "Skytable v0.5.1";
/// This creates a REPL on the command line and also parses command-line arguments /// This creates a REPL on the command line and also parses command-line arguments
/// ///

@ -1,7 +1,7 @@
# #
# Created on Tue Nov 03 2020 # Created on Tue Nov 03 2020
# #
# This file is a part of Skybase # This file is a part of Skytable
# Copyright (c) 2020, Sayan Nandan <ohsayan@outlook.com> # Copyright (c) 2020, Sayan Nandan <ohsayan@outlook.com>
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
@ -19,10 +19,10 @@
# #
# #
name: Skybase Shell name: Skytable Shell
version: 0.5.1 version: 0.5.1
author: Sayan N. <ohsayan@outlook.com> author: Sayan N. <ohsayan@outlook.com>
about: The Skybase Shell (skysh) about: The Skytable Shell (skysh)
args: args:
- host: - host:
short: h short: h

@ -1,8 +1,8 @@
/* /*
* Created on Wed Jul 01 2020 * Created on Wed Jul 01 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.

@ -1,8 +1,8 @@
/* /*
* Created on Tue Aug 04 2020 * Created on Tue Aug 04 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.

@ -1,8 +1,8 @@
/* /*
* Created on Tue Aug 04 2020 * Created on Tue Aug 04 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.

@ -1,8 +1,8 @@
/* /*
* Created on Mon Jul 20 2020 * Created on Mon Jul 20 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.
@ -24,7 +24,7 @@
* *
*/ */
//! The core library for the Skybase //! The core library for the Skytable
//! //!
//! This contains modules which are shared by both the `cli` and the `server` modules //! This contains modules which are shared by both the `cli` and the `server` modules

@ -1,8 +1,8 @@
/* /*
* Created on Sat Jul 18 2020 * Created on Sat Jul 18 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.

@ -1,8 +1,8 @@
/* /*
* Created on Tue Aug 18 2020 * Created on Tue Aug 18 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.

@ -1,8 +1,8 @@
/* /*
* Created on Fri Aug 07 2020 * Created on Fri Aug 07 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.

@ -1,8 +1,8 @@
/* /*
* Created on Tue Oct 13 2020 * Created on Tue Oct 13 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.

@ -1,8 +1,8 @@
/* /*
* Created on Tue Nov 03 2020 * Created on Tue Nov 03 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.
@ -24,6 +24,6 @@
* *
*/ */
//! Modules for administration of Skybase //! Modules for administration of Skytable
pub mod mksnap; pub mod mksnap;

@ -1,7 +1,7 @@
name: Skybase Server name: Skytable Server
version: 0.5.1 version: 0.5.1
author: Sayan N. <ohsayan@outlook.com> author: Sayan N. <ohsayan@outlook.com>
about: The Skybase Database server about: The Skytable Database server
args: args:
- config: - config:
short: c short: c

@ -1,8 +1,8 @@
/* /*
* Created on Tue Sep 01 2020 * Created on Tue Sep 01 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.
@ -52,7 +52,7 @@ pub struct Config {
/* TODO(@ohsayan): As of now, we will keep this optional, but post 0.5.1, /* TODO(@ohsayan): As of now, we will keep this optional, but post 0.5.1,
* we will make it compulsory (so that we don't break semver) * we will make it compulsory (so that we don't break semver)
* See the link below for more details: * See the link below for more details:
* https://github.com/Skybase/Skybase/issues/21#issuecomment-693217709 * https://github.com/Skytable/Skytable/issues/21#issuecomment-693217709
*/ */
bgsave: Option<ConfigKeyBGSAVE>, bgsave: Option<ConfigKeyBGSAVE>,
/// The snapshot key /// The snapshot key

@ -1,8 +1,8 @@
/* /*
* Created on Mon Jul 13 2020 * Created on Mon Jul 13 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.

@ -1,8 +1,8 @@
/* /*
* Created on Tue Jul 21 2020 * Created on Tue Jul 21 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.

@ -1,8 +1,8 @@
/* /*
* Created on Wed Aug 05 2020 * Created on Wed Aug 05 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.

@ -1,8 +1,8 @@
/* /*
* Created on Thu Oct 01 2020 * Created on Thu Oct 01 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.

@ -1,8 +1,8 @@
/* /*
* Created on Wed Dec 02 2020 * Created on Wed Dec 02 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.

@ -1,8 +1,8 @@
/* /*
* Created on Thu Sep 24 2020 * Created on Thu Sep 24 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.

@ -1,8 +1,8 @@
/* /*
* Created on Wed Aug 19 2020 * Created on Wed Aug 19 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.

@ -1,8 +1,8 @@
/* /*
* Created on Wed Aug 19 2020 * Created on Wed Aug 19 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.

@ -1,8 +1,8 @@
/* /*
* Created on Thu Sep 24 2020 * Created on Thu Sep 24 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.

@ -1,8 +1,8 @@
/* /*
* Created on Fri Aug 14 2020 * Created on Fri Aug 14 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.

@ -1,8 +1,8 @@
/* /*
* Created on Mon Aug 31 2020 * Created on Mon Aug 31 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.

@ -1,8 +1,8 @@
/* /*
* Created on Sun Sep 27 2020 * Created on Sun Sep 27 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.

@ -1,8 +1,8 @@
/* /*
* Created on Thu Aug 27 2020 * Created on Thu Aug 27 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.

@ -1,8 +1,8 @@
/* /*
* Created on Wed Aug 19 2020 * Created on Wed Aug 19 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.
@ -25,7 +25,7 @@
*/ */
//! # The Key/Value Engine //! # The Key/Value Engine
//! This is Skybase's K/V engine. It contains utilities to interface with //! This is Skytable's K/V engine. It contains utilities to interface with
//! sdb's K/V store //! sdb's K/V store
pub mod dbsize; pub mod dbsize;

@ -1,8 +1,8 @@
/* /*
* Created on Thu Aug 27 2020 * Created on Thu Aug 27 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.

@ -1,8 +1,8 @@
/* /*
* Created on Thu Aug 27 2020 * Created on Thu Aug 27 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.

@ -1,8 +1,8 @@
/* /*
* Created on Fri Aug 14 2020 * Created on Fri Aug 14 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.

@ -1,8 +1,8 @@
/* /*
* Created on Mon Sep 21 2020 * Created on Mon Sep 21 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.

@ -1,8 +1,8 @@
/* /*
* Created on Mon Aug 17 2020 * Created on Mon Aug 17 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.

@ -1,8 +1,8 @@
/* /*
* Created on Fri Sep 25 2020 * Created on Fri Sep 25 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.

@ -1,8 +1,8 @@
/* /*
* Created on Thu Jul 02 2020 * Created on Thu Jul 02 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.
@ -24,9 +24,9 @@
* *
*/ */
//! # Skybase //! # Skytable
//! //!
//! The `sdb` crate (or the `server` folder) is Skybase's database server and maybe //! The `sdb` crate (or the `server` folder) is Skytable's database server and maybe
//! is the most important part of the project. There are several modules within this crate; see //! is the most important part of the project. There are several modules within this crate; see
//! the modules for their respective documentation. //! the modules for their respective documentation.
@ -59,20 +59,9 @@ use jemallocator::Jemalloc;
static GLOBAL: Jemalloc = Jemalloc; static GLOBAL: Jemalloc = Jemalloc;
/// The version text /// The version text
static MSG: &'static str = "Skybase v0.5.1 | https://github.com/skybasedb/skybase"; static MSG: &'static str = "Skytable v0.5.1 | https://github.com/skytable/skytable\n";
/// The terminal art for `!noart` configurations /// The terminal art for `!noart` configurations
static TEXT: &'static str = " static TEXT: &'static str = "███████ ██  ██ ██  ██ ████████  █████  ██████  ██  ███████ \n████ ██   ██  ██     ██    ██   ██ ██   ██ ██  ██      \n████████████  ████   ██  ███████ ██████  ██  █████  \n██████  ██   ██  ██   ██ ██   ██ ██  ██     \n█████████ ██  ██  ██  ██  ██ ██████  ███████ ███████ \n \n ";
_______ _ _____ ____
|__ __| | | | __ \\ | _ \\
| | ___ _ __ _ __ __ _ | |__ __ _ ___ ___ | | | || |_) |
| | / _ \\| '__|| '__|/ _` || '_ \\ / _` |/ __| / _ \\| | | || _ <
| || __/| | | | | (_| || |_) || (_| |\\__ \\| __/| |__| || |_) |
|_| \\___||_| |_| \\__,_||_.__/ \\__,_||___/ \\___||_____/ |____/
+-++-++-+ +-++-++-++-+ +-++-++-++-++-+ +-++-++-++-++-++-++-++-+
|T||h||e| |n||e||x||t| |N||o||S||Q||L| |d||a||t||a||b||a||s||e|
+-++-++-+ +-++-++-++-+ +-++-++-++-++-+ +-++-++-++-++-++-++-++-+
";
#[tokio::main] #[tokio::main]
async fn main() { async fn main() {
Builder::new() Builder::new()
@ -104,7 +93,7 @@ async fn check_args_and_get_cfg() -> (
let binding_and_cfg = match cfg { let binding_and_cfg = match cfg {
Ok(config::ConfigType::Custom(cfg, file)) => { Ok(config::ConfigType::Custom(cfg, file)) => {
if cfg.is_artful() { if cfg.is_artful() {
println!("{}\n{}", TEXT, MSG); println!("{}\n{}", MSG, TEXT);
} else { } else {
println!("{}", MSG); println!("{}", MSG);
} }
@ -112,7 +101,7 @@ async fn check_args_and_get_cfg() -> (
(cfg.ports, cfg.bgsave, cfg.snapshot, file) (cfg.ports, cfg.bgsave, cfg.snapshot, file)
} }
Ok(config::ConfigType::Def(cfg, file)) => { Ok(config::ConfigType::Def(cfg, file)) => {
println!("{}\n{}", TEXT, MSG); println!("{}\n{}", MSG, TEXT);
log::warn!("No configuration file supplied. Using default settings"); log::warn!("No configuration file supplied. Using default settings");
(cfg.ports, cfg.bgsave, cfg.snapshot, file) (cfg.ports, cfg.bgsave, cfg.snapshot, file)
} }

@ -1,8 +1,8 @@
/* /*
* Created on Thu Jul 30 2020 * Created on Thu Jul 30 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.

@ -1,8 +1,8 @@
/* /*
* Created on Thu Jul 30 2020 * Created on Thu Jul 30 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.

@ -1,8 +1,8 @@
/* /*
* Created on Sat Aug 22 2020 * Created on Sat Aug 22 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.

@ -1,8 +1,8 @@
/* /*
* Created on Fri Dec 18 2020 * Created on Fri Dec 18 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.

@ -1,8 +1,8 @@
/* /*
* Created on Mon Aug 03 2020 * Created on Mon Aug 03 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.

@ -1,8 +1,8 @@
/* /*
* Created on Mon Aug 17 2020 * Created on Mon Aug 17 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.

@ -1,8 +1,8 @@
/* /*
* Created on Thu Sep 10 2020 * Created on Thu Sep 10 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.

@ -1,8 +1,8 @@
/* /*
* Created on Tue Aug 25 2020 * Created on Tue Aug 25 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.

@ -1,7 +1,7 @@
# #
# Created on Tue Nov 03 2020 # Created on Tue Nov 03 2020
# #
# This file is a part of Skybase # This file is a part of Skytable
# Copyright (c) 2020, Sayan Nandan <ohsayan@outlook.com> # Copyright (c) 2020, Sayan Nandan <ohsayan@outlook.com>
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
@ -19,12 +19,12 @@
# #
# #
name: Skybase Benchmark Tool name: Skytable Benchmark Tool
version: 0.5.1 version: 0.5.1
author: Sayan N. <ohsayan@outlook.com> author: Sayan N. <ohsayan@outlook.com>
about: | about: |
The Skybase benchmark tool can be used to benchmark Skybase installations. The Skytable benchmark tool can be used to benchmark Skytable installations.
If you find any issues, then report one here: https://github.com/skybasedb/skybase If you find any issues, then report one here: https://github.com/skytable/skytable
args: args:
- connections: - connections:
short: c short: c

@ -1,8 +1,8 @@
/* /*
* Created on Sun Sep 13 2020 * Created on Sun Sep 13 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.

@ -1,8 +1,8 @@
/* /*
* Created on Sun Sep 13 2020 * Created on Sun Sep 13 2020
* *
* This file is a part of Skybase * This file is a part of Skytable
* Skybase (formerly known as TerrabaseDB) is a free and open-source * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source
* NoSQL database written by Sayan Nandan ("the Author") with the * NoSQL database written by Sayan Nandan ("the Author") with the
* vision to provide flexibility in data modelling without compromising * vision to provide flexibility in data modelling without compromising
* on performance, queryability or scalability. * on performance, queryability or scalability.
@ -24,7 +24,7 @@
* *
*/ */
//! A library containing a collection of custom derives used by Skybase //! A library containing a collection of custom derives used by Skytable
//! //!
//! ## Ghost values //! ## Ghost values
//! We extensively use jargon like 'Ghost values'...but what exactly are they? //! We extensively use jargon like 'Ghost values'...but what exactly are they?

Loading…
Cancel
Save