Technology Stack Selection

随行付统一门户现状

配置中心

应用配置->添加应用->配置文件(dev/prod)

注册中心

注册中心->应用列表->实例列表->注册日志

中台网关

中台网关->服务实例-> API ->外部应用

JHipster Full Stack

前端框架技术栈

Single Web page application:

  • Responsive Web Design with Twitter Bootstrap

  • Compatible with modern browsers (Chrome, FireFox, Microsoft Edge…)

  • Full internationalization support

  • Optional Sass support for CSS design

  • Optional WebSocket support with Spring Websocket

With the great development workflow:

  • Easy installation of new JavaScript libraries with NPM

  • Build, optimization and live reload with Webpack

  • Testing with Jest and Protractor

And what if a single Web page application isn’t enough for your needs?

  • Support for the Thymeleaf template engine, to generate Web pages on the server side

服务端技术栈

A complete Spring application:

微服务架构技术站

Microservices are optional, and fully supported:

服务准备投入生产

  • Monitoring with Metrics and the ELK Stack

  • Caching with suixingpay-starter-cache for redis, ehcache (local cache), hazelcast or Infinispan

  • Optimized static resources (gzip filter, HTTP cache headers)

  • Log management with Logback, configurable at runtime

  • Connection pooling with HikariCP for optimum performance

  • Builds a standard WAR file or an executable JAR file

  • Full Docker and Docker Compose support

  • Support for all major cloud providers: Kubernetes, 混合云,Istio,AWS, Docker…

可借鉴项

架构优点

  • Gateway

  • UAA 用户认证授权中心 (base on Gateway)

  • 技术架构选型 for docker

    • Traefik

    • Consul

  • JHipster console (EKL) 与 吉才 的方案比较

标准优势

  • Codegen

  • 统一配置文件

    • dockerfile

    • default shell 运营脚本

    • 应用Profile 配置文件

  • common ports 统一端口管理

  • 前后端分离

  • 国际化

  • Swagger 接口归集

  • Code Quality Check

  • CI CD

  • Monitoring

    • 日志监控 基于 ELK

    • Metrics for Prometheus

  • Deploy Cloud

框架优点

  • Liquibase Database updates version

  • Metrics for prometheus

  • Gatling 性能测试用例

DevOps优点

  • for Docker

  • for Kubernetes

  • for Rancher

CI/CD Options

  • Jenkins

  • Sonar

  • checkstyle

Codegen

  • JHipster codegen

    • create a application

  • JHipster Domain Language(JDL)

  • 思路

总结

结合目前情况,综合分析能够拿来参考项:

  • Swagger 接口归集 ( + mock + 反馈评价)

  • Metrics for Prometheus

  • ELK 日志分析

  • deploy cloud

Last updated

Was this helpful?