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

Multi microservice #311

Merged
merged 4 commits into from
Dec 6, 2022
Merged

Multi microservice #311

merged 4 commits into from
Dec 6, 2022

Conversation

ryanmelt
Copy link
Member

@ryanmelt ryanmelt commented Dec 6, 2022

2-3x less RAM!
For the demo:
Operator reduced from 2.25GB to 850MB = 2.65X
Overall memory reduced from 2.7GB to 1.3GB = ~2.08X

@ryanmelt ryanmelt requested a review from jmthomas December 6, 2022 00:50
Copy link
Member

@jmthomas jmthomas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't I see any updates to the Demo? Shouldn't it incorporate these changes?

else
# Respawn regular microservice
@changed_microservices[microservice_name] = microservice_config
end
end
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's going on with all the re-parenting logic? How would this play out in a real system?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Part of this change is the ability to break out microservices from the multi_microservice. This allows for scaling and isolation if necessary. There is no way currently to switch between two parents, but there are ways to go from having a parent, to not, and from not, to having a parent.

@ryanmelt ryanmelt merged commit 78bb0e2 into main Dec 6, 2022
@ryanmelt ryanmelt deleted the multi_microservice branch December 6, 2022 05:18
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

Successfully merging this pull request may close these issues.

2 participants