BetterDev #189 - How Buffer Pool Works and Reconnecting your application after a Postgres failover
Better Dev #189 Feb 22, 2021
a database need to read and write data from disk in an efficient manner. And the answer to that is: buffer pool. In this post, we’ll explain how a buffer pool manager works and how to implement one in Go
The most important thing to know about client-side HA is that when a failover happens, the connections to Postgres are lost. Your application will get an error when trying to use the previously established connection, without any way to anticipate the situation.
What exactly the database does during a transaction? How it writes to disk? How it accesses memory? How is checkpoint is created and managed. Even if you aren’t using MySQL, it’s still worth a read.
pull, commit and push are probaly most used git command. To be efficient, productive and wield the full power of git however, one needs to know a few more commands and tricks. We will explore some of the easy to use, remember and configure features of git, that might make your time dealing with version control so much more enjoyable.
Subqueries are a SQL feature that allow writing queries nested inside a scalar expression in an outer query. Using subqueries is often the most natural way to express a given problem, but their use is discouraged because most databases struggle to execute them efficiently. This post gives a rough map of existing approaches to optimizing subqueries and also describes how Materialize differs from them.
In JS, you can call function without passing a full arguments, that bring flexibility but come with a performance cost It turns out that, with a clever trick, we can remove this extra frame, simplify the V8 codebase and get rid of almost the entire overhead. We will learn about that today
Look into the techniques that empower JavaScript to rank higher in techempower benchmark. Note that the techniques are optimized for benchmark, don’t expect those numbers/techniques in your normal workflow/framework.
An interesting and weird encryption scheme of Synology NAS due to they cannot force HTTPS on local lan.
A 114 pages PDF file. I think it’s interesting to gain some low-level knowledge of memory. Sometime I tried to gain this kind of knowledge by searching all over the internet and glue them together. It’s great to have this single PDF file I can look into now.
A curated collection of publicly available resources on how technology and tech-savvy organizations around the world practice Site Reliability Engineering (SRE)
Code to read
RIMS is Ruby IMap Server. This gem provides a complete IMAP server by itself. The IMAP server can run as a daemon, mailboxes are provided and messages can be delivered to them
Video
Tools
a framework for building tiny, blazing fast binaries for all major desktop platforms. Developers can integrate any front-end framework that compiles to HTML, JS and CSS for building their user interface. The backend of the application is a rust-sourced binary with an API that the front-end can interact with.
A fast HTTP enumerator that allows you to execute a large number of HTTP requests, filter the responses and display them in real-time.
The AWS exploitation framework, designed for testing the security of Amazon Web Services environments.
The simplest way to de-Google your life and business: Inbox, Calendar, Files, Contacts & much more
Hanami is a service that allow you to forward email from your domain to personal email and sending email through your domain as well. You can also create unlimited alias on your domain and all of them will be foreward to your personal email.
SponsorYou can view this issue in web browser.
If you have any suggestion/feedback, do tell me by replying to this email. I read them all.
No longer want to receive these emails? Unsubscribe
Older messages
BetterDev #187 - Build a Regex Engine in Less than 40 lines of code
Tuesday, February 9, 2021
Better Dev #187 Feb 08, 2021 This week is a short issue since I have been focus a bit on my side project, hanami, an email forwarding service that support webhook and SMTP as well. Give it a try if you
BetterDev #186 - What am I running inside my bash
Monday, February 1, 2021
Better Dev #186 Feb 01, 2021 Happy February everyone. Time flews so fast these day. Cannot imagine it is amost one year since the world started to deal with COVID. Last week I launched my side project,
BetterDev #185 - KindleDrip — From Your Kindle’s Email Address to Using Your Credit Card
Tuesday, January 26, 2021
Better Dev #185 Jan 25, 2021 Beside our normal link, this week I want to say about what I have been working on. Due to lock down policy, I have more time to work on my side project. Today I'm
BetterDev #184 - User-defined Order in SQL and and Building DigitalOcean's API gateway
Monday, January 18, 2021
Better Dev #184 Jan 18, 2021 User-defined Order in SQL How do you design a system that allow user to define their own ordering of item in SQL. The challenge is that the order is arbitrary and can
BetterDev #183 - General Guide For Exploring Large Open Source Codebases
Monday, January 11, 2021
Better Dev #183 Jan 11, 2020 Hi everyone, second issue of 2021. Hope you stay positive and healthy. If you have any feedback, hit me at vinh@betterdev.link. Until next time! General Guide For Exploring
You Might Also Like
Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator
Friday, February 14, 2025
What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Defining Your Paranoia Level: Navigating Change Without the Overkill
Friday, February 14, 2025
We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy
5 ways AI can help with taxes 🪄
Friday, February 14, 2025
Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help
Recurring Automations + Secret Updates
Friday, February 14, 2025
Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
The First Provable AI-Proof Game: Introducing Butterfly Wings 4
Friday, February 14, 2025
Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%
GCP Newsletter #437
Friday, February 14, 2025
Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers
Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰
Friday, February 14, 2025
Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from
The Great Social Media Diaspora & Tapestry is here
Friday, February 14, 2025
Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great
Daily Coding Problem: Problem #1689 [Medium]
Friday, February 14, 2025
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,
📧 Stop Conflating CQRS and MediatR
Friday, February 14, 2025
Stop Conflating CQRS and MediatR Read on: my website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your