News for hackers. Stuff that matters.
Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by simonw on Monday September 08, 2025 @12:27PM (#45170289)
This is a good article and seems well balanced despite being written by someone with a product that directly competes with Amazon S3. I particularly appreciated their attempt to reverse-engineer how S3 Vectors work, including this detail:

> Filtering looks to be applied after coarse retrieval. That keeps the index unified and simple, but it struggles with complex conditions. In our tests, when we deleted 50% of data, TopK queries requesting 20 results returned only 15—classic signs of a post-filter pipeline.

Things like this are why I'd much prefer if Amazon provided detailed documentation of how their stuff works, rather than leaving it to the development community to poke around and derive those details independently.

Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by libraryofbabel on Monday September 08, 2025 @03:04PM (#45172432)
> Things like this are why I'd much prefer if Amazon provided detailed documentation of how their stuff works, rather than leaving it to the development community to poke around and derive those details independently.

Absolutely this. So much engineering time has been wasted on reverse-engineering internal details of things in AWS that could be easily documented. I once spent a couple days empirically determining how exactly cross-AZ least-outstanding-requests load balancing worked with AWS's ALB because the docs didn't tell me. Reverse-engineering can be fun (or at least I kinda enjoy it) but it's not a good use of our time and is one of those shadow costs of using the Cloud.

It's not like there's some secret sauce here in most of these implementation details (there aren't that many ways to design a load balancer). If there was, I'd understand not telling us. This is probably less an Apple-style culture of secrecy and more laziness and a belief that important details have been abstracted away from us users because "The Cloud" when in fact, these details do really matter for performance and other design decisions we have to make.

Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by TheSoftwareGuy on Monday September 08, 2025 @03:10PM (#45172524)
>It's not like there's some secret sauce here in most of these implementation details. If there was, I'd understand not telling us. This is probably less an Apple-style culture of secrecy and more laziness and a belief that important details have been abstracted away from us users because "The Cloud" when in fact, these details do really matter for performance and other design decisions we have to make.

Having worked inside AWS I can tell you one big reason is the attitude/fear that anything we put in out public docs may end up getting relied on by customers. If customers rely on the implementation to work in a specific way, then changing that detail requires a LOT more work to prevent breaking customer's workloads. If it is even possible at that point.

Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by libraryofbabel on Monday September 08, 2025 @03:23PM (#45172717)
And yet "Hyrum's Law" famously says people will come to rely on features of your system anyway, even if they are undocumented. So I'm not convinced this is really customer-centric, it's more AWS being able to say: hey sorry this change broke things for you, but you were relying on an internal detail. I do think there is a better option here where there are important details that are published but with a "this is subject to change at any time" warning slapped on them. Otherwise, like OP says, customers just have to figure it all out on their own.
Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by lazide on Monday September 08, 2025 @03:41PM (#45172945)
Sure, but the court isn’t going to consider hyrum’s law in a tort claim, but might consider AWS documentation - even with a disclaimer - with more weight.

Rely on undocumented behavior at your own risk.

Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by vlovich123 on Monday September 08, 2025 @06:11PM (#45174711)
Has Amazon ever been taken to court for things like this? I really don't think this is a legal concern.
Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by teaearlgraycold on Monday September 08, 2025 @07:18PM (#45175403)
I don't buy the legal angle. But if I was an overworked Amazon SWE I'd also like to avoid the work of documentation and a proper migration the next time implementation is changed.
Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by lazide on Monday September 08, 2025 @06:54PM (#45175180)
Amazon is involved in so many lawsuits right now, I honestly can’t tell. I did some google searches and gave up after 5+ pages.
Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by TheSoftwareGuy on Friday September 12, 2025 @09:25AM (#45221877)
You're right, people absolutely do rely on internal behavior intentionally and sometimes even unintentionally. And we tried our hardest not to break any of those customers either. but the point is that putting something in the docs is seen as a promise that you can rely on it. And going back on a promise is the exact opposite of the "Earns Trust" leadership principal that everyone is evaluated against.
Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by wubrr on Monday September 08, 2025 @05:14PM (#45174090)
Right now, it is basically impossible to reliably build full applications with things like DynamoDB (among other AWS products), without relying on internal behaviour which isn't explicitly documented.
Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by JustExAWS on Monday September 08, 2025 @06:21PM (#45174812)
I am also a former AWS employee. What non public information did you need for DDB?
Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by tracker1 on Monday September 08, 2025 @07:39PM (#45175552)
Try ingesting the a complete WHOIS dump into DDB sometime. This was before autoscaling worked at all when I tried... but it absolutely wasn't anything one can consider fun.

In the end, after multiple implementations, finally had to use a Java Spring app on a server with a LOT of ram just to buffer the CSV reads without blowing up on the pushback from DDB. I think the company spent over $20k in the couple months on different efforts in a couple different languages (C#/.Net, Node.js, Java) across a couple different routes (multiple queues, lambda, etc) just to get the initial data ingestion working a first time.

The Node.js implementation was fastest, but would always blow up a few days in without the ability to catch with a debugger attached. The queues and lambda experiments had throttling issues similar to the DynamoDB ingestion itself, even with the knobs turned all the way up. I don't recall what the issue with the .Net implementation was at the time, but it blew up differently.

I don't recall all the details, and tbh I shouldn't care, but it would have been nice if there was some extra guidance of trying to take in a few gb of csv into DynamoDB at the time. To this day, I still hate ETL work.

Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by JustExAWS on Monday September 08, 2025 @08:01PM (#45175727)
Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by tracker1 on Monday September 08, 2025 @08:10PM (#45175797)
Cool... though that would make it difficult to get the hundred or so CSVs into a single table, since it isn't supported I guess stitching them before processing would be easy enough... also, no idea when that feature became available.
Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by JustExAWS on Monday September 08, 2025 @09:08PM (#45176199)
It’s never been a good idea to batch ingest a lot of little single files using any ETL process on AWS, whether it be DDB, Aurora MySQL/Postgres using “load data from S3…”, Redshift batch import from S3, or just using Athena (yeah I’ve done all of them).
Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by tracker1 on Wednesday September 10, 2025 @11:57AM (#45199618)
These weren't "little" single files... just separated by tld iirc.
Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by everfrustrated on Tuesday September 09, 2025 @04:52AM (#45179358)
Why would you expect an OLTP db like DDB to work for ETL? You'd have the same problems if you used Postgres.

It's not like AWS is short on ETL technologies to use...

Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by scarface_74 on Tuesday September 09, 2025 @12:02PM (#45183945)
Even in an OlTP db, there is often a need to bulk import and export data. AWS has methods in most supported data stores - ElasticSearch, DDB, MySQL, Aurora, Redshift, etc to bulk insert from S3.
Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by cyberax on Tuesday September 09, 2025 @01:24AM (#45177723)
A tool to look at hot partitions, for one thing.
Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by JustExAWS on Tuesday September 09, 2025 @10:29AM (#45182438)
Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by cyberax on Tuesday September 09, 2025 @02:47PM (#45186727)
The keyword here is "should" :) Back then DynamoDB also had a problem with scaling the data can be easily split into partitions, but it's never merged back into fewer partitions.

So if you scaled up and then down, you might have ended with a lot of partitions that got only a few IOPS quota each. It's better now with burst IOPS, but it still is a problem sometimes.

Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by cbsmith on Monday September 08, 2025 @09:27PM (#45176329)
I've built several DynamoDB apps, and while you might have some expectations of internal behaviour, you can build apps that are pretty resilient to change of the internal behaviour but rely heavily on the documented behaviour. I actually find the extent of the opacity a helpful guide on the limitations of the service.
Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by catlifeonmars on Tuesday September 09, 2025 @01:51AM (#45177912)
Agree. TTL 48h SLA comes to mind.
Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by mannyv on Tuesday September 09, 2025 @12:56AM (#45177577)
Totally incorrect for Dynamo.

It was probably correct for Cognito 1.0.

Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by simonw on Monday September 08, 2025 @07:27PM (#45175464)
Thanks for this, that's a really insightful comment.
Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by scarface_74 on Tuesday September 09, 2025 @12:11AM (#45177301)
You have been quoted Simon Willison on his blog - his blog is popular on HN.

https://simonwillison.net/2025/Sep/8/thesoftwareguy/#atom-ev...

Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by UltraSane on Tuesday September 09, 2025 @02:59AM (#45178450)
Just add an option to re-enable spacebar heating.
Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by thiagowfx on Tuesday September 09, 2025 @05:16AM (#45179528)
Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by whakim on Monday September 08, 2025 @03:34PM (#45172841)
> It's not like there's some secret sauce here in most of these implementation details.

IME the implementation of ANN + metadata filtering is often the "secret sauce" behind many vector database implementations.

Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by citizenpaul on Monday September 08, 2025 @03:08PM (#45172495)
I have to assume that at this point its either intentional(increases profits?) or because AWS doesn't truly understand their own systems due to the culture of the company.
Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by messe on Monday September 08, 2025 @03:13PM (#45172569)
> because AWS doesn't truly understand their own systems due to the culture of the company.

This. There's a lot of freedom in how teams operate. Some teams have great internal documentation, others don't, and a lot of it is scattered across the internal Amazon wiki. I recall having to reach out on slack on multiple occasions to figure out how certain systems worked after diving through docs and the relevant issue trackers didn't make it clear.

Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by cyberax on Monday September 08, 2025 @03:26PM (#45172747)
AWS also has a pretty diverse set of hardware, and often several generations of software running in parallel. Usually because the new generation does not quite support 100% of features from the previous generation.
Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by javier2 on Monday September 08, 2025 @07:37PM (#45175537)
Its likely not specified, because they want to keep their right to improve or change it later. Documenting too detailed leads to way harder changes
Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by kenhwang on Tuesday September 09, 2025 @12:43AM (#45177495)
Did you have an account manager or support contract with AWS? IME, they're more than willing to set up a call with one of their engineers to disclose implementation details like this after your company signs an NDA.
Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by ithkuil on Tuesday September 09, 2025 @03:37AM (#45178724)
OTOH once you document something you need to do more work when you change the behaviour
Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by BobbyJo on Tuesday September 09, 2025 @12:21PM (#45184264)
> This is probably less an Apple-style culture of secrecy and more laziness and a belief that important details have been abstracted away from us users

As someone who had worked in providing infra to third parties, I can say that providing more detail than necessary will hurt your chances with some bigger customers. Giving them more information than they need or ask for makes your product look more complicated.

However sophisticated you think a customer of this product will be, go lower.

Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by yupyupyups on Tuesday September 09, 2025 @01:52PM (#45185668)
>So much engineering time has been wasted on reverse-engineering internal details of things

It feels that this true for proprietary software in general.

Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by alanwli on Monday September 08, 2025 @02:30PM (#45171985)
The alternative is to find solutions that can reasonably support different requirements because business needs change all the time especially in the current state of our industry. From what I’ve seen, OSS Postgres/pgvector can adequately support a wide variety of requirements for millions to low tens of millions of vectors - low latencies, hybrid search, filtered search, ability to serve out of memory and disk, strong-consistency/transactional semantics with operational data. For further scaling/performance (1B+ vectors and even lower latencies), consider SOTA Postgres system like AlloyDB with AlloyDB ScaNN.

Full disclosure: I founded ScaNN in GCP databases and am the lead for AlloyDB Semantic Search. And all these opinions are my own.

Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by speedysurfer on Monday September 08, 2025 @01:27PM (#45171116)
And what if they change their internal implementation and your code depends on the old architecture? It's good practice to clearly think about what to expose to users of your service.
Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by altcognito on Monday September 08, 2025 @01:32PM (#45171187)
Knowing how the service will handle certain workloads is an important aspect of choosing an architecture.
Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by libraryofbabel on Monday September 08, 2025 @03:15PM (#45172596)
If you can truly abstract away an internal detail, then great. But often there are design decisions that you cannot abstract away because they affect e.g. performance in a major way. For example, I don't care whether some AWS service is written in Java or Go or C++. I do care a bit about how its indexing and retrieval works, because I need to know that to plan my query workloads.

I actually think AWS did a reasonably good job of this with DynamoDB. Most of the performance tradeoffs, indexing etc., is pretty clear if you ready enough docs without exposing a ton of unnecessary internals.

Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by tw04 on Tuesday September 09, 2025 @12:07AM (#45177278)
Detailed documentation would allow for a fair comparison of competing products. Opaque documentation allows AWS to sell "business value" to upper management while proclaiming anyone asking for more detail isn't focused on what's important.
Re:Will Amazon S3 Vectors Kill Vector Databases–Or Save Them? by apwell23 on Tuesday September 09, 2025 @06:49AM (#45180236)
That would increase surface area of the abstraction they are trying to expose. This is not a case of failure to document.

One should only "poke around" an abstraction like this for fun and curiosity and not with intention of putting the finding to real use.