
I write about #Python on the internet. Maintainer of https://nitter.cf/t.co/oQDzVUsuTe, a Python feed reader library.
Joined January 2023
- Tweets203
- Following43
- Followers87
- Likes586
death and gravity retweeted
Ordered key sharding in DynamoDB
So, you want to keep a sorted index in DynamoDB, but for whatever reason – usually throughput-related – it won't fit on a single partition. What do you do? Today, we look at the available solutions, do the math, and find out which is best.
death.andgravity.com/albumti…
The last part of my DynamoDB crash course is out, the one on how to deal with it being as low level as it is death.andgravity.com/dynamod…
reader 3.25 is out, now with feed autodetection! (so you don't have to hunt #RSS URLs with view-source: anymore) (early release because of some migration bugs 😅)
New article up: Learn Python object-oriented programming with Raymond Hettinger (thank you, @raymondh!) death.andgravity.com/hetting…
New article up: DynamoDB crash course: part 2 – data model (what the main abstractions are, what you can do with them, and how they scale) death.andgravity.com/dynamod…
BTW, that diagram was made with pikchr.org, which I can't recommend enough.
While the AWS documentation is *mostly* comprehensive, it's also all over the place, including some other places that aren't the documentation at all, like the AWS blog (it's ok, it's Amazon).
death and gravity retweeted
DynamoDB crash course: part 1 – philosophy
This is part one of a series covering core DynamoDB concepts and patterns, all the way up to single-table design; the goal is to get you to understand idiomatic usage and trade-offs in under an hour. Today, we're looking at what DynamoDB is and why it is that way.
death.andgravity.com/dynamod…
death and gravity retweeted
When to Use Classes in Python? #python death.andgravity.com/same-fu…
Ever wanted to run #async code from sync code in #Python? With github.com/lemon24/asyncio-t…, now you can!
death and gravity retweeted
When to Use Classes in Python? bit.ly/3UastEU
New article up: Inheritance over composition, sometimes death.andgravity.com/over-co…
New article up: ProcessThreadPoolExecutor: when I/O becomes CPU-bound death.andgravity.com/ptpe
death and gravity retweeted
Replying to @charliermarsh @alsuren
And you can’t do this if dependency/env resolution isn’t super fast. (Or at least the experience isn’t as nice.) Performance is a feature that unlocks other features.
death and gravity retweeted
A Priority-Expiry LRU Cache Without Heaps or Trees #python death.andgravity.com/lru-cac…
reader 3.12 is out! This release splits the search index into a separate database, and adds an internal change tracking API.
death.andgravity.com/reader-…
death and gravity retweeted
If you are preparing for interviews or want to know the nitty-gritty of LRU cache you should read this. Long but a very good one. @_andgravity explained stuff amazingly with code & test cases.
#python #Programming #WebDevelopment #TechNews #OpenSource
death.andgravity.com/lru-cac…
death and gravity retweeted
A Priority-Expiry LRU Cache Without Heaps or Trees bit.ly/491hC5A








