Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

Tars

> 数据库
Open source

Tars is a high-performance RPC framework based on name service and Tars protocol, also integrated administration platform, and implemented hosting-service via f

10.1K stars0 likes0 views
WebsiteGitHub

About

Tars is a high-performance RPC framework based on name service and Tars protocol, also integrated administration platform, and implemented hosting-service via f

TARS - A Linux Foundation Project

  • TARS Foundation Official Website
  • TARS Project Official Website
  • WeChat Offical Account: TarsCloud
  • QQ Group: 733605310, 579079160(Full), 669339903(Full)
  • Twitter: @TarsCloud
  • Mailing List
  • Contacts

What is TARS?

TARS is a Linux Foundation project. It is a high-performance RPC framework based on name service and Tars protocol, also integrated administration platform, and implemented hosting-service via flexible schedule.

Tars, aka TAF(Total Application Framework), has been used in Tencent since 2008. It supports C++, Java, Nodejs and PHP for now. This framework offers a set of solution for development, maintenance and testing, which making development, deployment and testing service efficiently. It integrated extensible protocol for encoding/decoding, high-performance RPC communication framework, name service, monitor, statistics and configuration. You can use it to develop your reliable distributed application based on microservice fast, and reach fully efficient service management.

Nowadays it's used by hundreds of bussiness in Tencent, services that developed base on TAF run on 16 thousands of machines.

See the detailed introduction SUMMARY.md.

Supported platforms

For now it supports OS as below:

  • Linux
  • Mac(>=2.1.0 support)
  • Windows (>= Windows 7)

Supported languages

For now it supports following languages:

  • C++
  • Java
  • Nodejs
  • PHP
  • Go

Version Management

Tars is composed of many modules, scattered in many warehouses, and the basic framework version and language version can develop independently. In view of this, from version 2.1.0, the Framework version tag is printed on the tarsframework warehouse, no longer reflected in the tars warehouse

In addition, each component will have its own version. When there is a version dependency specification, each component will have its own version

Installation

  1. If you are new to Tars, please read documentation installation.
  2. First deploy, please read documentation source.
  3. Install by docker, detail information: docker。

Submodule

Directory Features
framework Source code implementation of C++ language framework basic service
cpp C++ language framework rpc source code implementation
java java language framework rpc source code implementation
go go language framework rpc source code implementation
nodejs nodejs language framework rpc source code implementation
php php language framework rpc source code implementation
tup source code implementation of tup group protocol in each language
web manage tars web source implementation

Developer's documentation

See docs.

License

The open-source protocol Tars used is BSD-3-Clause, see LICENSE.md.

Chinese Version

Read Chinese Version

Issues· 48 open

View all issuesOpen on GitHub
  • #902

    [FEATURE] 考虑使用CGroup对起的进程进行资源限制吗

    enhancementUpdated Apr 30, 2025
  • #901

    如何自定义配置服务的jvm内存大小

    Updated Apr 30, 2025
  • #899

    Tars 添加节点失败

    bugUpdated Jan 3, 2024
  • #897

    tars和trpc是什么关系

    Updated Oct 25, 2023
  • #896

    [FEATURE] tarscpp 有计划直接支持mysql8么

    enhancementUpdated Oct 25, 2023
  • #894

    怎么实现服务端回调客户端函数

    Updated Aug 25, 2023
  • #888

    请问啥时候能支持python啊?急求

    enhancementUpdated Aug 25, 2023
  • #892

    上传tars 协议文件时 报 Error: Command failed

    Updated Aug 25, 2023
  • #890

    [BUG] handleNoTarsProtocol错误

    bugUpdated Aug 25, 2023
  • #891

    [FEATURE]mysql能不能用etcd替换 ,方便运维的高可用部署维护?

    enhancementUpdated Aug 25, 2023

> Tags

C++high-availabilityhigh-performancemicroservicerpc-framework

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
Category数据库
PricingOpen source

> Related tools

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库