frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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

Hardware Attestation as Monopoly Enabler

https://grapheneos.social/@GrapheneOS/116550899908879585
871•ChuckMcM•7h ago•323 comments

Local AI needs to be the norm

https://unix.foo/posts/local-ai-needs-to-be-norm/
559•cylo•8h ago•264 comments

Incident Report: CVE-2024-YIKES

https://nesbitt.io/2026/02/03/incident-report-cve-2024-yikes.html
385•miniBill•7h ago•91 comments

Obsidian plugin was abused to deploy a remote access trojan

https://cyber.netsecops.io/articles/obsidian-plugin-abused-in-campaign-to-deploy-phantom-pulse-rat/
74•cmbailey•3h ago•34 comments

Running local models on an M4 with 24GB memory

https://jola.dev/posts/running-local-models-on-m4
73•shintoist•2h ago•41 comments

AI Productivity Fails

https://blog.sshh.io/p/how-ai-productivity-fails
15•sshh12•1h ago•2 comments

Make America AI ready: Strengths, weaknesses, and recommendations

https://blog.citp.princeton.edu/2026/05/05/make-america-ai-ready-strengths-weaknesses-and-recomme...
15•Kye•1h ago•11 comments

Guy Goma's Accidental BBC Interview Lives on After 20 Years

https://www.nytimes.com/2026/05/06/business/media/bbc-guy-goma-interview.html
50•nxobject•2d ago•11 comments

Ask HN: What are you working on? (May 2026)

127•david927•8h ago•446 comments

I'm going back to writing code by hand

https://blog.k10s.dev/im-going-back-to-writing-code-by-hand/
3•dropbox_miner•16m ago•2 comments

First tunnel element of the Fehmarnbelt Tunnel immersed

https://www.arup.com/en-us/news/first-fehmarnbelt-tunnel-element-lowered/
42•robin_reala•3d ago•9 comments

PS3 Emulator Devs Politely Ask That People Stop Flooding It with AI PRs

https://kotaku.com/playstation-3-emulator-devs-politely-ask-that-people-stop-flooding-it-with-ai-...
63•stalfosknight•2h ago•35 comments

I designed Microsoft's EA channel in 2001. It's being dismantled in 2026

https://www.brendanoconnor.net/case-studies/microsoft-enterprise-channel/
11•brendo_y•2d ago•1 comments

Traces Of Humanity

https://tracesofhumanity.org/hello-world/
128•alex77456•8h ago•19 comments

You Need AI That Reduces Maintenance Costs

https://www.jamesshore.com/v2/blog/2026/you-need-ai-that-reduces-your-maintenance-costs
17•cratermoon•2h ago•3 comments

The people preserving the scientific practice of bird banding

https://thenarwhal.ca/bird-banding-ontario/
30•bookofjoe•3d ago•0 comments

Maryland citizens hit with $2B power grid upgrade for out-of-state AI

https://www.tomshardware.com/tech-industry/artificial-intelligence/maryland-citizens-slapped-with...
137•lemonberry•4h ago•60 comments

I returned to AWS and was reminded why I left

http://fourlightyears.blogspot.com/2026/05/i-returned-to-aws-and-was-reminded-hard.html
658•andrewstuart•1d ago•478 comments

Eight More 8-bit Era Microprocessors (2024)

https://thechipletter.substack.com/p/eight-more-8-bit-era-microprocessors
49•klelatti•2d ago•12 comments

Stop MitM on the first SSH connection, on any VPS or cloud provider

https://www.joachimschipper.nl/Stop%20MITM%20on%20the%20first%20SSH%20connection,%20on%20any%20VP...
78•JoachimSchipper•2d ago•45 comments

The locals don't know

https://www.quarter--mile.com/The-Locals-Dont-Know
99•herbertl•9h ago•70 comments

Lakebase architecture delivers faster Postgres writes

https://www.databricks.com/blog/how-lakebase-architecture-delivers-5x-faster-postgres-writes
94•sp_from_db•2d ago•29 comments

Idempotency is easy until the second request is different

https://blog.dochia.dev/blog/idempotency/
281•ludovicianul•3d ago•174 comments

What's a mathematician to do? (2010)

https://mathoverflow.net/questions/43690/whats-a-mathematician-to-do
149•ipnon•14h ago•74 comments

Louis Rossmann offers to pay legal fees for a threatened OrcaSlicer developer

https://www.tomshardware.com/3d-printing/louis-rossmann-tells-3d-printer-maker-bambu-lab-to-go-bl...
471•iancmceachern•10h ago•253 comments

Think Linear Algebra (2023)

https://allendowney.github.io/ThinkLinearAlgebra/index.html
165•tamnd•15h ago•19 comments

Task Paralysis and AI

https://g5t.de/articles/20260510-task-paralysis-and-ai/index.html
200•MrGilbert•19h ago•107 comments

Show HN: An index of indie web/blog indexes

https://theindex.fyi
93•rocketpastsix•12h ago•34 comments

Walking slower? Your ears, not your knees, might be the problem

https://www.wsj.com/health/wellness/hearing-loss-walking-speed-iphone-study-c53c482a
87•marc__1•1d ago•63 comments

Space Cadet Pinball on Linux

https://brennan.io/2026/05/09/pinball-and-escrow/
316•jandeboevrie•14h ago•104 comments