Weekly Issue 2022-08-28

Original link: https://zdyxry.github.io/2022/08/28/Weekly-Issue-2022-08-28/

article

technology

Steam Deck, Linux Container and the Arch Community

Regarding the introduction of [[Steam Deck]] OS, the bottom layer is [[Arch]] Linux, which adopts the A/B upgrade method, and the application adopts the [[Flatpak]] method to install and upgrade (to ensure security). Now that this OS is relatively light, it should be very mature for applications to adopt a containerized model.


Global Code Time Report

Encoding time report. The average coding time per day is less than 1 hour, with Wednesday being the most coding time, few developers spend more than 2 hours coding a day.


(A few) Ops Lessons We All Learn The Hard Way

Some “experienced” lessons. For example: in a service you don’t care about, it will resolve DNS to do some work. Turning off TCP 53 can do weird things. The source code being viewed is not the code running in production. If the failure recovery is not completed within a week, it may never be completed. Nobody knows what you are doing.


Slacker: Fast Distribution with Lazy Docker Containers

76% of the time is spent pulling images. The effective data that the container actually needs to run only occupies 6% of the image size.

In the image size, low-level (<9) data accounts for more than half of the image size.


The use and extension of the Desceduler component in Kubernetes

The Descheduler triggers the eviction of Pods to ensure a balanced distribution of resources in the cluster and achieve the DRS effect. The authors propose an improved evaluation method for Descheduler.


WHY YOUR WEBSITE SHOULD BE UNDER 14KB IN SIZE

Keeping the page size under 14KB guarantees loading speed.

Most server TCP slow-start algorithms start by sending 10 TCP packets. The maximum size of a TCP packet is 1500 bytes .

This maximum value is not set by the TCP specification, it comes from the Ethernet standard . Each TCP packet uses 40 bytes in its header – 16 bytes for IP and 24 bytes for TCP . Each TCP packet leaves 1460 bytes. 10 x 1460 = 14600 bytes or about 14kB. [[QUIC]] Likewise.


Amazon SageMaker Is Responsible for My Surprise Bill

AWS billing is so complicated that I don’t use it.


Devs don’t want to do ops

Discussions for developers and operators. In fact, according to VMware’s State of Kubernetes 2022 report , 54% of 776 respondents said better developer productivity was a key reason for Kubernetes adoption, with more than a third (37%) People say they want to improve operational efficiency.


The Value is in the API

Focusing on interface design is more important than focusing on implementation.


Designing Developer Velocity

How to improve development efficiency is usually analyzed from the perspective of use. The author lists some best practices.


The point of a dashboard isn’t to use a dashboard

The purpose of Dashboard is to allow all components of the system to provide data access interfaces, letting you know that you have control over the raw data.


6 Best Practices for Effective Readiness and Liveness Probes

Best practices for [[Readiness]] and [[Liveness]] on [[kubernetes]].

Adjust parameters appropriately according to the actual situation of the application: initialDelaySeconds , timeoutSeconds , periodSeconds , failureThreshold , successThreshold

Don’t just check for HTTP 200 return codes, you should check all application dependencies like database connections, cache connections.


Falling for Kubernetes

Sometimes using the [[kubernetes]] service in the public cloud is a better choice, but this premise is that someone maintains the [[kubernetes]] for you. If it is a private environment, maintenance should still be a big problem.

Life

Manual of personal financial management without bookkeeping

Individuals will record each of their expenses on a daily basis, and will also perform secondary corrections at a fixed time every month. But I don’t really control the budget, I just have a psychological expectation every month. I can try to clarify the budget settings for my various expenses and give it a try.


book shadow

“The Very Lawyer Yu Yingzhen”, the first half is very good, but the second half is not very good, the emotional entanglement of parents feels completely unnecessary, and the existence or motive of the male protagonist seems a bit abrupt.

This article is reprinted from: https://zdyxry.github.io/2022/08/28/Weekly-Issue-2022-08-28/
This site is for inclusion only, and the copyright belongs to the original author.

Leave a Comment