Thanks to visit codestin.com
Credit goes to github.com

Skip to content

1 million operations/second ScyllaDB demo

guy9/1m-ops-demo

 
 

Repository files navigation

ScyllaDB 1 million operations/second DEMOs

This repository contains Terraform and Ansible based projects to help you set up DEMOs and POCs with ScyllaDB in a cloud environment.

Currently supported DEMOs:

Prerequisites

Usage

  1. Clone the repository

    git clone https://github.com/scylladb/1m-ops-demo.git
    
  2. Install DEMO UI application dependencies

    Make sure you are in the root folder of the project.

    Install backend dependencies (virtual environment is recommended):

    virtualenv env && source env/bin/activate && pip install -r requirements.txt

    Install frontend dependencies (use npm or yarn):

    cd frontend
    npm install
  3. Edit config.js to set Terraform variables:

    {
        "aws_creds_file": "/home/user/.aws/credentials",
        "aws_creds_profile": "DeveloperAccessRole",
        "ssh_private_key": "/home/user/key.pem",
        "aws_key_pair": "key-par",
        "region": "us-east-1",
        "scylla_cloud_token": "API-TOKEN"
    }
    
  4. Run DEMO UI application

    Start backend

    python app.py

    Start frontend

    cd frontend
    npm run dev 
  5. Open DEMO UI application

    Go to http://localhost:5173

  6. Select a demo you want to try (this will run terraform init under the hood) demo ui

  7. (Optional) Configure cluster size and workload settings on the left side demo ui workload

  8. Hit APPLY (this runs terraform apply)

  9. Keep an eye on the console output to see when Terraform finishes

  10. Click on the different dashboard tabs to monitor the cluster.

  11. If you are done, don't forget to run DESTROY to remove infrastructure elements and avoid unnecessary costs.

Relevant links

About

1 million operations/second ScyllaDB demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 49.4%
  • TypeScript 28.3%
  • SCSS 9.0%
  • Python 7.9%
  • Shell 3.7%
  • JavaScript 0.9%
  • Other 0.8%