Skip to main content

springboot

· One min read

cache

  • @Cacheable(key = "#id")
  • @CachePut(key = "#user.id")
  • @CacheEvict(key = "#id")

async

springcloud

  • eureka server 服务注册 http://localhost:8761/
  • eureka client 可以起多个
  • call service: Ribbon, Feign(主流,再封装)
  • zipkin 链路追踪
  • config 总线 amqp重载
  • hystrix 熔断器,监控
  • zuul 网关