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 參與者
通知
截止日期

未設定截止日期。

先決條件

此問題目前沒有任何先決條件。

載入中…
尚未有任何內容