4 ms·
As I was reading I was thinking "Why doesn't the Follower proxy the request to the Leader?" which I see was covered later on in "Transparent request forwarding"
by c17r 5y ago
As I was reading I was thinking "Why doesn't the Follower proxy the request to the Leader?" which I see was covered later on in "Transparent request forwarding". Good stuff!
I remember building a janky version of sqlite+raft for Stripe's 2014 CTF. I'm sure others here have made a similar comment when rqlite gets posted to HN.
- otoolep 5y agorqlite author here. Yes, it's coming in a future release and is much easier to do now. One key principle of rqlite has always been quality, clean design, and simplicity of operation. So I've been reluctant to add a feature -- in this case Request Forwarding -- until I was sure it would be a clear win and not make rqlite less robust. After years of experience with the system now, I'm happy it can be added in a high-quality manner.
- robertlagrant 5y agoIt definitely makes working with round robin proxies (e.g. k8s services) much, much simpler. Having proxies be aware of the leader, or having clients being able to access nodes directly instead of behind said proxies, is a lot more complexity.
- sroussey 5y agoIt does add quite a bit to network traffic though, which may or may not be an issue.