当前位置:网站首页>Bladex - a well-designed microservice architecture
Bladex - a well-designed microservice architecture
2022-07-19 02:41:00 【Do you eat oil cake】
preface
brief introduction :
BladeX It is upgraded and optimized by a commercial project SpringCloud Microservice architecture , use Java8 API Refactored business code , EndAll follow Alibaba coding specifications . use Spring Boot 2 、Spring Cloud Greenwich 、Mybatis And so on , Simultaneous mentionBased on React and Vue The two front-end frameworks are used to quickly build enterprise level SaaS Microservice system platform .
Official website address :https://bladex.vipTechnology community :https://sns.bladex.vipCode private library :https://git.bladex.vip
Saber- be based on Vue:https://saber.bladex.vipSword- be based on React:https://sword.bladex.vipArcher- Universal code generation system :https://archer.bladex.vip
1、 What is the BladeX
- BladeX It's based on Spring Boot 2 & Spring Cloud Greenwich & Mybatis And so on , For rapid construction
- The basic framework of large-scale system .
- It has been in stable production for nearly a year , Experienced from Camden->Greenwich Technical framework , Also experienced from FatJar->Docker-
- >K8S+Jenkins Deployment architecture of .
- Adopt the mode of front and back end separation , There are two frameworks for front-end development :Sword( be based on React、Ant Design)、Saber( be based on Vue、
- ElementUI).
- Back end adoption SpringCloud series , The basic components are highly encapsulated , A separate back-end core framework :BladeX-Tool.
- BladeX-Tool Has been pushed to Maven Private libraries , Directly introduce and reduce the modules and dependencies of the project , But pay more attention to business development .
- Integrate Sentinel Slave flow control 、 Fusing the drop 、 Multiple dimensions such as system load protection protect the stability of services .
- Registry Center 、 Configuration center selection Nacos, While slimming down for the project, the linkage between various modules is strengthened .
- Encapsulation integrates annotation based +Web Visual data permissions , Flexible configuration , Take effect directly without restarting .
- Customized based on Nacos Lightweight of 、 Highly scalable dynamic gateway , Perfect support for multi team development .
- Well designed and integrated minio, It perfectly supports oss Object storage requirements .
- Traefik Reverse proxy , Monitor background changes and automatically apply new configuration files .
- Integrate Oauth2 agreement , Perfect support for multi terminal access and authentication authorization .
- Project subcontracting is clear , Standardize the development mode of microservices .
2 、 why BladeX
- Experienced long online production , Accumulated solutions for many enterprise pain points .
- A set of code compatible MySql、Oracle、PostgreSQL, Adapt to the needs of different scenarios of the enterprise .
- It integrates what many enterprises urgently need, such as multi tenancy 、Oauth2 Authorized certification 、 workflow 、 Distributed transactions and so on .
- Integrate the latest version ELK, Beautiful interface , Powerful . At the same time, the log module is deeply customized , Support distributed log tracking function .
- Deeply customized Flowable workflow , Perfect support SpringCloud Distributed service scenario , Operate as a remote call .
- Upgraded the core driver , The new features can be used out of the box , The open source version needs to spend more time on integration , It takes more time to become
- Ben .
- Embrace the era of micro Services , Many enterprises due to project transformation or upgrading , Traditional technology can no longer meet , It will cost more , and BladeX
- It is for this reason that .
- At the same time provide SpringCloud Version and SpringBoot edition , Two versions of api It can be done with Sword and Saber Seamless docking , For small projects
- To escort large projects
3、 System architecture

- be based on SpringBoot2、SpringCloud Greenwich、Mybatis Build the core architecture
- use Oauth2 The agreement is unified Token Issuance and authentication , Ensure system security
- Use Gateway Carry out unified forwarding of the gateway , The production environment adopts Traefik agent
- Microservices are uniformly registered to Nacos,Nacos Play the role of registry and configuration center
- use Feign Make a remote call ,Ribbon Load ,Hystrix Fuse
- use Sentinel Carry out current limiting , Ensure the overall performance of the system
- Integrate Seata, Escort distributed transactions
- It has the ability of integrating log collection and monitoring services
- Support FatJar、Docker、K8s、 Alibaba cloud and other Deployers
4 、 Core functions




