Question

In: Computer Science

3. When a VM image is deployed to VMs, the image may contain only one single...

3. When a VM image is deployed to VMs, the image may contain only one single service or multiple services via the lightweight container technology (i.e., one service per container and multiple containers per VM). These two options for packaging services are illustrated in Figure 6.6 on p.112. Discuss advantage and disadvantage of these two packaging options.

Solutions

Expert Solution

An advantage of one service per virtual machine is that when only one service is used for a virtual machine, then a virtual machine image is created when a change is committed in its service. When there are two services per virtual machine, then that image must be rebaked whenever the first or second service is changed. This is a disadvantage of multiple services.

Now suppose we have two services. One service sends a message to the second service. If both are in the same virtual machine, then the message doesn't have to leave the virtual machine to deliver to the other service. But if both service 1 and service 2 are not in the same virtual machine, then more communication and handling will have to be involved. This is a disadvantage of one service per virtual machine. Another advantage of multiple services per virtual machine is that allowing multiple services into the same virtual machine will allow for deployment race conditions.


Related Solutions

You observe the content of 2 email messages. An email may contain an image with probability...
You observe the content of 2 email messages. An email may contain an image with probability 0.35. An image is equally likely to be 3 MB or 6 MB. Assume that an email without an image is 1 MB. a) Determine the probability mass function of X (the total size of all emails observed) b) What is the expected value of the total size of all emails? c) What is the standard deviation of the total size of all emails.
2. There may be only one or there may be more than one correct response to...
2. There may be only one or there may be more than one correct response to this question. You need only mark any one of the possible correct responses to be marked correct. A - Touch the top of the electroscope with your finger B - Remove your finger from the top of the electroscope C - Touch the top of the electroscope with a glass rod that was just previously rubbed by silk D - Touch the top of...
1) Only a single main class is required 2) The main class must contain a static...
1) Only a single main class is required 2) The main class must contain a static method called "getInputWord" that prompts a user to input a word from the keyboard and returns that word as a String. This method must use "JOptionPane.showInputDialog" to get the input from the user (you can find info about JOptionPane in JavaDocs) 3) The main class must contain a static method called "palindromeCheck" that takes a String as an input argument and returns a boolean...
How does the image of the "economy" as the "household" affect the way one may think...
How does the image of the "economy" as the "household" affect the way one may think about today's economics? What connotations does the word "household" have that the word "economy" does not have?
Q 3. The following data relate to two investment projects, only one of which may be...
Q 3. The following data relate to two investment projects, only one of which may be selected                                                                                                             Project A             project B                                                                                                                   ₵                           ₵ Initial capital expenditure                                                                   50,000                     50,000 Profits: year        1                                                                             25,000                     10,000                            2                                                                             20,000                     10,000                           3                                                                              15,000                     14,000                           4                                                                              10,000                      26,000 Estimated resale value at end of year 4                                            10,000                      10,000 Note Profit is calculated after deducting straight – line depreciation. The cost of capital is 10 per cent Required Calculate for each...
Let a bowl contain 15 chips of the same size and shape. Only one of those...
Let a bowl contain 15 chips of the same size and shape. Only one of those chips is red. Continue to draw chips from the bowl, one at a time at random and without replacement, until the red chip is drawn. Show your work. a) Find the probability mass function of X, the number of trials needed to draw the red chip. b) Compute the mean and variance of X. c) Determine P(X <= 10).
When two lenses are used in combination, the first one forms an image that then serves...
When two lenses are used in combination, the first one forms an image that then serves as the object for the second lens. The magnification of the combination is the ratio of the height of the final image to the height of the object. A 1.90 cm -tall object is 56.0 cm to the left of a converging lens of focal length 40.0 cm . A second converging lens, this one having a focal length of 60.0 cm , is...
When two lenses are used in combination, the first one forms an image that then serves...
When two lenses are used in combination, the first one forms an image that then serves as the object for the second lens. The magnification of the combination is the ratio of the height of the final image to the height of the object. A 1.80 cm -tall object is 51.0 cm to the left of a converging lens of focal length 40.0 cm . A second converging lens, this one having a focal length of 60.0 cm , is...
Now days foods that we consume may contain genetically modified organisms, or GMOs. One of the...
Now days foods that we consume may contain genetically modified organisms, or GMOs. One of the plant sources which is regularly modified is corn and products that are derived from corn, like high fructose corn syrup. What other foods do you know or can you find through a simple search that may likely be a GMO? How do you feel about eating products that have been genetically modified? There are now packaging on products that are non-GMO. Would this persuade...
Any given viewpoint may contain concepts from one or more layers of the ArchiMate language. If...
Any given viewpoint may contain concepts from one or more layers of the ArchiMate language. If this content is regarded as the scope of a viewpoint, discuss a reasonable categorization scheme for a basic set of viewpoints that addresses stakeholders’ concerns. Give an example of a viewpoint per category in terms of a Name for the viewpoint, its perspective and it scope. (20)
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT