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...

Pi 1.0

https://earendil.com/posts/pi-1-0/
1490•sergiotapia•18h ago•487 comments

Shimano Bicycle Museum Review

https://inrng.com/2026/10/shimano-bicycle-museum/
194•pietroppeter•8h ago•35 comments

Claude-Shaped Science

https://www.anthropic.com/research/claude-shaped-science
5•famouswaffles•10m ago•1 comments

Several vulnerabilities have been discovered in the Linux kernel

https://lwn.net/Articles/1097401/
411•luispa•14h ago•293 comments

The Legend of von Neumann [pdf]

https://gwern.net/doc/math/1973-halmos.pdf
5•suopspaces•29m ago•1 comments

Show HN: Audionaut – an open-source cross-platform multitrack audio editor

https://github.com/kvoltmer/Audionaut
61•vltmrkls•5h ago•20 comments

Clef: Open-weight decision models, and new RL fine-tuning platform

https://blog.cloudflare.com/clef-decision-models/
553•jasondavies•21h ago•197 comments

SvelteKit 3

https://svelte.dev/blog/sveltekit-3-is-here
337•sampsn•17h ago•139 comments

Frog and Toad and the Increasingly Capable Machines

https://www.frogandtoad.ai/
296•supermdguy•15h ago•71 comments

DeepSeek Harness Desktop for macOS and Windows

https://www.deepseek.com/en/harness/
304•Kuyawa•10h ago•152 comments

Pi Durable

https://earendil.com/posts/pi-durable/
434•paulsmith•18h ago•57 comments

Ask HN: Who is hiring? (October 2026)

226•whoishiring•22h ago•221 comments

Git 3.0's upcoming SHA-256 default will be a costly mistake

https://blog.gitbutler.com/git-3-sha-256
454•chmaynard•20h ago•418 comments

Automatic Transmission – a data-privacy study of connected vehicles

https://automatictransmission.khoury.northeastern.edu/index.html
216•rafaelc•17h ago•182 comments

StreetComplete on iOS is now in public beta

https://github.com/streetcomplete/StreetComplete/issues/5421
590•Snowly•1d ago•160 comments

Turbo Haskell

https://comonad.com/reader/2026/turbo-haskell/
136•pjmlp•23h ago•29 comments

Using Opus 5.5 to discover a new eyewitness record of the dodo

https://resobscura.substack.com/p/using-opus-55-to-discover-a-new-eyewitness
178•benbreen•16h ago•55 comments

RIP, vector database

https://turbopuffer.com/blog/rip-vector-database
352•razin•21h ago•100 comments

Various Projects Find Hidden SDR Capabilities in ESP32 Microcontrollers

https://www.rtl-sdr.com/various-projects-independently-find-hidden-sdr-capabilities-in-esp32-micr...
251•nkw•22h ago•48 comments

Vote on which of Hacker News' challenges for AI have been met

https://stoppels.ch/goalposts/
172•stabbles•20h ago•201 comments

CSS Bed: Classless CSS themes to use as starting points in web development

https://www.cssbed.com
131•sea-gold•16h ago•37 comments

Memory executives expect RAM shortage to continue through 2028

https://arstechnica.com/information-technology/2026/10/memory-supplies-are-only-getting-tighter-m...
11•el_duderino•1h ago•4 comments

How Singapore's government-run dating service works

https://www.singapore-samizdat.com/p/how-singapores-government-run-dating-service-firstdate-works
213•danielfoster•11h ago•204 comments

Show HN: Janus – Go binary that runs GGUF models via Vulkan on AMD/Intel/Nvidia

https://github.com/Vibra-Ingenn/Janus
83•Maverick617•17h ago•14 comments

Cloudflare K2: serverless event streams

https://blog.cloudflare.com/cloudflare-k2-streams/
255•elffjs•23h ago•100 comments

Oxygen-deprived underwater zones may not be “dead zones” but clue to early life

https://agupubs.onlinelibrary.wiley.com/doi/10.1029/2026AV002570
115•gumby•18h ago•16 comments

Context Language Models

https://arxiv.org/abs/2609.37725
156•emersonmacro•22h ago•42 comments

Butterflies use optical illusions to dodge predators

https://www.essex.ac.uk/news/2026/09/30/butterflies-use-optical-illusions-to-dodge-predators
68•gmays•14h ago•12 comments

ArXiv's Updated Rate Limit Policy

https://blog.arxiv.org/2026/10/01/updated-rate-limit-policy/
134•50kIters•17h ago•67 comments

How to speed up the Rust compiler in September 2026

https://nnethercote.github.io/2026/09/30/how-to-speed-up-the-rust-compiler-in-september-2026.html
261•trickypr•1d ago•150 comments