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

From monolith to micro-service model #875

Closed
nrybowski opened this issue Oct 5, 2022 · 0 comments · Fixed by #882
Closed

From monolith to micro-service model #875

nrybowski opened this issue Oct 5, 2022 · 0 comments · Fixed by #882

Comments

@nrybowski
Copy link
Member

Is your feature request related to a problem? Please describe.
INGInious is currently implemented and deployed as a monolith while it is designed as a distributed infrastructure.
The installation of the different components may be difficult on some platforms due to variations in packaged version of required libraries. See e.g. #873.

Describe the solution you'd like
INGInious should be packaged, distributed and deployed as a set of micro-service because:

  • It solves dependencies issues, e.g. MongoDB is not packaged in the official Ubuntu repos. We rather pull the latest container image.
  • It allows easier deployment with tools such as docker-compose or Terraform.
  • It allows easier scaling by duplicating given services according to the load requirements.

Additional context
A special attention should be payed to Agents (e.g. the Docker Agent) requiring access to a docker daemon. Solutions as the daemonless OCI platform Podman could be envisioned to avoid leaking docker sockets within the Agent containers. That would require a small interface to talk with its REST API.

@nrybowski nrybowski self-assigned this Oct 6, 2022
@nrybowski nrybowski mentioned this issue Oct 21, 2022
11 tasks
@nrybowski nrybowski linked a pull request Jan 11, 2023 that will close this issue
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant