32

GitHub - fuyunwang/ChengFeng1.5: 基于SpringBoot改造Chengfeng

 5 years ago
source link: https://github.com/fuyunwang/ChengFeng1.5
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

ChengFeng1.5

基于SpringBoot改造Chengfeng

技术包括

  1. SpringBoot 2.1.3
  2. Spring Security+JWT
  3. Spring Boot Cache
  4. Spring Boot Mail
  5. MyBatis+PageHelper
  6. MySQL+Druid
  7. Spring Data Mongodb
  8. Spring Data ElasticSearch
  9. Redis+Codis+Redisson
  10. RabbitMQ
  11. Kafka
  12. Memcached
  13. FastDFS
  14. Quartz
  15. Ehcache
  16. Thymeleaf
  17. Hibernate Validator
  18. Guava+apache commons+jackson+joda time
  19. Swagger
  20. Tomcat+Nginx
  21. CentOS 7

要点

  1. 基于Redisson构建分布式锁

  2. 基于RabbitMQ实现延迟消息投递,提高系统的吞吐量

  3. 数据库层优化

    1. 长sql加入ehcache缓存

    2. 用户认证信息加入memcached缓存

    3. 采用spring cache缓存热点数据

    4. 热点数据预加入Redis(如商品的库存信息),采用Redis预减操作,然后采用定时任务同步缓存及数据库

  4. Kafka收集订单信息,ElasticSearch进行数据分析,产生热卖商品并推荐


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK