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

Confusing statement in part 5 #58

Open
corneliusroemer opened this issue Jul 16, 2023 · 0 comments
Open

Confusing statement in part 5 #58

corneliusroemer opened this issue Jul 16, 2023 · 0 comments

Comments

@corneliusroemer
Copy link

I love the tutorial, but this doesn't make sense to me at all:

layering a ton of images into one massive image that spins up into a multi-functional container is not efficient. The great thing about containers is that it tricks the computer into using it's un-utilized processing power to run many more containers at the same time than it would if they were regular pieces of software, thus getting more 'bang for your buck' out of the host machine (so-to-speak). Having your entire app's functionality in one container wastes all that precious processing power Docker could have been squeezing out of the host if you otherwise separated your app into discrete, containerized microservices.

How does splitting up different services into different containers make better use of processing power than if you packed the services into one container? Are there restrictions on multithreading/processing in docker? If so, worth explaining.

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