Trying to Understand Scaling

For the same app, does each Docker replica map to a separate physical core automatically?

Does it makes sense to have more than one replica for the same app if I have a 1-core VM?

Thanks.

uhm, what a great question. Please test you application outside docker with multiple instances and share your experience! Hint: whatever you report back will be the answer to your question…

If you are referring to my second question, I agree that more than one instance on a single core does not make sense. It is just that in the Docker examples I have seen, there is no mention of the underlying hardware.

How about my first question?

there is no guaranty for this.