Skip to main content
Amazon DynamoDB

Amazon DynamoDB

Search complete. 102 mentions across 49 episodes found for "Amazon DynamoDB".

Nov 23, 2026

Corey QuinnHOST
7:59
Good work, team.
Corey QuinnHOST
8:01
AWS announces ExtendDB 1.0, which is their open source project to provide a DynamoDB frontend to a variety of backends.
Corey QuinnHOST
8:10
At 1.0, it now supports PostgreSQL, SQLite, Cassandra, and MongoDB.
Corey QuinnHOST
8:15
I don't understand why they didn't take my PRs to support Route 53, DynamoDB itself, DuckDB, or S3 object annotations as different, albeit horrible, storage backends.
Corey QuinnHOST
8:27
Aurora now supports moving clusters to a different VPC, which is huge news for folks trying to vacate that one legacy environment so they can build a new legacy environment.
Corey QuinnHOST
8:37
Which AWS database should you use? I often joke that the future role for DBAs was going to be deciding which of AWS's 40 managed databases a given workload should be on.
EvanHOST
29:00
Postgres is fine if you want to go the SQL route.
EvanHOST
29:02
If you like a DynamoDB, that's great here too.
EvanHOST
29:05
Don't overthink this decision.
EvanHOST
29:07
It's not the most important thing given there are no kind of key insights like really high write throughput or something that's going to dictate us making a different decision.

18 MINS LATER

EvanHOST
47:34
And so in our current implementation, we're going to run this big expensive query, which if we're aggregating over 100,000 things here, this might take several seconds to run.
EvanHOST
47:44
Additionally, it's going to cost a decent amount of money if this is 100,000 entries Each entry that it needs to aggregate over is a couple hundreds of bytes.
EvanHOST
47:54
Like if this was DynamoDB, and I think that we've determined maybe it's Postgres, but it doesn't really matter as an estimate.
EvanHOST
48:00
This is like on the order of 50 bucks per query.
EvanHOST
8:11
Ideally, you've either already been a staff engineer somewhere or you've been executing at a high level as a senior engineer, and you're going to be able to leverage that hands on experience in your interview to show off the places where you know more about something than somebody else.
EvanHOST
8:24
So for example, if you've been working at Amazon, you've been working on DynamoDB and you introduced DynamoDB during your interview, then this is a place where you're naturally gonna go deeper.
EvanHOST
8:32
You're gonna talk about all of the intricacies of scaling, the challenges that you've had working with DynamoDB in the past, the introduction of DAX, things of this nature, maybe DynamoDB streams coming off, et cetera.
EvanHOST
8:44
Now, a lot of people don't have that hands on experience and they don't have the hands on depth.
EvanHOST
8:48
This is natural.
EvanHOST
9:15
You'll understand the challenges that the engineers at these companies, the staff engineers at these companies have faced when designing these large scale systems.
EvanHOST
9:24
White papers as well.
EvanHOST
9:25
The DynamoDB example, DynamoDB white paper.
EvanHOST
34:10
It's going to be super slow on Cassandra in particular.
EvanHOST
34:13
But the reality is it would actually still be really slow on Postgres, DynamoDB, et cetera, especially as you open up these time windows, realizing that there's 10,000 of these clicks per second.
EvanHOST
34:23
That's a lot of rows to munch, aggregate, and count.
EvanHOST
34:27
So for that reason, when an advertiser goes to hit the query service, this isn't going to satisfy those non-functional requirements, which require that this be pretty fast, right? Less than one second.
EvanHOST
36:29
Now, given how simple actually our functional requirements are of just looking at ad click data over time windows, OLAP is probably not necessary.
EvanHOST
36:36
Like you could use anything here.
EvanHOST
36:38
You could use a DynamoDB, you could use Postgres, whatever.
EvanHOST
36:42
but in a real system you would have a lot more dimensions that you could query by in which case OLAP becomes more more interesting more necessary let me make this arrow be the other direction okay and then spark needs some way to start so let me just kind of throw that here so cron scheduler boom So what's going to happen here is we're going to have this cron job.
EvanHOST
31:39
If you go through a full senior interview and you don't show me explicitly evidence that you've been there, done that.
EvanHOST
31:45
And usually the way that candidates can do this really well is like, you know, I'm going to go with DynamoDB here.
EvanHOST
31:49
It's something that we've used at work.
EvanHOST
31:50
I know I've run into these challenges in the past, so I'm going to make sure that I enable DAX here and partition on this, whatever it may be.
EvanHOST
36:44
um okay perog answer or ask the question here he says how should i handle situations when i want to use a technology that i'm not familiar with so for example you're designing a stock trading app and i know that i want to use a time series database but i'm blanking on how it's set up um so a couple of things that i would suggest here first taking a step back as i prepare or as i would recommend you prepare for system design interviews I would grab a couple of core technologies that you wanna know pretty well.
EvanHOST
37:12
We've started to accumulate some deep dives on Hello Interview.
EvanHOST
37:15
I think we have Redis, DynamoDB and Kafka.
EvanHOST
37:19
So there's one for your message queue, there's your cache, there's a database as well.
EvanHOST
34:09
And this really could be anything.
EvanHOST
34:10
This could be DynamoDB, this could be Postgres, it doesn't matter.
EvanHOST
34:13
This is quite simple.
EvanHOST
34:14
There's kind of no strong requirements there on the database type.

