Tianqiong: Introduction to the one-stop BizDevOps platform

Let me advertise first. Tianqiong has been open sourced: https://github.com/XiaoMi/mone . Friends who are interested in cloud native technology/R&D efficiency are welcome to join (Fork, Star) us. You can also follow our WeChat public account: Tianqiong Cloud Native

What is the sky?

Tianqiong is a one-stop BizDevOps platform open sourced by Xiaomi-China-R&D Performance Team. After 5 years of iteration, it has been tested within Xiaomi (Youpin, Xiaomi.com, etc.), improving business R&D efficiency by 30%+, and at the same time helping the business complete a major upgrade of the microservice architecture: single application -> microservice->container -> mesh/serverless. Tianqiong's core capabilities include: application management, CI/CD, MSF middleware, API interface management, domain name governance, service governance, gateway, application observability system, scheduling system, stress testing platform, FaaS platform, etc.

How does Tianqiong improve business efficiency?

Tianqiong's R&D efficiency has two core lines: 1. Continuously promote the technological evolution of microservice architecture: single application -> microservice -> containerization -> application observability -> mesh/serverless -> AI; 2. flow Efficiency is the core to improve the team's continuous delivery capabilities: requirements->application creation->development->deployment->service governance->L4/L7 access->application observation. For each node of these two main lines, we provide a wealth of solutions to make business development as smooth as silk, while also allowing the business's microservice architecture to continuously upgrade and evolve.

  • Tianqiong’s full-process research and development improves efficiency

  • Tianqiong’s one-stop BizDevOps practice

  • Tianqiong product architecture

Introduction to Tianqiong’s core capabilities

Application management

Applications are first-class citizens of the Tianqiong platform. We provide application creation, permissions, application scaffolding (Spring, DDD, Serverless and other application templates), code generation and other related functions.

MiLine assembly line

「流水线」,又名「Flow」,是「天穹」产品矩阵中一款企业级、自动化的研发交付流水线, 提供灵活易用的持续集成、持续验证、 持续发布功能,帮助企业高质量、高效率的交付业务。MiLine默认为用户屏蔽了底层容器化的差异,底层已支持Docker、K8s、以及云厂商提供的容器化方案ACK等。

Hera应用可观测平台

Hera是一款自研的云原生应用可观测平台,为应用服务提供极致的1-5(1分钟发现,5分钟定位)体验,是市面上极具商业竞争力的开源产品:

  • 高效:极致的tracing、logging、metrcis联动体验(指标联动trace、trace关联日志,日志关联trace)

  • 低成本:10%的存储,满足99%trace需求

  • 无侵入

  • 简单:一键接入自动提供100+指标(物理机、容器、JVM、基于tracing提取的request scope指标等)

  • 遵循云原生标准(opentelemetry、grafana等)

MiApi接口平台

MiApi是市面上第一款集成了多类型RPC(HTTP、Dubbo、gRPC)接口自动化管理、自动化文档生成、接口测试、Mock、团队文档等功能模块的接口平台。

Tesla网关

Tesla是由小米效能团队自研的一款高性能、易扩展的网关平台,是小米效能团队结合小米多年大促经验沉淀而成,目前已经经历过十余次小米大促的考验,并在其中承担了流量治理的核心角色,是小米业务链中不可或缺的一环。

说到基于Java的API网关,可能很多人第一反应就是SpringCloud Gateway或者Zuul,但是Tesla网关无论在易用性、扩展性和性能方面都有非常明显的优势:

  • 易用性:Tesla拥有可视化操作界面,同时支持配置实时更新,实时生效,极大简化学习使用成本,优化操作体验。

  • 扩展性:支持自定义Filter和Plugin两种扩展(热加载,实时生效)模式;同时网关本身也支持Mesh化,Sidecar模式为Tesla提供了强大的扩展性及隔离支持。

  • 高性能:自身基于Netty进行开发,在性能上已经拥有非常亮眼的表现。同时全面支持JDK19 的 Virtual Thread,使Tesla网关的性能和资源分配上都得到了较大的提升。

  • 多协议:支持HTTP、Dubbo、gRPC等协议的转发

MiFaaS函数平台

MiFaaS是天穹平台MSF(Mione Service Framework)框架的延伸,是云原生微服务架构发展中的mesh和serverless阶段,是当前最先进的微服务架构。MiFaaS融合了天穹多年业务研发效能的经验,目标是为用户带来极致的开发效率和体验。核心产品能力有:

  • 中间件与业务逻辑解耦

  • mysql、redis、mq、nacos、zk、dubbo、http等都已抽象为资源,只需在mifaas平台进行资源绑定即可使用,业务代码中没有任务中间件的依赖。

  • 秒级生效、弹性扩缩

  • 拖拽方式1秒内生效,编码方式目前10秒左右(未来会优化到秒级)。

  • 基于指标的弹性扩缩配置,资源极致利用。

  • 热更新

  • 编码方式,支持热更新,实时生效

  • 事件协议与业务逻辑解耦

  • 业务只需聚焦逻辑实现,无需关心逻辑触发协议,MiFaas默认支持Http、Dubbo、Grpc等

  • 协议触发。

  • 自动化研发流程

  • 自动创建函数脚手架、idea插件一键打开项目、一键部署生效、自动扩缩容、自动集成微服务治理平台及可观测性平台。

为什么做天穹平台

研发效能的价值

研发效能面临的痛点及新挑战

关于开源

天穹平台整体陆续开源中,限于时间和精力的原因,2023年重点开源的项目是Hera应用可观测平台、Tesla网关、Api管理平台。如果有对天穹平台其它组件感兴趣的同学,可以留言或私信。我们期待和社区一起共建一套云原生下最好用的研发效能平台。

天穹系列文章汇总

Guess you like

Origin blog.csdn.net/shanwenbang/article/details/128806796