閱讀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期:如何讓數據價值最大化?阿裏全域大數據係統深度解讀