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
The Long Road Home: A Story of Loss, Learning, and Renaissance - PART 4
Wednesday, November 27, 2024
Top Tech Content sent at Noon! How the world collects web data Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, November 27, 2024? The HackerNoon
Top Tech Deals 🏷️ PS5 Slim, 4K TVs, 10th Gen iPad, and More!
Wednesday, November 27, 2024
The Black Friday madness is here! How-To Geek Logo November 27, 2024 Top Tech Deals: PS5 Slim, 4K TVs, 10th Gen iPad, and More! The Black Friday madness is here! Black Friday sales are here, and we
The 165+ best Black Friday deals
Wednesday, November 27, 2024
Windows Super God Mode; Bluesky starter packs; Tech gifts under $100 -- ZDNET ZDNET Tech Today - US November 27, 2024 Black Friday 2024 live blog Best Black Friday deals 2024: 165+ sales live now
⚙️ Neuralink's new trial
Wednesday, November 27, 2024
Plus: Zoom is becoming an AI-first company
Matrix Botnet Exploits IoT Devices in Widespread DDoS Botnet Campaign
Wednesday, November 27, 2024
THN Daily Updates Newsletter cover The AI Value Playbook ($35.99) FREE for a Limited Time Business leaders are challenged by the speed of AI innovation and how to navigate disruption and uncertainty.
The Sequence Chat: Why are Foundation Models so Hard to Explain and What are we Doing About it?
Wednesday, November 27, 2024
Addressing some of the interpretability challenges of foundation models and the emerging fields of mechanistic interpretability and behavioral probing. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Overcoming Perfectionism: How to Break Free from the Enemy of Progress
Wednesday, November 27, 2024
Discover how perfectionism hinders progress and learn practical strategies to overcome the fear of imperfection, boost productivity, and achieve your goals without getting stuck in the pursuit of
🖤 Laravel Black Friday Deals!
Wednesday, November 27, 2024
The biggest deals of the year Laravel Black Friday Deals View in browser Laravel News Editor Note: We are sending this outside the regular Sunday newsletter schedule because some of these specials end
BetterDev #271 - Memory: The Forgotten History and Why did Windows 95 setup use three operating systems?
Wednesday, November 27, 2024
Better Dev #271 Nov 26, 2024 Hi all, Welcome to thanksgiving issue of BetterDev. Hope everyone had a safe and warm thanksgiving. It's getting so cold these days. If you are in warzone such as
Mapped | Unemployment Rate By U.S. State in 2024 💼
Tuesday, November 26, 2024
As of October 2024, DC and Nevada tied for the highest unemployment rate in the US at 5.7%. Which states saw the lowest rates? View Online | Subscribe | Download Our App FINAL CHANCE - ENDS TONIGHT!