TarsCloud / 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.
BSD 3-Clause "New" or "Revised" License
9.8k stars 2.08k forks source link

Three questions about tar HTTP server. #736

Closed TARS-Question closed 4 years ago

TARS-Question commented 4 years ago

#736

@ tarshttpservice ("httpobj") this is to declare an obj and register it with TAF, right?

Is there a monitoring system for tar HTTP?

How can the tar protocol of tar server be quickly converted to the JSON protocol of HTTP?

TARS-Answer commented 4 years ago
  1. Tarshttpservice is a functional annotation, which indicates that the application can have the capability of HTTP service, and obtain the port from the configuration of servant to listen to the corresponding port to provide services.
  2. The monitoring request of httpservice is not available. It can report the monitoring information by itself.
  3. You can use the gateway directly. Now it is open. You can have a try.
TARS-Answer commented 4 years ago

1、TarsHttpService是一个功能性注解,表示这个应用可以拥有HTTP服务的能力,并从servant的配置中获取端口侦听对应的端口提供服务。 2、httpService的监控请求并没有,可以自己上报监控信息。 3、可以直接用网关,现在已经开放了,可以试一试。

TARS-Question commented 4 years ago

Does this mean tupproxy? Is there a java version gateway?

TARS-Question commented 4 years ago

是指的tupproxy吗,有java版本的网关吗?

TARS-Answer commented 4 years ago

https://github.com/TarsCloud/TarsGateway It can completely replace tupproxy. All gateway forwarding configurations can be configured on the tarsweb platform. Now Java language supports it.

TARS-Answer commented 4 years ago

https://github.com/TarsCloud/TarsGateway 可以全面替换tupProxy,所有网关转发配置,tarsweb平台上都可以配置了,现在java语言都是支持的。