setup-redis.sh 324 B

1234567891011121314151617181920
  1. #!/bin/bash
  2. # This redis implementation works but there is currently no redis installation
  3. # for the benchmark suite
  4. fw_depends crystal
  5. shards install
  6. crystal build --release --no-debug server-redis.cr
  7. export GC_MARKERS=1
  8. export KEMAL_ENV=production
  9. for i in $(seq 1 $(nproc --all)); do
  10. ./server-redis &
  11. done
  12. wait