https://github.com/luan/cf-mysql-proxy-stress-test
https://github.com/luan/cf-mysql-proxy-stress-test
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/luan/cf-mysql-proxy-stress-test
- Owner: luan
- Created: 2016-03-14T22:27:35.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-16T22:37:08.000Z (about 10 years ago)
- Last Synced: 2025-02-01T07:44:12.725Z (over 1 year ago)
- Language: Go
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CF MySQL Proxy Stress Test
## Base
- create database
- create a table
- insert bunch of data in table
## Scenario 1
Dropping the leader when no queries are running
- read stuff from the database
- drop the leader
- check that same stuff is in the database
## Scenario 2
Dropping the leader when READ queries are running
- read stuff from the database
- read stuff from the database (continuously in the background)
- drop the leader
- check that same stuff is in the database
## Scenario 3
Dropping the leader when WRITE queries are running
- read stuff from the database
- insert stuff from the database (continuously in the background)
- drop the leader
- check that same stuff is in the database
- check that new stuff is in the database
## Scenario 4-5
Scenario 2-3 in parallel
## Scenario 6
Scenario 4-5 at the same time
## Cleanup
- drop database