load balancing support #29

开启中
lastlink5 年前创建 · 7 条评论
lastlink 评论于 5 年前

Is there a way to load balance between 2 machines running telebit or to connect them?

Is there a way to load balance between 2 machines running telebit or to connect them?
所有者

Technically, yes. You just copy the same config on both machines.

It's not something that's "supported" yet, but it is a "hidden feature" that already works.

Be careful, it can be trixy and lead to weird things (like half of your requests working and the other half not in-between state changes).

There's a ton of work being done in the "next" branch that will merge into v1 soonish, so let me know if you actually get into making in code changes. I believe "next" is functional right now, but I had to drop it mid-commit-stream to switch to some other work, so it wouldn't blow my mind if there's a small easy-to-fix issue as well.

Technically, yes. You just copy the same config on both machines. It's not something that's "supported" yet, but it is a "hidden feature" that already works. Be careful, it can be trixy and lead to weird things (like half of your requests working and the other half not in-between state changes). There's a ton of work being done in the "next" branch that will merge into v1 soonish, so let me know if you actually get into making in code changes. I believe "next" is functional right now, but I had to drop it mid-commit-stream to switch to some other work, so it wouldn't blow my mind if there's a small easy-to-fix issue as well.
发布者

Like it would be nice if we had the option to do sticky load balancing or not when this is officially supported for in between requests.

Like it would be nice if we had the option to do sticky load balancing or not when this is officially supported for in between requests.
所有者

That's unlikely to happen due to the privacy and security concerns.

Telebit Relays don't decrypt the traffic and, therefore, can't peek into the data to create a fingerprint from cookies and whatnot.

It could be implemented just by keeping an IP address cache, but the direction that we're going with Telebit is to create home servers ( https://rootprojects.org ), so the preference would be to help make it convenient for your servers to operate with master-master data synchronization rather than to build more traditional lock-in style cloud infrastructure.

That's unlikely to happen due to the privacy and security concerns. Telebit Relays don't decrypt the traffic and, therefore, can't peek into the data to create a fingerprint from cookies and whatnot. It could be implemented just by keeping an IP address cache, but the direction that we're going with Telebit is to create home servers ( https://rootprojects.org ), so the preference would be to help make it convenient for your servers to operate with master-master data synchronization rather than to build more traditional lock-in style cloud infrastructure.
发布者

One of the exciting ideas for me about the original mvp was that you could have a hub at 2 locations that be a viable backup solution with 2 locations or more.

One of the exciting ideas for me about the original mvp was that you could have a hub at 2 locations that be a viable backup solution with 2 locations or more.
所有者

Yes. And the direction we're heading with the backup solution is master-master redundancy.

Sticky load balancing isn't necessary when you design the system to sync available hosts.

Yes. And the direction we're heading with the backup solution is master-master redundancy. Sticky load balancing isn't necessary when you design the system to sync available hosts.
发布者

Is this solution going to be opensourced, can I help contribute to it?

Is this solution going to be opensourced, can I help contribute to it?
所有者

Everything that's necessary to open source in order for your data to be in your control and to have the choice to host any external services (i.e. the Telebit Relay) will be open source.

To help us bootstrap to get to the point of selling the hardware we will be offering products and services for those that prefer the convenience of "Just Works" to building it themselves.

Remind me what your skills are?

We're doing Go, Rust, Node.js, iOS, Android, and Browser. There are a number of things that you could help, but first I'd need to know what it is you are personally interested in as well as what you're skilled at.

I'd love to get the Go or Rust version of the open source Telebit client started. I'd love to get the iOS app, which is about halfway done in terribly crappy outsourced code (i.e. fully functional, working, but not pleasant to use or develop with), to the point of publishing it to the App store so that it can be used with Telebit (or self-hosted) to sync photos

Everything that's necessary to open source in order for your data to be in your control and to have the choice to host any external services (i.e. the Telebit Relay) will be open source. To help us bootstrap to get to the point of selling the hardware we will be offering products and services for those that prefer the convenience of "Just Works" to building it themselves. Remind me what your skills are? We're doing Go, Rust, Node.js, iOS, Android, and Browser. There are a number of things that you could help, but first I'd need to know what it is you are personally interested in as well as what you're skilled at. I'd love to get the Go or Rust version of the open source Telebit client started. I'd love to get the iOS app, which is about halfway done in terribly crappy outsourced code (i.e. fully functional, working, but not pleasant to use or develop with), to the point of publishing it to the App store so that it can be used with Telebit (or self-hosted) to sync photos
登录 并参与到对话中。
未选择标签 feature
未选择里程碑
未指派成员
2 名参与者
通知
到期时间

未设置到期时间。

依赖工单

此工单当前没有任何依赖。

正在加载...
这个人很懒,什么都没留下。