notes
How to use AOP in Spring?
- How Spring is switched JDK dynamic proxies and CGLIB of?
- spring.aop.proxy-target-class = true (downward in the second link in the mentioned primary doc)
- @Aspect Life section
- @Before
- @After
- @Around
Redis
- Widely used memory cache
- Common data structure:
- String
- List
- Set
- Hash
- token
- Redis Why fast?
- Based entirely on memory
- Excellent data structure design
- Single thread, avoiding the overhead of context switches
- Event-driven, non-blocking
Browse some of the learning materials
Spring Boot use AOP unified processing Web requests logs
Proxying mechanisms: proxy mechanism (spring doc)
Aspect Oriented Programming with the Spring: using AOP Aspect Oriented Programming (spring doc)