related blog post: https://vulcansql.com/blog/powering-rapid-data-apps-with-vulcansql
- Install VulcanSQL from NPM
- get your gcp credential json file and update the
profile.yaml
file npm install
in the root of project directoryvulcan serve
, then your Data API will be served inlocalhost:3000
/daily_revenue
: get the daily revenue in a range period
- open another terminal and run
k6 run --duration 30s --vus=10 --summary-trend-stats="med,p(95),p(99.9)" script.js
- --vus = add n virtual users
- --duration = how many time the loading test will run