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•6mo ago

Comments

jmull•6mo 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•6mo 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•6mo 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•6mo ago
How do you do that for an abstract service like S3? I see how you could do that for your own machines.
anorwell•6mo 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•6mo 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•6mo 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•6mo 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•6mo 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•6mo ago
Lots of areas left for exploration.
up2isomorphism•6mo ago
S3 is a bad choice if you need low latency to begin with.
mannyv•6mo ago
They have both ssd and platter based storage now. So that's not a true statement anymore.
up2isomorphism•6mo 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•6mo ago
No, sorry.
sgarland•6mo ago
Network-based storage is a bad choice if you need low latency, period. You’re not going to beat data locality.
UltraSane•6mo 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•6mo 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•6mo 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•6mo 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•6mo 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•6mo 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•6mo 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•6mo 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...

Grok 4 Fast now has 2M context window

https://docs.x.ai/docs/models
30•hereme888•58m ago•22 comments

Ironclad – formally verified, real-time capable, Unix-like OS kernel

https://ironclad-os.org/
166•vitalnodo•6h ago•37 comments

Tabloid: The Clickbait Headline Programming Language

https://tabloid.vercel.app/
65•sadeshmukh•2h ago•11 comments

Boring Company fined nearly $500K after it dumped drilling fluids into manholes

https://www.yahoo.com/news/articles/elon-musk-boring-company-fined-150000426.html
78•eloisius•1h ago•16 comments

Marko – A declarative, HTML‑based language

https://markojs.com/
239•ulrischa•10h ago•116 comments

Largest cargo sailboat completes first Atlantic crossing

https://www.marineinsight.com/shipping-news/worlds-largest-cargo-sailboat-completes-historic-firs...
164•defrost•9h ago•103 comments

Study identifies weaknesses in how AI systems are evaluated

https://www.oii.ox.ac.uk/news-events/study-identifies-weaknesses-in-how-ai-systems-are-evaluated/
324•pseudolus•14h ago•163 comments

Syntax and Semantics of Programming Languages (1995)

https://homepage.cs.uiowa.edu/~slonnegr/plf/Book/
13•nill0•1h ago•13 comments

Control structures in programming languages: from goto to algebraic effects

http://xavierleroy.org/control-structures/
116•SchwKatze•5d ago•8 comments

Open-source communications by bouncing signals off the Moon

https://open.space/
90•fortran77•6d ago•21 comments

WriterdeckOS

https://writerdeckos.com
147•surprisetalk•10h ago•83 comments

Debugging BeagleBoard USB boot with a sniffer: fixing omap_loader on modern PCs

https://www.downtowndougbrown.com/2025/11/debugging-beagleboard-usb-boot-with-a-sniffer-fixing-om...
54•todsacerdoti•6h ago•0 comments

Avería: The Average Font (2011)

http://iotic.com/averia/
142•JoshTriplett•9h ago•29 comments

How to build your own VPN, or: the history of WARP

https://blog.cloudflare.com/how-to-build-your-own-vpn-or-the-history-of-warp/
17•yla92•5d ago•1 comments

Show HN: Geofenced chat communities anyone can create

https://vicinity.social/
7•clarencehoward•2h ago•2 comments

How Airbus Took Off

https://worksinprogress.co/issue/how-airbus-took-off/
10•JumpCrisscross•3h ago•1 comments

Judge denies request to exempt Flock footage from Public Records Act

https://www.goskagit.com/news/local_news/court-denies-request-that-it-find-flock-safety-camera-da...
77•p_ing•4h ago•23 comments

Cloudflare scrubs Aisuru botnet from top domains list

https://krebsonsecurity.com/2025/11/cloudflare-scrubs-aisuru-botnet-from-top-domains-list/
124•jtbayly•12h ago•27 comments

IP blocking the UK is not enough to comply with the Online Safety Act

https://prestonbyrne.com/2025/11/06/the-ofcom-files-part-2-ip-blocking-the-uk-is-not-enough-to-co...
219•pinkahd•6h ago•262 comments

He Chunhui's Tiny386 Turns an ESP32-S3 into a Fully-Functional 386-Powered PC

https://www.hackster.io/news/he-chunhui-s-tiny386-turns-the-humble-esp32-s3-into-a-fully-function...
58•HardwareLust•4h ago•7 comments

My first fifteen compilers (2019)

https://blog.sigplan.org/2019/07/09/my-first-fifteen-compilers/
50•azhenley•1w ago•3 comments

Valdi – A cross-platform UI framework that delivers native performance

https://github.com/Snapchat/Valdi
472•yehiaabdelm•1d ago•198 comments

Show HN: Hephaestus – Autonomous Multi-Agent Orchestration Framework

https://github.com/Ido-Levi/Hephaestus
7•idolevi•5d ago•0 comments

Why is Zig so cool?

https://nilostolte.github.io/tech/articles/ZigCool.html
499•vitalnodo•1d ago•440 comments

An Algebraic Language for the Manipulation of Symbolic Expressions (1958) [pdf]

https://softwarepreservation.computerhistory.org/LISP/MIT/AIM-001.pdf
86•swatson741•14h ago•10 comments

Ticker: Don't die of heart disease

https://myticker.com/
440•colelyman•14h ago•372 comments

Opencloud – An alternative to Nextcloud written in Go

https://github.com/opencloud-eu/opencloud
63•todsacerdoti•12h ago•9 comments

Humanity's Endgame

https://www.noemamag.com/humanitys-endgame/
22•marojejian•5h ago•14 comments

GPT-5-Codex-Mini – A more compact and cost-efficient version of GPT-5-Codex

https://github.com/openai/codex/releases/tag/rust-v0.56.0
41•wahnfrieden•5h ago•24 comments

How did I get here?

https://how-did-i-get-here.net/
362•zachlatta•1d ago•61 comments