Hi, I’m facing challenges with shared utilities ac...
# general
f
Hi, I’m facing challenges with shared utilities across multiple Python services that use RabbitMQ and Celery. I’m considering whether to adopt a monorepo or package these utilities into a private library. Any insights or advice would be greatly appreciated. Thanks!
b
Heya, you’re asking in a monorepo-tooling channel, so we’re likely to tell you “monorepo” 😄 Can you explain a bit more about your circumstances? For instance, what sort of artifacts are you building and how are you deploying them? Do you have a private package repository configured already? Do you have a system for doing shared libraries already and finding it is hitting limitations? Are you using pants already? Any additional insight you can provide will help us give you better answers
f
Hi, thanks for the response! I figured the monorepo leaning would be strong here, but I’m trying to weigh all my options. We’re building Python services that communicate over RabbitMQ and rely heavily on Celery for background tasks. Each service, including the Celery workers, is deployed individually to allow for independent scaling based on load. Currently, we don’t have a shared library or private package repository, which makes updates across projects cumbersome. To address this, I’m considering either adopting a monorepo for centralized code reuse or building a private library to deploy and access via pip.