Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to understand the new Node.js and php language versions of the micro-service framework TARS

Shulou Source: shulou.com Published: 2022-06-02 01:54:33 11月14日 Update

Today, I will talk to you about how to understand the new Node.js and php language versions of the micro service framework TARS, which may not be well understood by many people. in order to make you understand better, the editor has summarized the following for you. I hope you can get something according to this article.

New members have been added to the micro-service framework Tars! After C++ and Java, Node.js and php are now supported.

Github: https://github.com/TarsCloud

(click "read the original text" at the end of the article to visit directly)

Characteristic introduction

Tars-nodejs:

RPC: the client part provides functions such as rpc proxy generation, routing and network communication. The server provides functions such as remote service exposure, request dispatch, network communication and so on.

Node-agent: a very powerful tool for adapting nodejs applications to the tars environment.

Monitor: including service monitoring and feature monitoring.

Promise: a promise library based on bluebird implementation.

Notify: report the alarm message of the business or framework to the tars platform.

Log: a winston-based logging component that supports coloring and scrolling logging.

Tars-php:

At present, the client part is implemented, and the tars codec is supported. The tool used to generate php from tars is called actively by RPC. The server part is under construction.

Tars open source

Named after the robot in the movie Interstellar, Tars is a high-performance RPC development framework that supports multiple languages and an integrated service governance platform. Four days after the official open source in early April, the number of Star exceeded 1000, and it was recommended by Tencent Open Source in a month. At present, the number of star has exceeded 2200.

So far, there are more than 140 active users every week, and they can get more than 50 feedback at the same time.

Within the company, Tars has been used on more than 16,000 servers in more than 160 businesses (such as mobile browsers, YingYongBao, Mobile Manager, Mobile QQ, mobile games, etc.).

Outside the company, the company's subsidiaries and colleagues who left the company began to use Tars, and some enterprises began to contact us actively to communicate and cooperate.

After reading the above, do you have any further understanding of how to understand the new Node.js and php language versions of the microservice framework TARS? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Tags: Services frameworks support companies mobile phones languages content logs parts versions initiatives businesses functions tools platforms servers features networks network communications communications Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Huawei Microsoft Docker MariaDB