阅读43 返回首页    go 阿里云 go 技术社区[云栖]


spring boot

spring 设置 devtools

  • 1: complier -> automatical
  • 2:ctrl+shift+alt+/ -> registry -> app.running

默认数据源

  • 1: exclude={DataSourceAutoConfiguration.class,DataSourceTransactionManagerAutoConfiguration.class}
  • 2: 多数据源使用 @Primery @Order

使用spring aop模块

  • 1: spring.aop.auto=true
  • 2: spring.aop.proxy-target-class=false

性能测试框架: dropwizard metrics 作为打造APM原型的起点

  • 1: dropwizard提供了几个注解: Timed Gauge Counted Metered ExceptionMetered
  • 2:

spring security

  • 1: security.user.name = xxx security.user.password=xxx
  • 2: 核心是 认证和授权

最后更新:2017-10-25 23:03:25

  上一篇:go  《greenplum 最佳实践》 模式设计 (三)
  下一篇:go  【云周刊】第143期:如何让数据价值最大化?阿里全域大数据系统深度解读