Two-pronged approach of open source projects Kitty-Cloud

project address

https://github.com/yinjihuan/kitty-cloud

background

The project mainly want to do some personal experience to be output via the open source form, does not necessarily help to all people, have interested friends can focus the next study.

The project is divided into three large pieces:

  • Kitty basic framework

Basic framework based on Spring Cloud & Spring Cloud Alibaba package, built-Cat monitoring and other functions, the operational framework of the unified package and version management, fast and easy to build micro-services architecture. Let business developers are more focused on their own business development.

  • Kitty Cloud backend

Use Kitty basic framework to build a micro-service architecture, business direction is to do a technical community. For example, send articles, comments, thumbs and other functions.

  • Kitty Cloud front end (to be developed)

The front has not yet begun, and so do the rear end of the front will start to finish, it should be realized using Vue.

Back-end technology stack

Kitty : Spring Cloud Spring Cloud & Alibaba basic framework, built Cat monitor, Internet companies landing Spring Cloud architecture necessary.

Cloud the Spring : the Spring Micro service family bucket.

Alibaba Cloud the Spring : Micro is committed to providing one-stop solution service development.

The Sentinel : the flow rate as a starting point, the flow rate control, fuse downgrade, a plurality of load protection systems dimension stability protection services.

Nacos : easier to build a dynamic cloud-native application service discovery, configuration management and service management platform.

Dubbo : Dubbo the Apache ™ is a high performance Java RPC framework.

CAT : real-time application monitoring platform based on Java development, providing comprehensive real-time alarm monitoring services for the US Mission comments.

Plus-MyBatis : an enhanced version of MyBatis.

The Data MongoDB Spring : on the client framework Spring MongoDB operation.

JetCache : the Java-based package caching system, to provide a unified API and annotations to simplify the use of cache.

Elasticsearch : elasticsearch is an open source, distributed, RESTful search engine.

Project Module

  • kitty-cloud-common: common module, common tools
  • kitty-cloud-user: User Service
  • kitty-cloud-article: Articles Service
  • kitty-cloud-comment: Comments Service
  • kitty-cloud-gateway: Web Gateway
  • kitty-cloud-search: Search Services
  • kitty-cloud-job: Task Timing
  • In development. . . . . .

Project sub-module division

- kitty-cloud-article
   - kitty-cloud-article-api -- API接口定义,RPC/REST
   - kitty-cloud-article-biz -- 业务逻辑
   - kitty-cloud-article-provider -- API接口实现,RPC/REST暴露服务

Dependencies:

Package divided

- kitty-cloud-article-api
   - fallback -- Feign/Dubbo 熔断回退默认实现
   - request -- 请求参数
   - response -- 响应对象
   - service -- Http/Rpc API接口定义
- kitty-cloud-article-biz
   - bo -- 业务层响应对象
   - convert -- 实体类转换
   - dao -- 数据库操作
   - dataobject -- 数据对象(MySql)
   - document -- 文档对象(MongoDB,ElasticSearch)
   - enums -- 枚举
   - param -- 业务层接收上层的参数
   - manager -- 三方操作管理(RPC/Http/缓存)
       - fallback
	      - dubbo -- dubbo自定义回退逻辑(替换默认回退逻辑)
		  - feign -- feign自定义回退逻辑(替换默认回退逻辑)
   - service -- 业务处理
- kitty-cloud-article-provider
   - convert -- 实体类转换
   - service -- Http/Rpc API接口实现,暴露服务
   - KittyCloudArticleProviderApp.java -- Spring Boot 启动类

Interested can add attention Oh! https://github.com/yinjihuan/kitty-cloud

Guess you like

Origin www.cnblogs.com/yinjihuan/p/12631323.html