Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion for client-server architecture improvements in Bespokefit. #367

Open
hmacdope opened this issue Oct 14, 2024 · 0 comments
Open

Comments

@hmacdope
Copy link

Description

Currently bespokefit does its celery worker communication by exposing a redis message broker port to the outside world. This is perfectly fine when operating locally or on HPC.

However this is less ideal when operating on the open internet (e.g when deploying as a webserver). Exposing the database HTTP port is rather insecure.

Instead the communication to the celery workers should be mediated through the gateway whereby workers target a gateway endpoint and then the communication is routed to the celery message broker without exposing the broker itself.

This would require quite a bit of work, but just thought I would write it up for posterity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant