News for hackers. Stuff that matters.
Re:Garnet – A new remote cache-store from Microsoft Research by hipadev23 on Tuesday March 19, 2024 @01:25AM (#39753198)
> Redis may require a significant performance optimization.

Redis is single-threaded, it’s simple and effective. I’m not sure it needs optimization, and we have 3 alternatives here.

Garnet however is the first alternative to actually outperform Redis at both low and high levels of concurrency, which is remarkable. I can’t wait to try it out.

Re:Garnet – A new remote cache-store from Microsoft Research by gigatexal on Tuesday March 19, 2024 @04:18AM (#39753820)
Redis for 99% of the intended use-cases and companies will be just fine. It has always been rock solid when we used it. It was the opposite of DNS: it was never a problem.
Re:Garnet – A new remote cache-store from Microsoft Research by moritonal on Tuesday March 19, 2024 @05:05AM (#39753978)
Could you expand on "It was the opposite of DNS: it was never a problem."? Feel like I'm missing some interesting history here.
Re:Garnet – A new remote cache-store from Microsoft Research by mbreese on Tuesday March 19, 2024 @06:43AM (#39754443)
It’s just a common saying “the problem is always DNS”. When you have a weird networking issue, the problem always seems to be DNS. Either some misconfigured DNS entry or DHCP giving you the wrong server address, etc…

And then the problem is confounded by the fact that, ironically, DNS works so well that we don’t think of it as a primary point of failure. So inevitably, when there is a DNS problem, it’s the last thing we check. This just reinforces the idea that the problem is always DNS… because in those long, hard to troubleshoot instances… the problem was DNS.

Re:Garnet – A new remote cache-store from Microsoft Research by robertlagrant on Tuesday March 19, 2024 @09:34AM (#39755574)
DNS, BGP, or branch prediction. Pick three.
Re:Garnet – A new remote cache-store from Microsoft Research by zimpenfish on Tuesday March 19, 2024 @10:31AM (#39756111)
Stealing from the greats, "DNS, BGP, off-by-one errors, or branch prediction. Pick three."
Re:Garnet – A new remote cache-store from Microsoft Research by jakopo87 on Wednesday March 20, 2024 @01:41PM (#39769789)
It was off-by-one, indeed.
Re:Garnet – A new remote cache-store from Microsoft Research by donbreo on Wednesday March 20, 2024 @04:52AM (#39764105)
I just faced an issue with redis this week. It was causing my Javascript heap memory to go bust. I thought it was a data leak in my code but it turns out the redis client was filling it up and I fixed it by simply adding a static delay every 1 million set operations so that the garbage collector had enough time to do its job. (I was stress testing for a total of 6 million set operations)
Re:Garnet – A new remote cache-store from Microsoft Research by AlexeyBelov on Thursday March 21, 2024 @03:07AM (#39775571)
That's an issue with JS and/or client library though.
Re:Garnet – A new remote cache-store from Microsoft Research by akvadrako on Tuesday March 19, 2024 @06:04AM (#39754244)
It's weird since DNS is one of the most rock solid systems we have, with redundancy at every level.

1. Clients query a list of servers (IPs) and handle failover when you don't quickly get a reply.

2. Most of those servers at the root and TLD level are actually anycasted from multiple locations globally, so you connect to the closest instance.

3. Those instances are often clusters of physical servers. The big ones have fully redundant networking, so any router or switch failing doesn't take it down. Some run different DNS server software on each physical server, so even software bugs won't take down the whole system.

Re:Garnet – A new remote cache-store from Microsoft Research by sumtechguy on Tuesday March 19, 2024 @08:34AM (#39755050)
In my years of doing this sort of thing. I only had it really be DNS once. The issues I usually see blamed on DNS is when DNS is 'abused' to do things like load balancing and the TTL is very small. Then you need goofy things like 'sticky sessions' and what not to work around that.
Re:Garnet – A new remote cache-store from Microsoft Research by byteknight on Tuesday March 19, 2024 @11:35AM (#39756851)
Assuming you didnt manage connectivity of systems very long or very many. I find it difficult that not being true with you saying it happened "once".
Re:Garnet – A new remote cache-store from Microsoft Research by stephenr on Tuesday March 19, 2024 @07:48AM (#39754795)
People who don't understand networking like to blame DNS for every problem they experience I guess?
Re:Garnet – A new remote cache-store from Microsoft Research by klohto on Tuesday March 19, 2024 @05:15AM (#39754024)
isitdns.com
Re:Garnet – A new remote cache-store from Microsoft Research by takeda on Friday March 22, 2024 @08:52PM (#39796358)
This is lame, it should say No, as you need DNS to load that page :P
Re:Garnet – A new remote cache-store from Microsoft Research by Terretta on Tuesday March 19, 2024 @08:24AM (#39755007)
Meme this is referencing should be "It's always DNS config."
Re:Garnet – A new remote cache-store from Microsoft Research by jameshart on Tuesday March 19, 2024 @12:31PM (#39757482)
Mostly. But it can also be DNS request volume, DNS cache expiry, DNS response times, DNS connection contention, DNS security, DNS error handling, or DNS client configuration.

All variants of ‘DNS is working perfectly, just your expectations of how it will work in your situation are not completely correct’.

Re:Garnet – A new remote cache-store from Microsoft Research by Terretta on Wednesday March 20, 2024 @11:24PM (#39774634)
See, config. :-)

// wrote what might have been first commercial-use dynamic DNS server for a regional ISP in early 90s, invented an unreasonably effective geo+latency balanced anycast-like DNS for global video delivery network in 00s

Re:Garnet – A new remote cache-store from Microsoft Research by kermatt on Tuesday March 19, 2024 @05:36PM (#39760504)
> Redis for 99% of the intended use-cases and companies will be just fine.

Except when Windows is the architecture.

This may be a place where Garnet is a good alternative.

Re:Garnet – A new remote cache-store from Microsoft Research by takeda on Friday March 22, 2024 @08:45PM (#39796329)
I really hate that meme. DNS is the most robust system that actually can achieve 100% uptime (even though pains me to say it as it originates from USC, and I'm a Bruin ;). Every time you type an URL on the internet you're using it.

DNS can fail when someone who is managing it have no idea what the hell they are doing and abuse it to do things it wasn't meant to do.

Re:Garnet – A new remote cache-store from Microsoft Research by LeonidBugaev on Tuesday March 19, 2024 @04:59AM (#39753951)
Plus in production, with high load, Redis cluster is way more common, which kind of solve single-threaded concern.
Re:Garnet – A new remote cache-store from Microsoft Research by CuriouslyC on Tuesday March 19, 2024 @08:29AM (#39755025)
I've always found redis cluster to just bring problems with it.
Re:Garnet – A new remote cache-store from Microsoft Research by jasonm23 on Tuesday March 19, 2024 @11:44PM (#39762681)
Who would trust microsoft to not shoehorn in some telemetry, or worse?