30 MINS LATER

EvanHOST
64:45
If it doesn't, do put it on the worker.
EvanHOST
64:47
And now the real question becomes, how? How do we do that check? And how do we make that check be efficient enough? And so one thing that we can do, and I think this is probably the best answer, is that you can add just a global secondary index.
EvanHOST
65:01
I think we said we were using DynamoDB here.
EvanHOST
65:03
Anything would work, but... just to make this all tie together i'm going to say we're using dynamodb and so i'm going to add a global secondary index on this hash and so this should make this quick up pretty efficient this is going to be log n now and it should be more than good enough in us to be able to check for that inclusivity especially since we're bottlenecked mostly on this IO, not on this IO.
EvanHOST
73:56
What this basically means, and this arrow is an abstraction, I wanna be clear about that.
EvanHOST
74:00
But any change that's made to your database, you have an event stream, and it basically puts on a stream like Kafka, for example, if you're using Postgres, DynamoDB has DynamoDB streams out of the box.
EvanHOST
74:10
but it's going to put those events on a stream.
EvanHOST
74:13
And then we can have some consumer here that for every change in our Postgres database or whatever database we chose here, we're going to also make those updates in Elasticsearch.
StefanHOST
32:01
First of all, Elasticsearch is probably not going to be your primary database.
StefanHOST
32:05
While the API that I described looks a lot like a typical document database, Elasticsearch's durability and availability guarantees aren't actually that good, and over time, most people have relied on setting up a primary data source, be it Postgres or DynamoDB, and then using Change Data Capture, CDC, to basically push updates from that database into Elasticsearch.
StefanHOST
32:31
The idea here is Elasticsearch is going to be a little bit behind your database, but it will have all the updates.
StefanHOST
32:38
The next thing is Elasticsearch is going to work best with read heavy workloads.
EvanHOST
14:35
The obvious example where key value stores are super valuable is for caches like Redis, which are absolutely perfect for storing really hot data, typically in front of a database, like we have in this example here.
EvanHOST
14:46
But there are primary databases like DynamoDB that is fundamentally a key value database, but DynamoDB adds a bunch of document-like features on top, so it's a key value document store, somewhere in between the two that we've just described.
EvanHOST
15:01
So why does all this matter? Again, Evan, bring it back to interviews, right? In practice, you're rarely gonna use a pure key value store as your primary database, but you will certainly put it in front of your database as a quick key value cache.
EvanHOST
15:16
And so the example here would be that I have my server, I've got all my data stored in my database, in a relational database, but maybe I need to have users' feeds And so those feeds are here, a feed for user one, two, three, that's its key.
EvanHOST
45:07
If it was a SQL database like Postgres or something, then we would use normalization and we would have another chunks table over here that has our chunk information with some foreign key back to the metadata.
EvanHOST
45:18
I'm actually going to opt for going with DynamoDB.
EvanHOST
45:21
SQL database and I'm just going to add it directly on this object then so I'm going to have a chunks and it's going to be a list of chunks and so what chunks are going to have then each specific chunk item in this list is going to have an id it's going to have maybe the status and it's going to have you know its own s3 link Right? So we have a list of all of our chunks.
EvanHOST
45:49
So step one, we took our 50 gigabyte file.

39 more episodes mention Amazon DynamoDB.

Create an account to see the whole feed, search across every transcript, and follow the entities you care about.

We value your privacy

We use cookies to understand how you use our platform and to improve your experience. Click “Accept All” to consent, or “Decline non-essential” to opt out of non-essential cookies. Read our Privacy Policy.