{"id":20221220,"url":"https://github.com/zseta/tablets-scaling","last_synced_at":"2026-03-19T14:41:27.286Z","repository":{"id":262647335,"uuid":"852862565","full_name":"zseta/tablets-scaling","owner":"zseta","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-18T17:07:38.000Z","size":164,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-13T22:46:27.497Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zseta.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"security-group.tf","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-05T14:59:01.000Z","updated_at":"2024-11-18T17:07:39.000Z","dependencies_parsed_at":"2024-11-13T15:29:09.893Z","dependency_job_id":null,"html_url":"https://github.com/zseta/tablets-scaling","commit_stats":null,"previous_names":["zseta/tablets-scaling"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zseta%2Ftablets-scaling","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zseta%2Ftablets-scaling/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zseta%2Ftablets-scaling/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zseta%2Ftablets-scaling/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zseta","download_url":"https://codeload.github.com/zseta/tablets-scaling/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241661442,"owners_count":19998951,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T06:51:59.025Z","updated_at":"2025-12-01T09:04:38.101Z","avatar_url":"https://github.com/zseta.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ScyllaDB Tablets DEMO\nThis project walks you through the following scenario:\n1. Starting off with 3 ScyllaDB nodes\n1. Spike in the number of requests\n1. Add 3 additional ScyllaDB nodes to handle requests\n1. Request volume goes down\n1. Remove 3 nodes\n\n## Requirements\n* AWS account\n* [Terraform](https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli)\n* [Ansible](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html)\n\n## Usage\n1. Clone the repository\n    ```\n    git clone https://github.com/zseta/tablets-scaling.git\n    ```\n1. Create EC2 instances in AWS (takes 4+ minutes)\n    ```bash\n    terraform init\n    terraform plan\n    terraform apply\n    ```\n1. Open ScyllaDB Monitoring\n    \n    One of the Terraform outputs is the link to Monitoring, similar to this:\n    ```\n    Outputs:\n\n    monitoring_url = \"http://\u003cIP-ADDRESS\u003e:3000\"\n    [...]\n    ```\n    There should be 1 active node and 5 unreachable nodes seen on the dashboard.\n1. CD into the ansible folder to run playbooks\n    ```\n    cd ansible\n    ```\n1. Start up a 3 node cluster\n    ```bash\n    ansible-playbook 1_original_cluster.yml\n    ```\n1. Create schema and restore snapshot (takes 5+ minutes)\n    ```\n    ansible-playbook 2_restore_snapshot.yml\n    ```\n1. Start cql-stress\n    ```\n    ansible-playbook 3_stress.yml\n    ```\n1. Scale out (start up 3 more nodes)\n    ```\n    ansible-playbook 4_scale_out.yml\n    ```\n1. Stop cql-stress\n    ```\n    ansible-playbook 5_stop_stress.yml\n    ```\n1. Scale in (stop 3 nodes)\n    ```\n    ansible-playbook ansible/6_scale_in.yml\n    ```\n1. Stop demo and remove AWS infrastructure\n    ```\n    cd ..\n    terraform destroy\n    ```\n\n## DEMO UI\nYou can also run the DEMO with a user interface. To access the UI, run Terraform as usual then open `index.html` (the link to this file is also an output of TF).\n\n![ui screenshot](./images/ui_screen.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzseta%2Ftablets-scaling","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzseta%2Ftablets-scaling","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzseta%2Ftablets-scaling/lists"}