stsievert / salmon

A tool to collect triplet queries
https://docs.stsievert.com/salmon/
BSD 3-Clause "New" or "Revised" License
9 stars 2 forks source link

Users are experiencing long delays on adaptive algorithms #83

Closed stsievert closed 3 years ago

stsievert commented 4 years ago

For example, user "91a9df" waited 15 seconds to respond to query [51, 7, 38] in a round robin adaptive experiment ("v4-color"). The client side timing says the network latency is 0.916 seconds and the response time is 15.4 seconds.

The responses don't continue after that query; presumably, they refreshed the page and started afresh.

stsievert commented 3 years ago

I think #85 closes this. It removes the need to queries to be present in the database. That PR removes a call to Redis that wait for a query to become in the database. Instead if no queries are present in the database, then it returns a random query.