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
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