stablediffusiond icon indicating copy to clipboard operation
stablediffusiond copied to clipboard

Remove RabbitMQ from being a hard dependency

Open johndpope opened this issue 3 years ago • 4 comments

there exists a local version of aws sqs - called elascitmq https://github.com/softwaremill/elasticmq

it seems like a better option and would get faster to production version.

johndpope avatar Sep 12 '22 02:09 johndpope

Thanks I'll take a look at this. I have some improvements I'll be pushing later tonight as well.

w4ffl35 avatar Sep 12 '22 03:09 w4ffl35

@johndpope this looks good I'll give it a try.

w4ffl35 avatar Sep 12 '22 06:09 w4ffl35

if you have docker - you can stand this up just running

docker compose up

then just hit this locally using endpoint 0.0.0.0:9324

https://github.com/naokirin/docker_compose_elasticmq/blob/main/docker-compose.yml




version: '3'

services:
  elasticmq:
    image: softwaremill/elasticmq
    ports:
    - "9324:9324"
    - "9325:9325"
    volumes:
    - type: bind
      source: ./custom.conf
      target: /opt/elasticmq.conf


johndpope avatar Sep 12 '22 08:09 johndpope

This is in progress. I likely will not implement the Amazon portion, however I have started working on a branch which allows queues using python SimpleQueue

https://github.com/w4ffl35/stablediffusiond/tree/feature/test-without-rabbitmq

w4ffl35 avatar Sep 18 '22 23:09 w4ffl35