Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mpusher/alloc
mpush allocator demo
https://github.com/mpusher/alloc
Last synced: about 1 month ago
JSON representation
mpush allocator demo
- Host: GitHub
- URL: https://github.com/mpusher/alloc
- Owner: mpusher
- License: apache-2.0
- Created: 2016-05-06T05:15:26.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-08T03:48:18.000Z (about 7 years ago)
- Last Synced: 2023-10-20T21:54:29.749Z (about 1 year ago)
- Language: Java
- Size: 60.5 KB
- Stars: 62
- Watchers: 10
- Forks: 146
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# alloc
mpush allocator demo### 服务用途
> * alloc 是针对client提供的一个轻量级的负载均衡服务
> * 每次客户端在链接MPUSH server之前都要调用下该服务
> * 以获取可用的MPUSH server列表,然后按顺序去尝试建立TCP链接,直到链接建立成功### 对外提供的接口定义
> 接口类型 :HTTP
>
> Method : GET
>
> 参数 :无
>
> 返回值格式 : ip:port,ip:port
>
> content-type : text/plain;charset=utf-8### 其他