Open-Assistant icon indicating copy to clipboard operation
Open-Assistant copied to clipboard

Add basic redis setup for rate limiting

Open GraemeHarris opened this issue 2 years ago • 1 comments

As per https://github.com/LAION-AI/Open-Assistant/issues/175 redis setup to be used for rate limiting - maybe BE cache down the line.

I have updated the docker compose file to include redis + redis insights. They're quite basic for now with a lot of settings that can be tweaked as per need / feedback.

Ansible changes might need more testing

GraemeHarris avatar Dec 30 '22 23:12 GraemeHarris

also, some merge conflicts

yk avatar Dec 30 '22 23:12 yk

@yk is this ready for merge?

andreaskoepf avatar Jan 01 '23 16:01 andreaskoepf

@GraemeHarris do you intend to add redis (and redis-insights) to Line 7 in the docker-compose.yml such that both redis and redis-insights will be started up for backend-dev purpose?

  backend-dev:
    image: sverrirab/sleep
    depends_on: [db, adminer, redis, redis-insights]

kiritowu avatar Jan 01 '23 16:01 kiritowu