官术网_书友最值得收藏!

Deployment model

Application servers provide enterprise functionality collocated in a JVM, which can be used by multitenant applications. Those applications can share services, be deployed and undeployed in real time, and communicate with each other in a JVM.

In this book, we will concentrate on Swarm-based microservices, but note that this is a valid architecture model with benefits that should be taken into consideration when choosing the right architectural style for the problems that you are solving.

Components of a monolithic application are located in the same JVM, and they can communicate directly within its boundaries. In such an application, you don't have to think about a number of problems inherent to distributed systems. If you decide to distribute your application, you will have to take care of network failures, service discovery, monitoring service availability, and dealing with their failures, just to name a few problems. Also, in a monolithic application, you can use out-of-the-box technologies, such as transactions or security, that have been thoroughly tested and have proven to work well.

主站蜘蛛池模板: 尚义县| 林西县| 舒兰市| 台江县| 太谷县| 连城县| 湾仔区| 贵德县| 拜城县| 麦盖提县| 尤溪县| 崇州市| 夏邑县| 秭归县| 深州市| 轮台县| 理塘县| 阿拉善右旗| 兴文县| 屯昌县| 冕宁县| 蕲春县| 盐池县| 乡宁县| 准格尔旗| 屯门区| 昌乐县| 克什克腾旗| 望江县| 五寨县| 方山县| 柘荣县| 错那县| 和田县| 凤翔县| 翼城县| 阿荣旗| 营口市| 溆浦县| 平定县| 剑河县|