All Projects → TarsCloud → TarsTup

TarsCloud / TarsTup

Licence: BSD-3-Clause License
Tars tup protocol

Programming Languages

objective c
16641 projects - #2 most used programming language
C#
18002 projects
python
139335 projects - #7 most used programming language
c
50402 projects - #5 most used programming language
C++
36643 projects - #6 most used programming language
PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to TarsTup

Tars
Tars is a high-performance RPC framework based on name service and Tars protocol, also integrated administration platform, and implemented hosting-service via flexible schedule.
Stars: ✭ 9,277 (+18832.65%)
Mutual labels:  microservice, tars, tars-foundation
Tars-Unittest
unit testcase of tars
Stars: ✭ 14 (-71.43%)
Mutual labels:  tars, tars-foundation
TarsDocs en
The documentation of TARS in English
Stars: ✭ 16 (-67.35%)
Mutual labels:  tars, tars-foundation
Tarsgo
Tarsgo is high performance RPC framework in Golang programing language using the tars protocol. Go has become popular for programming with the rise of containerization technology such as docker, k8s, and etcd. Go's goroutine concurrency mechanism means Go is very suitable for large-scale high-concurrency back-end server program development. The Go language has nearly C/C++ performance and near Python productivity. In Tencent, part of the existing C++ development team has gradually turned into Go developers. Tars, a widely used RPC framework, supports C++, Java, NodeJS, and PHP, and now Go. The combination with Go language has become a general trend. Therefore, in the voice of users, we launched Tarsgo, and we have applied to Tencent map application, YingYongbao application, Internet plus and other projects. Learn more about the whole Tars architecture and design at Introduction.
Stars: ✭ 2,931 (+5881.63%)
Mutual labels:  tars, tars-foundation
TarsDocker
Tars Docker images
Stars: ✭ 81 (+65.31%)
Mutual labels:  tars, tars-foundation
demo-vertx-kotlin-rxjava2-kubernetes
Demonstration of Eclipse Vert.x, Kotlin, RxJava2 and Kubernetes
Stars: ✭ 23 (-53.06%)
Mutual labels:  microservice
mu-cl-resources
High-level abstractions for generating generic jsonapi compliant resources configured in Common Lisp.
Stars: ✭ 14 (-71.43%)
Mutual labels:  microservice
rc-coffee-chats
A service that matches community members for chats
Stars: ✭ 16 (-67.35%)
Mutual labels:  microservice
spring-cloud-sidecar-polygot
This project contains samples demonstrating the usage of side car polygot
Stars: ✭ 30 (-38.78%)
Mutual labels:  microservice
EvaEngine.js
A micro service development engine for node.js
Stars: ✭ 31 (-36.73%)
Mutual labels:  microservice
Sandwich-Daemon
Sandwich Daemon is the middle man between discord and your microserviced bot. Handles gateway, state and provides a dashboard.
Stars: ✭ 21 (-57.14%)
Mutual labels:  microservice
microservice-bootstrap
Get started with Microservices using dotnet core
Stars: ✭ 18 (-63.27%)
Mutual labels:  microservice
node-carotte-amqp
An amqplib wrapper for microservices
Stars: ✭ 27 (-44.9%)
Mutual labels:  microservice
ILEastic
Embedded application server for ILE on IBM i
Stars: ✭ 31 (-36.73%)
Mutual labels:  microservice
imageup
🎑 ⬆️ A high speed image manipulation and storage microservice for Google Cloud Platform written in Go
Stars: ✭ 33 (-32.65%)
Mutual labels:  microservice
imgout
On the fly thumbnail generator microservice using Elixir/OTP. (with Heroku Deploy Button)
Stars: ✭ 58 (+18.37%)
Mutual labels:  microservice
alpine-ssh
This repository can be used for development/learning and RnD purpose for alpine-ssh running inside the docker container
Stars: ✭ 17 (-65.31%)
Mutual labels:  microservice
zauberlehrling
Collection of tools and ideas for splitting up big monolithic PHP applications in smaller parts.
Stars: ✭ 28 (-42.86%)
Mutual labels:  microservice
space-cloud
Open source Firebase + Heroku to develop, scale and secure serverless apps on Kubernetes
Stars: ✭ 3,405 (+6848.98%)
Mutual labels:  microservice
api-gateway
Api Gateway for a microservices deployment
Stars: ✭ 31 (-36.73%)
Mutual labels:  microservice

Read in English

关于协议、Tars文件以及翻译工具的说明

TARS编码协议TUP组包协议TARS组包协议三者之间的关系:

  • TARS编码协议是一种数据编解码规则,它将整形、枚举值、字符串、序列、字典、自定义结构体等数据类型按照一定的规则编码到二进制数据流中。对端接收到二进制数据流之后,按照相应的规则反序列化可得到原始数值。

  • TARS编码协议使用一种叫做TAG的整型值(unsigned char)来标识变量,比如某个变量A的TAG值为100(该值由开发者自定义),我们将变量值编码的同时,也将该TAG值编码进去。对端需要读取变量A的数值时,就到数据流中寻找TAG值为100的数据段,找到后按规则读出数据部分即是变量A的数值。

  • TARS编码协议的定位是一套编码规则。tars协议序列化之后的数据不仅可以进行网络传输,同时还可以存储到数据库中。

  • TUP组包协议是TARS编码协议的上层封装,定位为通信协议。它使用变量名作为变量的关键字,编码时,客户端将变量名打包到数据流中;解码时,对端根据变量名寻找对应的数据区,然后根据数据类型对该数据区进行反序列化得到原始数值。

  • TUP组包协议内置一个TARS编码协议的Map类型,该Map的关键字就是变量名,Map的值是将变量的数据值经过TARS编码序列化的二进制数据。

  • TUP组包协议封装的数据包可以直接发送给Tars服务端,而服务端可以直接反序列化得到原始值。

  • TARS组包协议是对RequestPacket(请求结构体)和ResponsePacket(结果结构体)使用TARS编码协议封装的通信协议。结构体包含比如请求序列号、协议类型、RPC参数序列化之后二进制数据等重要信息。

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].