BetterDev #224 - How a Single Line of Code Made a 24-core Server Slower Than a Laptop
Better Dev #224 Jan 4, 2022
Imagine you wrote a program for a pleasingly parallel problem, where each thread does its own independent piece of work, and the threads don’t need to coordinate except joining the results at the end. Obviously you’d expect the more cores it runs on, the faster it is. You benchmark it on a laptop first and indeed you find out it scales nearly perfectly on all of the 4 available cores. Then you run it on a big, fancy, multiprocessor machine, and it sank.
Crunch Data hosts many postgres instance as a cloud offering. While onboarding customer after customer this year they’ve noted a few key things everyone should put in place right away - to either improve the health of your database or to save yourself from a bad day
Skyscanner team accidentally submitted an incorrect change to the templating of infrastructure provisioning system. This deleted all of the microservices responsible for serving skyscanner.net and data to mobile app from the underlying infrastructure across the entire globe, causing a four-hour outage
Over the past few years, I’ve interviewed with a dozen or so companies and have completed ~50 or so individual algorithm problems. I’m frequently given feedback that I did a great job at the algorithms problem. In this post, I’m going to share how exactly I approach algorithm problems.
You don’t understand something until you sit down and write it yourself. When removing all extra functionality, and focus on a minimun level, what make a blockchain? Example, a key-value store can just be a Hashmap, as its core. What information a block hold? how they connect?
Steps to troubleshot and recover data once you don’t have backup, and many files of Postgres are corrupted. Query to select throw error could not read block 912 in file “base/16504/278344”: read only 0 of 8192 bytes.
Modern hardware has many instruction that help with JSON parsing such as AVX2 and SIMD. In this post, we will see how Flare deserializes JSON documents stored on disk using a very fast bespoke, sparse, vectorized deserializer. It’s Rust but the though process can be applied to any field
Code to read
a free and open-source application that can monitor your netowkr, block connection, URL filtering, written in Go with a desktop UI.
Goa terminal puzzle game inspired by the classic “Minesweeper”, written in Ruby. you will learn game loop, game grid concept here
RubyReusable JavaScript library for creating sketchy/hand-drawn styled charts in the browser
JavaScriptTools
free, easy-to-use tool to help you collect, organize, cite, and share research and open source on github
Timeseries Anomaly detection and Root Cause Analysis on data in SQL data warehouses and databases
You 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 #223 - Roll your own network and Cache Poisoning at Scale
Tuesday, December 28, 2021
Better Dev #223 Dec 27, 2021 Roll Your Own Network An extensive guide to self hosted many cloud service in your own network, from hardware to software to network configuration. All done by you. Cache
BetterDev #222 - How does NTP works and The team that powers VLC
Tuesday, December 7, 2021
Better Dev #222 Dec 07, 2021 Hi all, It's almost the end of year. BetterDev has been 3 years. I never focus on growing it. All I do is just send out newsletter from thing I think will help everyone
BetterDev #221 - How JavaScript engines achieve great performance
Tuesday, November 30, 2021
Better Dev #221 Nov 29, 2021 Hi all, It has been 3 weeks without an issue and I miss BetterDev myself. We're planning for some new release of a new version of BetterDev to also contribute useful
BetterDev #220 - How to build an Anycast network
Tuesday, November 2, 2021
Better Dev #220 Nov 2, 2021 How to Build an Anycast Network An anycast network is two or more servers advertising the same IP address from different locations. This is useful for globally distributed
BetterDev #219 - How to win at CORS and How Microsoft reduced Windows 11 update size by 40%
Monday, October 18, 2021
Better Dev #219 Oct 18, 2021 How to win at CORS CORS is complicated because it's a standard implement on client side, by browsers. it's up to browser to do what it wants or needs to implement.
You Might Also Like
a16z’s Infrastructure team gets a new general partner
Friday, April 19, 2024
Post News is shutting down and Wall Street isn't feeling a Salesforce-Informatica pairing View this email online in your browser By Christine Hall Friday, April 19, 2024 Image Credits: Andreessen
New Roundtable! Additive for Mass Production Applications
Friday, April 19, 2024
The Outlook for the Future View this email in your browser engineering.com Roundtable - Additive for Mass Production Applications: The Outlook for the Future 6 Considerations for Choosing the Right
📷 What to Know About Macro Photography — Why You Should Buy a Budget Motherboard
Friday, April 19, 2024
Also: How to Automatically Highlight Values in Excel, and More! How-To Geek Logo April 19, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your
Is the wind going out of the AI sails?
Friday, April 19, 2024
Rippling vacuums up venture capital and Ramp bags more millions View this email online in your browser By Haje Jan Kamps Friday, April 19, 2024 Image Credits: Getty Images / Carol Yepes Welcome to
Llama 3 is out - Weekly News Roundup - Issue #463
Friday, April 19, 2024
Plus: brand-new, all-electric Atlas; AI Index Report 2024; Microsoft pitched GenAI tools to US military; Humane AI Pin reviews are in; debunking Devin; and more! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Daily Coding Problem: Problem #1417 [Easy]
Friday, April 19, 2024
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Wayfair. You are given a 2 x N board, and instructed to completely cover the board with
Charted | How Hard Is It to Get Into an Ivy League School? 🎓
Friday, April 19, 2024
We detail the admission rates and average annual cost for Ivy League schools, as well as the median SAT scores required to be accepted. View Online | Subscribe Presented by: Discover the motivations
Dark Matter & Tortured Poets
Friday, April 19, 2024
New music releases aren't what they used to be -- for good and bad. Dark Matter & Tortured Poets By MG Siegler • 19 Apr 2024 View in browser View in browser New music releases in 2024 are a
Impact of AI on Product Management
Friday, April 19, 2024
Impact of AI on Product Management The rise of the AI Product Manager. Product managers have always championed customer's needs. However, with AI, the job requires new technical and ethical
⚙️ Zuck has entered the chat(bot)
Friday, April 19, 2024
Plus: AI video's coming to mobile!