News for hackers. Stuff that matters.

zng00

Re:Envoy Mobile on Wednesday June 19, 2019 @01:54AM (#20221121)
As long as the node metadata is static and you're still filtering state-of-the-world to produce the same resources. If clients are only subscribing to static resources then yes, however, if you want to perform dynamic traffic shaping across a subset of resources then you have some state to manage.
Re:Envoy Mobile on Tuesday June 18, 2019 @10:34PM (#20220362)
Really interested in cases where people have taken xDS to user-scale. Presumably you would want to implement the Delta Discovery Service to minimize the bandwidth used by xDS updates, however, then you're maintaining state on the xDS server which adds server overhead.

We're adopting xDS as an abstraction for our service discovery. Implementing it has been relatively straightforward even with the relatively minimal documentation outside of the hints provided by the Envoy specific configuration elements.

Wow, these are some great resources. Thanks for sharing! I have a call with one of your colleagues in 5 minutes ;)
This is great, thanks for sharing. I'm curious about the downstream proxy process (i.e. ::1234) and how you scale it and balance load across multiple instances of the process. You can't really use iptables to load balance your processes as either the DNAT or REDIRECT mechanism will modify the destination address, right?

Ex. # TPROXY directs all traffic to :1234, and these rules load balance to 4 different processes

iptables -t nat -I OUTPUT -p tcp -o lo --dport 1234 -m state --state NEW -m statistic --mode nth --every 4 --packet 0 -j DNAT --to-destination 127.0.0.1:8080

iptables -t nat -I OUTPUT -p tcp -o lo --dport 1234 -m state --state NEW -m statistic --mode nth --every 4 --packet 1 -j DNAT --to-destination 127.0.0.1:8081

iptables -t nat -I OUTPUT -p tcp -o lo --dport 1234 -m state --state NEW -m statistic --mode nth --every 4 --packet 2 -j DNAT --to-destination 127.0.0.1:8082

iptables -t nat -I OUTPUT -p tcp -o lo --dport 1234 -m state --state NEW -m statistic --mode nth --every 4 --packet 3 -j DNAT --to-destination 127.0.0.1:8083

Re:Learn React by building a web app on Tuesday April 10, 2018 @06:34PM (#16806204)
Wow, this looks amazing. Have you used it for web?
Is this dynamic class execution a common use case? How frequently are you broadcasting new bytecode to your workers?
Re:Introducing Fly Edge Apps on Wednesday April 04, 2018 @09:39PM (#16761052)
I just watched your presentation at NWCJS. I was aware that Node was just the ES api implementations on top of v8 and libuv, but your presentation elucidated the exact mechanisms behind the Fly runtime and actually the Node runtime as well.

Seems like y'all are in a good position to expand the native bindings and add some of the more experimental ES proposals faster than Node. Got any details on the Fly roadmap?

Re:Dropbox jumps more than 40% in trading debut on Friday March 23, 2018 @12:38PM (#16659894)
Seems they would be happy with the bump?
Re:JDK 10 Early Access Release Notes on Saturday February 24, 2018 @01:14PM (#16454482)
Sexy as always
This is too expensive and it doesn't even let me take the challenges myself without paying $20AUD, even though is says "Free Trial".

Also, it's basically just 2 forms and some scripts.

Re:Show HN: HNBuddy – A fast and elegant HN client for iOS on Thursday February 08, 2018 @12:03PM (#16333592)
It's very quick! Already uninstalled my old app, as it would try to reload every link while on the subway.
Re:Coinbase: The Heart of the Bitcoin Frenzy on Wednesday December 13, 2017 @04:25PM (#15917816)
Right on! Also, I watched your Compromise presentation and loved it. Thanks again.
Re:Coinbase: The Heart of the Bitcoin Frenzy on Thursday December 07, 2017 @11:12AM (#15871277)
Hey, can you provide any insights on working there? I was speaking to a recruiter about working on Gdax and will probably interview in Feb., after I'm out of my current equity hole.