BetterDev #149 - What if Two Processes Write to the Same File simultaneously
Better Dev #149 Apr 27, 2020
Hi everyone, Welcome to issue #149.
Given the current economy, many companies are looking to reduce infrastructure cost, many migrations need to be done. In this issue, I shared a few articles about system migrations.
Last week I post a link about Free Online Courses from hardvard. This week, I found out MIT OpenCourseWare Youtube Channel with lots of topic from computer science to physic. Check them out.
What if your open the same file in several processes and you write to it simultaneously? What is the result? Do these process share the same file offset when they try to write? What about writing to the same file in the same process using different threads?(Take Linux for example.)
Even though it is impossible to ignore how databases work, the problems that application developers foresee and experience will often be just the tip of the iceberg. In this series, she share a few insights that useful for developers who are not specializeed in database domain.
…and how we rewrote the heart of sync with confidence. On same topic of testing large scale system, you can also checkout How Vector, an log pipeline system like FluentD/LogStash, test their system
needless to say, many will encounter this. We started small, using this provider, then move to AWS, or found that AWS is too expensive, and move out. The primary point is using an intermediate server to replicate data.
Line is a messaging app. They have crazy spike on December 31st when users share New Year’s greeting. They shares their effort to prepare for these spikes. How they write benchmark tool, prepare visualization to see the difference.
TCP is supposed to guarantee that all bytes sent by one endpoint of a connection will be received, in the same order, by the other endpoint. In this article we’ll identify and demonstrate a wrinkle in the Linux implementation of TCP SYN cookies. The client can connect and send two packets, but the server’s TCP stack delivers the data in the second packet to the application, unaware that it is not the first packet in the stream.
The article also contains lot of link to other tool such as AWS Firewall Manager, Security Hub, Guard Duty to help you secure your AWS account. I usually won’t link to these list of tooling articles but on second though I think it’s indeed useful and provide real value
This is part of a self-published book project by Balthazar Rouberol and Etienne Brodu. If you spend a good chunk of your day repeatedly hitting the left and right arrow keys to navigate in long commands or correct typos, or hitting the up or down arrow keys to navigate your command history, this chapter should help you get more done quicker.
DNS is a globally distributed hierarchical database that maps domain names to Internet hosts throughout the world. It evolve using a single HOSTS.txt file to map domain to ip address. The DNS distributed database is an inverted tree indexed by domain names. Taken together, the entire tree is called the domain namespace and represents the entire set of Internet domain names.
A short tip to find out where a Postgres config is definied. Is it from environment variable, from config file, store inside system table?
Dashbit has been monitoring 100,000’s of serverless backend components for 2+ years at Dashbird. In their experience, Serverless infrastructure failures boil down to: 1) Throughput and concurrency limitations. 2) Increased latency; 3) Timeout errors.
This cheat sheet offers an overview of current security best practices for developers building OAuth 2.x client applications
Ever forgot the name of a tool and have to search your own note, do some quick google? Well, this note has all of them. Also, another tool is the Linux proc file system can be used to troubleshoot
Code to read
Literally a Chaos Monkey for your Kubernetes clusters. A game, a bit like mario, but whenever you destroy a crate, it randomly kill a pod in your K8S cluster.
PythonResource monitor that shows usage and stats for processor, memory, disks, network and processes. Implement in pure bash
BashHave write a Slackbot and deal with dialog, button, callback, action button …all that’s crazy thing. This framework is really cool and abstract them into something similar to React component.
TypeScriptA very nich package though. It allows reading and creating ISO9660 disk image. Good code base to read if you want to see how disk images are created.
GoPure Ruby implementation of an SSH (protocol 2) client. You will learn a lot about socket, encryption, authentication
Rubya pixel-based digital circuitry simulator running in your browser, using WebAssembly. Checkout the amazing demo
RustVideo
eBPF is like JavaScript for Linux kernel. Also checkout the slide.
Tools
built for IT security professionals and bug hunters to gather intelligence about a given target or about yourself. sn0int is enumerating attack surface by semi-automatically processing public information and mapping the results in a unified format for followup investigations. Thing it can do: Harvest subdomains from certificate transparency logs and passive dns, Enrich ip addresses with asn and geoip info,…
A CLI tool to help you access gmail data using OAuth authentication. Some use case: fetch gmail label and store it into a local db to backup email
Postgres Explain Visualizer 2. It isn’t a standalone tool but a component to use in your JS app, however, they have a demo where you can see how it works
an open-source key-value database. which is based on rocksdb and compatible with Redis protocol.
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 #148 - DIY Single Sign-On for SSH and System design for advanced beginners
Monday, April 20, 2020
Better Dev #148 Apr 20, 2020 Hi everyone, Welcome to issue #148. I got quite a bit of stuff, code and tooling. Lot of fun thing like tool to write books, podcast cli. I also included more videos link
BetterDev #147 - How Much of a Genius-Level Move Was Using Binary Space Partitioning in Doom and Migration ZooKeeper into Kubernetes without downtime
Monday, April 13, 2020
Better Dev #147 Apr 13, 2020 Hi everyone, The world continue to need video chat software that secure and reliable. WebRTC is utilized a lot to quickly build your own tool. In this issue, I had 2 code
BetterDev #146 - Security Engineering: A Guide to Building Dependable Distributed Systems
Tuesday, April 7, 2020
Better Dev #146 Apr 6, 2020 Hi everyone, Memory Leak, Security, Low level systems: sound system and linux kernel module and how Slack deploy their system. I got them all this week :). Hope you like
You Might Also Like
JSK Daily for Nov 27, 2024
Wednesday, November 27, 2024
JSK Daily for Nov 27, 2024 View this email in your browser A community curated daily e-mail of JavaScript news JavaScript Certification Black Friday Offer – Up to 54% Off! Certificates.dev, the trusted
Ranked | The World's Biggest Importers of Goods 🌎
Wednesday, November 27, 2024
As Trump tariffs are anticipated to disrupt global trade and push up prices for consumers, we show the world's biggest importers of goods. View Online | Subscribe | Download Our App >> 📱Book
Daily Coding Problem: Problem #1621 [Easy]
Wednesday, November 27, 2024
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. A regular number in mathematics is defined as one which evenly divides some
Spyglass Dispatch: The Xitter Bail Out • OpenAI Tender • Grokking Grok • Smartphone Sales • Fischer Random Chess • Scott Bessent for Treasury
Wednesday, November 27, 2024
The Xitter Bail Out • OpenAI Tender • Grokking Grok • Smartphone Sales • Fischer Random Chess • Scott Bessent for Treasury The Spyglass Dispatch is a free newsletter sent out daily on weekdays. Feel
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. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