Giter Site home page Giter Site logo

turiphro / nosqllab Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 0.0 31.67 MB

Ready-to-go NoSQL database examples in Docker Compose

License: Apache License 2.0

Shell 2.07% Ruby 3.45% JavaScript 1.30% Dockerfile 0.49% TSQL 92.69%
hbase psql postgresql riak riak-kv mongodb couchdb neo4j redis docker

nosqllab's Introduction

NoSQL Database lab

This is a collection of ready-to-go experiments with various databases.

Every database is configured as a fully self-contained Hello World directory, including Docker compose configuration, scripts, and data.

The examples include non-trivial features that highlight some of the strengths and peculiarities of the database. The databases are setup in a distributed (multi-host) fashion. The hosts run in a local Docker network, which makes it easy to simulate an actual cluster of hosts on a local machine. When desired, the containers can be reused with more advanced container orchestration tools (e.g., Kubernetes).

Start any database with:

`docker-compose up`

Some databases allow dynamic scaling of the number of nodes (--scale node=N).

Each database provides the following scripts:

  • docker-compose run scripts ./populate.sh: (big'ish) data generation, to have some data
  • docker-compose run scripts ./aggregate.sh: perform some exemplar aggregation on the data

Read the corresponding README's for the database for specific instructions (if any). The scripts run in a separate container and usually include both local database shell commands, and an actual client (in Ruby or JavaScript), connecting to nodes in the cluster.

This database lab was inspired by the "7 Databases in 7 Weeks" book, but might grow in database scope over time. I tried to pin all Docker containers to specific versions; feel free to update or expand the examples where desired!

nosqllab's People

Contributors

turiphro avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.