Original link: https://zdyxry.github.io/2022/10/16/Weekly-Issue-2022-10-16/
article
technology
Agentless observability platforms, machine learning infrastructure, tabular systems, security, VPNs, BaaS, version control.
Choose the best Docker image for your Python application
How to choose a container image is a question that needs to be carefully investigated and weighed. Considering all aspects, alpine is not a good choice.
Infrastructure Defined Software
- Puppet 2009, Salt 2011, Ansible 2012
- CloudFormation 2011, Terraform 2014
- Pulumi 2017, AWS CDK 2019
- What’s next?
Introductory practice of vernacular Kubernetes
A series of articles about kubernetes by the author of k8e, which is continuously updated.
The proxy that connects Cloudflare to the internet – how Pingora was built
Why Linkerd doesn’t use envoy.
- 复杂度、资源消耗、安全。- But what if we have a requirement to use Envoy? I would argue that's not a real requirement. Your job is not to adopt a particular piece of technology. Your job is to solve a problem. And if your problem is “we need to build a reliable, secure, and observable Kubernetes platform without paying an insane complexity cost” then I highly suggest you consider taking a look at Linkerd.
Docker: How To Extract Image Filesystem Without Running Any Containers
How to export the container image filesystem without running the container
$ docker pull nginx $ CONT_ID=$(docker create nginx) $ docker export ${CONT_ID} -o nginx.tar.gz
Why does the TCP protocol have performance problems (1)
The weak network environment is a special scenario with a high packet loss rate. TCP performs poorly in similar scenarios. When the RTT is 30ms, once the packet loss rate reaches 2%, the TCP throughput will drop by 89.9% 3 . In the table below we can see that packet loss has a very significant impact on TCP throughput:
Why use [[CUE]], compared [[jsonnet]], [[Dhall]] and [[CUE]].
[[Dagger]] and [[Acorn]] also adopted [[CUE]]
Sit tight, old drivers – pushing Amazon EC2 to Amazon S3 data transfers to 100Gbps line speeds
The answer is very yes: in any Amazon cloud technology region in the world, the default data transfer bandwidth from Amazon EC2 to Amazon S3 can reach up to 100Gbps .
After more than ten years, the most fallible Go syntax is finally about to change
“The problem of using variables in for loops”. https://github.com/golang/go/discussions/56010
Move a running process into a tmux session
Move a process into tmux via reptyr
Ansible you hurry up: Ansible execution process analysis, asynchronous, efficiency optimization
Speed up by modifying ansible configuration, SSH configuration, and using third-party Mitogen plugins.
Docker: How To Debug Distroless And Slim Containers
Use namespace and kubectl debug to start a temporary container for debugging. More details on kubectl debug: Kubernetes Ephemeral Containers and kubectl debug Command
- Nix is getting hotter now: “a more formal team structure around development ( link ), new startups built around Nix, 30% YoY user growth ( link ), and exponential growth in GitHub stars.” But Nix is still really popular Difficulty, Nix syntax, ongoing maintenance of packages, usage scenarios.
- Do users really need NixOS? I wanted to prepare my own development environment through NixOS, but the development environment rarely needs to be reconfigured. Basically, one configuration can be used for many years. If you really need to reconfigure the development environment, it is usually time to update your own development tool chain. , it seems good to experience fresh tools?
Skyfall: eBPF agent for infrastructure observability
linkedin uses eBPF to collect network related metrics.
Smoothed RTT (Round trip time): The predicted RTT value obtained by applying a smoothing factor to it, which is also used to adjust the RTO (Retransmission timeout) value. We are collecting this metric to measure the contribution of the network to overall performance .
RTT variance: An indication of path jitter. TCP uses this value, combined with SRTT, to compute the RTO. We are collecting this metric to detect transient network issues.
Packetloss and Retransmits: These metrics are being collected to monitor network performance.
Sending congestion window size: Congestion window controls the number of packets a TCP flow may have in the network at any time.
How Product Teams Can Build Empathy Through Experimentation
- Empathy, thinking about the product as a real user.
- When you’re building things, whether you’re a visual designer, or a designer of an API, or a PM, or anybody who’s building something, lean into trying to put yourself in the shoes of the user. And if you can do that, not just at the beginning when you write down the specs, but all the way through the process, you make a better product in the end.
Several function parameter passing modes of Go
Golang parameter passing method, functional option pattern.
Problems with inotify:
Doesn’t support recursive directory watches
Can drop changes when a large number of filesystem events occur (fixed-sized buffer)
No native debouncing support when a large number of events occur
Race conditions (rename events and between different instances of inotify)
API issues (no event information about the process that changed the file, path names as the event data)
OAuth 2 Detailed Explanation (1): Introduction and Authorization Code Mode
Jiajun’s OAuth 2.0 series of blogs.
A Complete Guide to Working With Cookies in Go
Golang’s handling of cookies.
Short Taxonomy of Open-Source Strategies
Categories of open source strategies: recruiting, marketing, entering new markets, reducing competitor moats, establishing standards.
Go Worker Pool: The Concurrency Powerhouse
Step by step change a serial business to parallel.
Life
Empty City Plan and Workplace Survival Cheats
Talking about making is “needed”, but making it that way doesn’t feel “right”.
Wedding review and some experience sharing
Correct your mentality, who is the most important thing in this wedding, who is it for, and want to understand this issue, and then other issues will depend on whether these people will be happy or not.
The National Day just happened to attend a friend’s wedding. The wedding needs a project manager to master the overall situation. The details are easy to distract and make people irritable.
Documentation that teaches you how to write documentation.
Really good works can only be found by yourself
Good works will not be too routine, because aspiring creators are always trying to break through and innovate, so not only will the production efficiency not be too high, but readers will need a certain amount of patience and intelligence to get better. What people think is good is not necessarily good for them.
How the largest open source companies got their first 1k community members
How to get 1k users? hackernews, meeting, focus on early adopters.
Double Speed Play: The Consumption and Alienation of Youth’s Leisure Time
Behind the double-speed playback, it reflects the transformation of the logic of capital proliferation from the industrial society and the consumer society to the Internet society. Capital has changed from the original logic of squeezing labor time to promoting commodity consumption in leisure time, and finally to finding ways to occupy people’s leisure time itself.
To a certain extent, the double-speed broadcasting can be seen as the active adaptation of the youth to the rhythm of the fast era and the resistance to the logic of capital, which highlights the subjectivity of the youth. However, even if young people choose to play at double speed, it is still difficult to break free from the logic of capital domination.
In the game between youth and capital, capital has won the double victory of increasing playback time and improving playback efficiency, but youth has failed to gain doubled freedom and happiness, resulting in the alienation of leisure time. Double-speed playback is the embodiment of the efficiency of leisure time and the epitome of double-speed life, but it is not necessarily a shortcut to freedom and happiness.
book shadow
“Bullet Train”: fight fight fight kill kill.
“Homecoming”: It doesn’t feel as good as “Wolf Warrior”.
“Trap”: series, reasoning and funny, easy entertainment.
Lonely Walk on the Moon: Not funny.
“Take One: The Ultimate One”: The Idealist’s Show.
“Terraform: Implementing Infrastructure as Code in a Multi-Cloud and Hybrid Cloud Environment”: I plan to build a Provider recently, and re-read the book to understand the usage posture.
This article is reprinted from: https://zdyxry.github.io/2022/10/16/Weekly-Issue-2022-10-16/
This site is for inclusion only, and the copyright belongs to the original author.