高并发系统设计
笔记内容主要来源于极客时间的《高并发系统设计40问》,有改动。 高并发系统设计三大目标 高性能 高可用 易扩展 高性能 性能优化要以问题为导向,在合适的度量指标的参考下,持续地做性能优化。 常用的性能度量指标就是响应时间,相比平均响应时间和最大响应时间,分位响应时间是更合理的选择。90分位响应时间表示百分之90的请求在这个响应时间之内。 一般的,一个优秀系统的响应时间...
笔记内容主要来源于极客时间的《高并发系统设计40问》,有改动。 高并发系统设计三大目标 高性能 高可用 易扩展 高性能 性能优化要以问题为导向,在合适的度量指标的参考下,持续地做性能优化。 常用的性能度量指标就是响应时间,相比平均响应时间和最大响应时间,分位响应时间是更合理的选择。90分位响应时间表示百分之90的请求在这个响应时间之内。 一般的,一个优秀系统的响应时间...
What is microservice? Microservice is small, independent applications that work together to provide the functionality of a compelte application. It is a way of factoring an application into small-s...
What is Spring Integration? Spring Integration is a ready-to-use implementation of many of the integration patterns that are catalogued in Enterprise Integration Patterns. Each pattern is implement...
Asynchronous Messaging asynchronous messaging is a way of indirectly sending messages from one application to another without waiting for a response. asynchronous messaging affords looser coupling...
如何使用Spring Security? spring-boot-starter-security Spring Security的第一步就是把spring-boot-starter-security添加到dependency中,when the application starts, autoconfiguration will detect that Spring Security i...
Spring Data Spring Data主要处理data persistence with a variety of different database types,包含很多子项目,比如: Spring Data JPA: JPA persistence against a relational database Spring Data MongoDB: persisten...
Spring JDBC packages Spring对JDBC的支持由以下几个包通力实现: org.springframework.jdbc.core This contains the foundations of JDBC classes in Spring. It includes the core JDBC class, JdbcTemplate, which si...
Spring Boot applications tend to bring everything they need with them and don’t need to be deployed to some application server. Spring Boot DevTools automatic application restart DevTools会监测代码或配置文...
What is Spring MVC? Spring MVC是一个强大的web framework. Spring MVC can also be used to create REST APIs. controller A controller’s primary job is to handle HTTP requests and either hand a request off ...
The first version of Spring was released in October 2002 and consisted of a small core with an inversion of control (IoC) container that was easy to configure and use. Over the years, Spring has be...