Comments (5)
是有定义同名服务吗?
如果是,这是期望行为。一个service只能有一个来源。两个client同时竞争一个service会导致相互抢占下线。
from rathole.
是相同的服务名称,可否改成如果A已经进行了连接,B再连接的时候报错,并不对A造成下线的影响
from rathole.
可否改成如果A已经进行了连接,B再连接的时候报错,并不对A造成下线的影响
设计成抢占下线的目的,是希望在原来连接的 Client 僵死的时候,新来的 Client 能够将其快速抢占下线,这样有利于可靠性。
你是想做多活或者负载均衡吗?我推荐你设置多个 service 来避免抢占的问题,让多个 service 同时在线,然后在 visitor 访问服务的时候选择其中一个 service 进行连接。
也可以在多个 service 外面套一个 load balancer。一般 load balancer 都有 health check 的能力,这样对于 visitor 来说,即使后面有多个 service, 上线或者下线,都是无感的。
from rathole.
好的,感谢
想问下server端同时最多可以提供多少个服务,有这方面的测试吗?
from rathole.
想问下server端同时最多可以提供多少个服务
内部使用哈希表存储,没有硬编码上限
有这方面的测试吗?
没有这方面的测试,欢迎反馈 :)
from rathole.
Related Issues (20)
- 开个微信群吧 HOT 1
- Allow use of DNS resolution from proxy server HOT 1
- Add to Entware repo
- Is it possible to use websocket for transport and noise for encryption? HOT 2
- 能否支持proxy protocol协议,实现获取real ip HOT 1
- openssl static build HOT 1
- 怎么使用rathole的udp进行通信 HOT 3
- Latest Release: error while loading shared libraries HOT 5
- easy musl support HOT 1
- Windows怎么做客户端?提示不是内部命令 HOT 1
- Connection dies after a while when deploying on fly.io
- On aarch64 architecture. 'tokio-runtime-worker' panicked. The feature 'websocket' is not compiled in this binary. HOT 2
- rathole::server: Failed to deserialize hello: invalid value: integer `66326`, expected variant index 0 <= i < 2 HOT 8
- Server and client dashboard HOT 1
- Data channel commands aren't flushed, so the check to see if the connection is healthy doesn't always work
- Is this still under maintenance? HOT 1
- OS can't spawn a new worker thread HOT 1
- Add armv7 support in docker images
- what the poolsize mean?
- Add support for adjustable multiplexing (MUX) to the tunnel
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rathole.