frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Achieveing lower latencies with S3 object storage

https://spiraldb.com/post/so-you-want-to-use-object-storage
31•znpy•1y ago

Comments

jmull•1y ago
> Roughly speaking, the latency of systems like object storage tend to have a lognormal distribution

I would dig into that. This might (or might not) be something you can do something about more directly.

That's not really an "organic" pattern, so I'd guess some retry/routing/robustness mechanism is not working the way it should. And, it might (or might not) be one you have control over and can fix.

To dig in, I might look at what's going on at the packet/ack level.

nkmnz•1y ago
I don't know what you mean by the word "organic", but I think lognormal distributions are very common and intuitive: whenever the true generative mechanism is “lots of tiny, independent percentage effects piling up,” you’ll see a log‑normal pattern.
jmull•1y ago
You can think of a network generally as a bunch of uniform nodes with uniform connections each with a random chance of failure, as a useful first approximation.

But that’s not what they really are.

If you’re optimizing or troubleshooting it’s usually better to look at what’s actually happening. Certainly before implementing a fix. You really want to understand what you’re fixing, or you’re kind of doing a rain dance.

pyfon•1y ago
How do you do that for an abstract service like S3? I see how you could do that for your own machines.
anorwell•1y ago
The article posts a table of latency distributions, but the latencies are simulated based on the assumption that latencies are lognormal. I would be interested to read the article comparing the simulation to actual measurements.

The assumption that latencies are lognormal is a useful approximation but not really true. In reality you will see a lot of multi-modality (e.g. cache hits vs misses, internal timeouts). Requests for the same key can have correlated latency.

MasterIdiot•1y ago
I think the distribution he uses is pretty close to the paper he links "Exploiting Cloud Object Storage for High-Performance Analytics" https://www.durner.dev/app/media/papers/anyblob-vldb23.pdf
tossandthrow•1y ago
The hedging strategies all seem to assume that latency for an object is an independent variable.

However, I would assume dependency?

Eg. if. a node holding a copy of the object is down and traffic needs to be re-routed to a slower node. Indifferently of how many requests I send, the latency will still be high?

(I am genuinly curious of this is the case)

n_u•1y ago
It’s not addressed directly but I do think the article implies you hope your request latencies are not correlated. It provides a strategy for helping to achieve that

> Try different endpoints. Depending on your setup, you may be able to hit different servers serving the same data. The less infrastructure they share with each other, the more likely it is that their latency won’t correlate.

addisonj•1y ago
S3 scale is quite massive with each object spread across a large number of nodes via erasure encoding.

So while you could get unlucky and routed to same bad node / bad rack, the reality is that it is quite unlikely.

And while the testing here is simulated, this is a technique that is used with success.

Source: working on these sort of systems

jmpman•1y ago
Lots of areas left for exploration.
up2isomorphism•1y ago
S3 is a bad choice if you need low latency to begin with.
mannyv•1y ago
They have both ssd and platter based storage now. So that's not a true statement anymore.
up2isomorphism•1y ago
The problem of s3 latency is never about hdd or ssd to begin with.

This a big problem of so called modern “data pipeline”; public cloud providers will anything and a lot of people will believe it.

mannyv•1y ago
No, sorry.
sgarland•1y ago
Network-based storage is a bad choice if you need low latency, period. You’re not going to beat data locality.
UltraSane•1y ago
It is kinda of crazy how much work is done to mitigate the very high latency of S3 when we have NVMe SSDs with access latency of microseconds.
addisonj•1y ago
Yeah, engineering high scale distributed data systems on top the cloud providers a very weird thing at times.

But the reality is that as large enterprise move to the cloud, but still need lots of different data systems, it is really hard to not play the cloud game. Buying bare metal and direct connect with AWS seems a reasonable solution... But it will add years to your timeline to sell to any large companies.

So instead, you work in the constraints the CSPs have, and in AWS, that means guaranteeing durability cross zone, and at scale, that means either huge cross az network costs or offloading it to s3.

You would think this massive cloud would remove constraints, and in some ways that is true, but in others you are even more constrained because you don't directly own any of it and are the whims of unit costs of 30 AWS teams.

But it is also kind of fun

UltraSane•1y ago
If cross AZ bandwidth was more reasonably priced it would enable a lot of design options like running something like MinIO on nothing but directly connected NVMe Instance store volumes.
jen20•1y ago
The very first sentence of this article contains an error:

> Over the past 19 years (S3 was launched on March 14th 2006, as the first public AWS service), object storage has become the gold standard for storing large amounts of data in the cloud.

While it’s true that S3 is the gold standard, it was not the first AWS service, which was in fact SQS in 2004.

hermanradtke•1y ago
I thought S3 was first as well.

This is the source Wikipedia uses: https://web.archive.org/web/20041217191947/http://aws.typepa...

adam_gs•1y ago
author here - took that quote from this[1] blog post by an AWS VP/distinguished engineer, the use of "public service" might have some loosely defined meaning in this context.

[1] https://www.allthingsdistributed.com/2025/03/in-s3-simplicit...

jen20•1y ago
Interesting source - looks like it means “GA” service, rather than “public” per se. The SQS beta was also available to the public.
n_u•1y ago
What I’ve always been curious about is if you can help the S3 query optimizer* in any way to use specialized optimizations. For example if you indicate the data is immutable[1] does the lack of a write path allow further optimization under the hood? Replicas could in theory serve requests without coordination.

