Skip to content

Commit

Permalink
bump to Quepid 8 rc3, testing out 5k queries
Browse files Browse the repository at this point in the history
  • Loading branch information
epugh committed Dec 7, 2024
1 parent d05045d commit bd7c571
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
12 changes: 2 additions & 10 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,15 +167,9 @@ services:
ZOO_4LW_COMMANDS_WHITELIST: mntr,conf,ruok
ZOO_CFG_EXTRA: "metricsProvider.className=org.apache.zookeeper.metrics.prometheus.PrometheusMetricsProvider metricsProvider.httpPort=7000 metricsProvider.exportJvmInfo=true"

redis:
container_name: quepid_redis
image: redis:6.2.7-alpine
ports:
- 6379:6379

quepid:
container_name: quepid
image: o19s/quepid:7.18.0
image: o19s/quepid:8.0.0-rc3
ports:
- 3000:3000
command: "foreman s -f Procfile"
Expand All @@ -184,7 +178,6 @@ services:
- RACK_ENV=production
- RAILS_ENV=production
- DATABASE_URL=mysql2://root:${MYSQL_ROOT_PASSWORD}@mysql:3306/quepid
- REDIS_URL=redis://redis:6379/1
- FORCE_SSL=false
- MAX_THREADS=2
- WEB_CONCURRENCY=2
Expand All @@ -200,12 +193,11 @@ services:
- KEYCLOAK_REALM=chorus
- KEYCLOAK_SITE=http://keycloak:9080
- SIGNUP_ENABLED=true
- QUEPID_CONSIDER_ALL_REQUESTS_LOCAL=true
links:
- mysql
- redis
depends_on:
- mysql
- redis

embeddings:
container_name: embeddings
Expand Down
9 changes: 7 additions & 2 deletions quickstart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -410,8 +410,13 @@ if $offline_lab; then
fi
docker compose run quepid bundle exec thor case:create "Chorus Baseline Relevance" solr ${solr_collection_url} JSONP "id:id, title:title, thumb:img_500x500, name, brand, product_type" "q=#\$query##&useParams=visible_products,querqy_algo" nDCG@10 [email protected]

docker cp ./katas/Broad_Query_Set_rated.csv quepid:/srv/app/Broad_Query_Set_rated.csv
docker exec quepid bundle exec thor ratings:import 1 /srv/app/Broad_Query_Set_rated.csv >> /dev/null
docker cp ./katas/Broad_Query_Set_rated.csv quepid:/rails/Broad_Query_Set_rated.csv

sleep 5
docker compose start quepid

docker exec quepid bundle exec thor ratings:import 1 /rails/Broad_Query_Set_rated.csv #>> /dev/null


fi

Expand Down

0 comments on commit bd7c571

Please sign in to comment.