Skip to content

Commit

Permalink
fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
suziliu committed Jun 14, 2017
1 parent 0804eef commit 378cf2e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Install_faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ make framework-tar这个命令打包的是tars核心基础服务,核心基础

![tars](docs/question_images/registry_web_empty.png)

## 18 发布失败,发现上传tars java的war包大小有问题

检查一下部署web的机器是否安装了unzip



Expand Down
10 changes: 9 additions & 1 deletion docs/tars_cpp_faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,12 @@ CommunicatorPtr c = new Communicator(conf);
> * core文件是在tafnode启动脚本添加ulimite -c unlimited 打开,目前core文件生成在 /user/local/app/tars/app_log下.
11. 主控Registry故障是否会影响业务服务的正常访问?
> * 不会影响业务服务正常访问,框架底层会缓存后端服务的ip列表。
> * 不会影响业务服务正常访问,框架底层会缓存后端服务的ip列表。
12. 通讯器Communicator是如何通过ServerName获取ip:prot的?
> * 1.创建代理,并不会请求主控获取ip列表,而是调用代理的接口时才会触发请求主控ip列表
> * 2.如果obj后面有ip列表信息,相当于直连,这个是不会请求主控registry的
> * 3.如果obj后面没有ip列表信息,相当于是间接方式,会请求主控registry
> * 4.请求主控registry的策略时,如果本地缓存有请求obj的ip列表,用本地缓存的,同时去异步请求一下主控registry获取最新的ip列表
> * 5.请求主控registry的策略时,如果本地缓存没有请求obj的ip列表,业务的请求会先缓存到队列里,同时异步去请求主控获取ip列表,获取到ip列表后,再从队列里把业务的请求拿出来,发送这个请求
> * 6.6.不是每次都刷新,定时刷新的(默认60s),定时刷新的触发是靠业务请求

0 comments on commit 378cf2e

Please sign in to comment.