Reusing existing services when adding new features via templates
Hi All. I'd like to add BullMQ to my solution and noticed the template includes Redis. Is there a way to use the instance of redis I already have? Do I just use the template and delete the new Redis and report it to my existing?
Solution:Jump to solution
IIRC redis themselves doesn't even recommended using a single Redis database for everything, and instead recommends multiple deploys.
7 Replies
Project ID:
N/A
is this redis in use by your app?
yes
then you would not want to use it for bullmq
sorry didn't include a project as it's more of a generally question about the platform
I see several templates include their own postgres for example, and it feels strange to have multiple containers running postgres versus one "beefier" one or a cluster
same with redis, it'd be preferable to have a single cluster which can be used with several services
but understand that's currently not how the templates are designed
Solution
IIRC redis themselves doesn't even recommended using a single Redis database for everything, and instead recommends multiple deploys.
appreciate the quick responses. very helpful, thx u