Skip to content →

Lee's Blog Posts

Notes on Database Replication

Benefits of replication Increase availability – if one database goes down, it doesn’t bring down the entire system. Reads can start being sent to the replica. Decrease latency – having a replica database geographically closer to a user provides a faster response (e.g CDNs) Increase throughput – Having more databases…

Leave a Comment

Presigned URLs on S3

By default, objects on S3 are private. But what if you want to allow others to download an object, but you don’t want to deal with user creation and IAM policies? One way to achieve this is by distributing a presigned URL to the object. A presigned URL is a…

Leave a Comment

Best of May 2020

May was a very challenging month for me, and millions of other people around the world. As one of my friends told me, These days I’m finding it hard to answer even the most basic questions, like, “How’s it going?” Despite it all, there were a few things that I…

Leave a Comment

Just in Time (JIT)

JIT came up with learning about the JavaScript V8 Engine. A blog post I read said, V8 gets its speed from just-in-time (JIT) compilation of JavaScript to native machine code, just before executing it. source So what is JIT. It is an acronym for Just in Time. But really, it…

Leave a Comment