趁着这两天闲,又整理了Spring Cloud的面试题,八股文还是要背啦!不多不少,一共62道题,全是干货,可以帮助你理解,加深印象!
1、什么是微服务?
The microservice architectural style is an approach to developing a single application as a suite of small services, each running in its own process and communicating with lightweight mechanisms, often an HTTP resource API. These services are built around business capabilities and independently deployable by fully automated deployment machinery. There is a bare minimum of centralized management of these services , which may be written in different programming languages and use different data storage technologies.首先微服务并没有一个官方的定义,想要直接描述微服务比较困难,我们可以通过对比传统WEB应用,来理解什么是微服务。
1、传统的web项目VS微服务
1、传统的Web项目