BladeX List of core functions
Serial number | The main features | Characterization |
| 1、 | Fore and aft end separation | The front and rear end separation mode is adopted , front The end provides two sets of architectures ,Sword be based on React,Saber be based on Vue |
| 2、 | Distributed monomer back-end architecture | Provide two sets of back-end architecture , be based on SpringCloud Distributed rack of Structure and based on SpringBoot Single architecture of |
| 3、 | API Fully compatible with | Two back-end architectures and two front-end framework , A total of four sets of architectures can be used Italian combination , all API Fully compatible with |
| 4、 | Front and back code generation | Customization is for two sets of front-end and back-end Code generation template , Easily generate the front and back code of the whole module , Reduce duplication of effort |
| 5、 | Componentization 、 Plug in Architecture | Customize each function in depth starter Introduce out of the box , Improve the efficiency of decoupling the whole architecture |
| 6、 | Greenwich | SpringCloud Upgrade the overall version to Greenwich |
| 7、 | Nacos | Integrate Alibaba Nacos Complete unified service registration and configuration |
| 8、 | Sentinel | Integrate Sentinel Slave flow control 、 Fusing the drop 、 System load And other dimensions to protect the stability of services |
| 9、 | Dubbo | Perfect integration Dubbo The latest version , Supports remote RPC call |
| 10、 | Multi tenant system | complete SaaS Multi tenant Architecture |
| 11、 | Oauth2 | Integrate Oauth2 agreement , Perfect support for multi terminal access and authentication authorization |
| 12、 | workflow | The depth of the custom SpringCloud Distributed scenario Flowable workflow , Escort complex processes . At the same time provide SpringBoot Integrated version |
| 13、 | Independent process designer | Provide independent and completely Chinese process designer , Easily customize the process model |
| 14、 | Dynamic gateway | Integration is based on Nacos Lightweight of 、 High scalability dynamic gateway |
| 15、 | Dynamically aggregate documents | Implementation is based on Nacos Of Swagger SpringCloud Aggregate documents |
| 16、 | Distributed file service | Integrate minio And other excellent third parties , Provide convenient file upload and management |
| 17、 | Multi tenant object storage system | stay SaaS In the system , Each tenant can upload its own configuration file to its own private OSS |
| 18、 | Rights management | Carefully designed permission management scheme , Role permissions are accurate to buttons |
| 19、 | Dynamic interface permissions | Highly flexible dynamic interface rights limit , Provide comments +Web Visualize two configurations ,Web The configuration takes effect directly without restart |
| 20、 | Multi tenant top menu configuration | Provide each tenant with an independent top menu configuration module , You can customize the top menu switch |
| 21、 | Dynamic data permissions | Highly flexible dynamic data permissions , Provide comments +Web Visualize two configurations ,Web The configuration takes effect directly without restart |
| 22、 | Compatible with mainstream databases | A set of code is completely compatible Mysql、Postgresql、 Oracle Three mainstream databases |
| 23、 | Dynamic gateway authentication | be based on Nacos Dynamic gateway authentication , It can be configured online , In real time |
| 24、 | Versatile code generator | Support custom models 、 Template 、 Business modeling , Support multiple template engines , Online configuration . Greatly improve development efficiency , Stop worrying about repetitive work . |
| 25、 | Seata Distributed transactions | Custom integration Seata, Support distributed transactions , No code intrusion , Be flexible and concise |
| 26、 | Turbine Cluster monitoring | Integrate Turbine Cluster monitoring , Convenient view hystrix In real time |
| 27、 | Zipkin Link tracking | Integrate Zipkin Distributed Link Tracking , Quickly find the call chain of each request |
| 28、 | Distributed log module | Integrate 7.x edition ELK, Support distributed log tracking function |
| 29、 | Nail monitoring alarm | Enhanced monitoring , The upper and lower limits of microservice are integrated with nail alarms |
| 30、 | Distributed task scheduling | Minimalist Integration xxl-job, Support distributed task scheduling |
| 31、 | Message queue | Rabbit、SpringCloudStream Wait for message queue |
| 32、 | Distributed lock | be based on Redisson Encapsulated high performance 、 Easy to use distributed lock plug-in |
| 33、 | More functions are coming | BladeX Ongoing development , Coming soon |
边栏推荐
- 如果猎人用枪打兔子
- 理解 继承、多态、抽象以及它们的概念
- Bugku problem solution
- Uniapp wechat applet login (authorize wechat first and then mobile phone number) - (1)
- Chapter 1 - multi agent system
- Jmeter beanshell实现把请求生成的参数化数据写入文件
- Understand inheritance, polymorphism, abstraction and their concepts
- rsync远程同步(增量备份)
- Nmon使用方法
- Gzip的动态压缩和静态压缩详解
猜你喜欢
随机推荐
子网划分(详)
next数组-循环节
Decentralized edge rendering meta universe protocol cadeus was invited to attend the cbaia 2022 summit to enable more Web3 application scenarios with technology
ctfhub--ssrf
登录功能的测试点大全
初识阿里云环境搭建:无法远程连接,入过的坑:服务器ping不通,FTP搭建,服务器搭建数据库,远程连接服务器数据库
Metersphere is based on JMeter distributed performance pressure testing platform
剑指 Offer 53 - I. 在排序数组中查找数字 I
After unity imports the FBX model, the rotation and position of the object will change automatically at runtime
How to configure multiple SSH keys for novices (easy to understand hand-in-hand teaching)
网络层传输协议(详解)
【已解决】参考了本地mysql忘记密码后, [Server] --initialize specified but the data directory has files in it. Aborti
Logical vulnerability - authentication vulnerability
Test points of login function
Zabbix6.0监控vCenter7.0
Bugku problem solution
性能测试实施规范指南
性能瓶颈定位XMind
[Ruiji takeout ⑩] rough learning of Linux & rough learning of redis
Dirty reading, unreal reading, non repeatable reading