*I’m using “query optimizer” rather broadly here. I know S3 isn’t a DBMS.

[1] https://aws.amazon.com/blogs/storage/protecting-data-with-am...

The end of Microsoft Research's AI Frontiers group

https://hunch.net/?p=13764006
249•srean•3h ago•141 comments

What I run on my $10 USD OpenStick homelab

https://blog.bosscher.ch/posts/openstick/
192•LaurensBER•3h ago•41 comments

Apple’s grey list: Words and phrases your iPhone won’t help you spell

https://www.theguardian.com/technology/2026/nov/06/struggling-to-spell-male-chauvinist-pig-apple-...
236•user_7832•4h ago•152 comments

Show HN: Coldframe, a honeypot that poses as a supermarket fridge controller

https://github.com/hedgerow-dev/coldframe
144•hedgerow-dev•4h ago•32 comments

MaxxBench – "Nice DeepSWE score. But is it true?"

https://maxxbench.unlap.ai/research/why-maxxbench/
126•antiuniverse•4h ago•33 comments

Show HN: Where Were We

https://wherewerewe.app/
11•zkiihne•46m ago•4 comments

Need for Speed Underground 2 online in the browser

https://nfsu2.xyz/
700•fluxusars•12h ago•202 comments

Claude Code's "Don't Ask Again" exposes passwords in 1,122 public GitHub files

https://apiiro.com/blog/coding-agents-leaking-secrets-github-dont-ask-again
40•shmulc•1h ago•24 comments

Five memorable books about programming (2008)

https://prog21.dadgum.com/19.html
58•andsoitis•4h ago•27 comments

Retro Song Bird: Plug in any Game Boy cartridge to hear the soundtrack

https://www.retrosongbird.com/
6•hentrep•6h ago•1 comments

The $8 Linux Computer (2022)

http://thelittleengineerthatcould.blogspot.com/2022/12/the-8-linux-computer.html
177•zenincognito•7h ago•79 comments

Show HN: An offline desktop companion to help maintain a healthy blink rhythm

https://eyesrhythm.com/
3•prnysoni•6m ago•0 comments

Every Mac comes with an (undocumented) family member classifier

https://8rank.ai/game/apple-intelligence-personal-knowledge-graph
522•infwhispers•12h ago•310 comments

Shadow of the Sun

https://mattlakeman.org/2021/07/27/shadow-of-the-sun/
4•andsoitis•43m ago•2 comments

How long can life wait?

https://mceglowski.substack.com/p/how-long-can-life-wait
98•Ariarule•5h ago•54 comments

GeoWorks, Microsoft Windows' Upstart '90s Competitor (2016)

https://www.atlasobscura.com/articles/the-history-of-geoworks-microsoft-windows-upstart-90s-compe...
26•andsoitis•3h ago•5 comments

Libghostty 1.0

https://mitchellh.com/writing/libghostty-1-0
986•mfiguiere•22h ago•173 comments

Every processor die anyone has photographed and given away

https://sheets.works/data-viz/cpu-dies
54•user_7832•5h ago•12 comments

Every Windows 11 app should kill Electron, and Discord just showed why

https://www.windowslatest.com/2026/11/06/every-windows-11-app-should-kill-electron-and-discord-ju...
150•thunderbong•10h ago•158 comments

Uranium cubes reveal why the German nuclear project failed

https://arstechnica.com/science/2026/11/uranium-cubes-reveal-why-the-german-nuclear-project-failed/
7•rbanffy•2d ago•1 comments

Terry Pratchett's Study

https://www.sussi.dk/terry-pratchetts-study
61•ColinWright•5h ago•13 comments

Running a law firm on Free software

https://decoded.legal/blog/2026/11/running-a-law-firm-on-free-software-2026-edition/
209•DeepLogin•12h ago•95 comments

The typo generation is damaging literature

https://www.metropolitanreview.org/p/the-typo-generation-is-damaging-literature
47•bryanrasmussen•3d ago•59 comments

Text.js: Build full-stack React apps that render inside console.log

https://textjs.org/
70•nateb2022•3d ago•40 comments

Asahi Linux Progress Linux 7.3

https://asahilinux.org/2026/11/progress-report-7-3/
278•ackyshake•16h ago•225 comments

Show HN: We compressed a 31B video+audio diffusion model to 14B, 6 steps, INT8

https://github.com/Video-Rebirth/hyperflow-h3-flash
46•jiant•6h ago•10 comments

A barbarian tribe's mythic origin story is true, ancient DNA reveals

https://www.science.org/content/article/barbarian-tribe-s-mythic-origin-story-true-ancient-dna-re...
192•benbreen•17h ago•176 comments

Yes, You Can Pass a Nuclear Missile Driving on Interstate 80 Through Wyoming

https://cowboystatedaily.com/2026/11/04/yes-you-can-pass-a-nuclear-missile-driving-on-interstate-...
41•Bender•2d ago•20 comments

They don't make 'em like that any more: Borland Turbo Pascal 7

https://kevinboone.me/tpwin.html
168•andsoitis•5h ago•92 comments

Show HN: Green tests are not proof – verifier for C/C++ and firmware fixes

https://unfix.dev/
10•u-pump•2d ago•1 comments