Debugging a Slow DynamoDB Query

Recently I was talking to a friend about a website that he’s building. Without going into too much detail, his site consists of a Blazor frontend, an ASP.NET Core backend API, and AWS DynamoDB as the persistence layer. He mentioned to me that upon startup, the first few calls to one of his API endpoints ran unexpectedly slowly, which piqued my curiosity. We ended up going down the profiling rabbit hole and eventually figured it out....

November 12, 2021 · 6 min · Pierce Bartine