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
😸 Never forget anything
Tuesday, May 21, 2024
Hey there! You might notice some updates to today's newsletter. I'd love it if you could hit the feedback button... Product Hunt Read in browser This newsletter is brought to you by TOP MEWS
GCP Newsletter #399
Monday, May 20, 2024
Welcome to issue #399 May 20th, 2024 News Gemini Official Blog Vertex AI Vertex AI at I/O: Bringing new Gemini and Gemma models to Google Cloud customers - Vertex AI updates from Google I/O '24.
SeekOut lays off staff
Monday, May 20, 2024
Plus: ChatGPT revenue heats up and Meta's Oversight Board pulls at a Threads case View this email online in your browser By Christine Hall Monday, May 20, 2024 Good afternoon, and welcome back to a
👋 Try These Samsung Galaxy Gestures and Motions — Tips to Free Up OneDrive Storage
Monday, May 20, 2024
Also: Using the Apple Watch as a Walkie-Talkie, and More! How-To Geek Logo May 20, 2024 Did You Know Despite what you may have been taught in school, there are only 4 Great Lakes, hydrologically
TechCrunch Space: Star(side)liner
Monday, May 20, 2024
The first crewed launch of Boeing's Starliner capsule has been pushed back yet again to no earlier than May 25. View this email online in your browser By Aria Alamalhodaei Monday, May 20, 2024
AI Consultants should have a 15-Minute Sales Call Funnel
Monday, May 20, 2024
Your feedback is clear. I'll build 'the AI Consultant program'
Daily Coding Problem: Problem #1447 [Medium]
Monday, May 20, 2024
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. Mastermind is a two-player game in which the first player attempts to guess
JTBD deep-dive - and a special announcement
Monday, May 20, 2024
Before we get to this week's Deep-Dive, we're pumped to announce that today is the official launch day for Today, we relaunch Gigantic, now powered by Product Collective. Gigantic helps product
⚙️ Exclusive Interview: Deeplearning.ai cofounder on the importance of regulation for job creation
Monday, May 20, 2024
Plus: The FTC has a few questions about AI & Colorado gets serious about AI regulation
2 weeks until the R&D 100 Final Deadline!
Monday, May 20, 2024
2 weeks until the R&D 100 Final Deadline! WTWH Media The 62nd R&D 100 Awards competition is nearing the end of its run, with the Final submission deadline being two weeks away. This esteemed