Jim's Lib
51 subscribers
70 photos
1 video
40 files
975 links
from A-Z, it's look like AlcatraZ.
be in touch: @suspend
Download Telegram
when people are complaining about your behaviour, you should just rephrase what they are complaining about, redefine it clearly, and show them you understand them.
then they finally believe that you hear them, and you care.
#101
Column-stores vs Row-stores:
How different are they really?

https://www.cs.umd.edu/~abadi/papers/abadi-sigmod08.pdf

#db
SkyWalking is an open source observability platform used to collect, analyze, aggregate and visualize data from services and cloud native infrastructures. SkyWalking provides an easy way to maintain a clear view of your distributed systems, even across Clouds. It is a modern APM, specially designed for cloud native, container based distributed systems.

https://skywalking.apache.org/docs/main/next/en/concepts-and-designs/overview/

#monitoring
Midrash (/ˈmɪdrɑːʃ/;[1] Hebrew: מִדְרָשׁ; pl.מִדְרָשִׁים midrashim or מִדְרָשׁוֹת‎ midrashot) is expansive Jewish Biblical exegesis[2] using a rabbinic mode of interpretation prominent in the Talmud



Amoraim (Jewish Babylonian Aramaic: אמוראים[ʔamoraˈʔim], singular Amora אמורא [ʔamoˈra]; "those who say" or "those who speak over the people", or "spokesmen")[1] refers to Jewishscholars of the period from about 200 to 500 CE, who "said" or "told over" the teachings of the Oral Torah. They were primarily located in Babylonia and the Land of Israel. Their legal discussions and debates were eventually codified in the Gemara. The Amoraim followed the Tannaim in the sequence of ancient Jewish scholars. The Tannaim were direct transmitters of uncodified oral tradition; the Amoraimexpounded upon and clarified the oral law after its initial codification.


src: wikipedia
Sometimes, you have a cold cache for static content that needs to be warmed up, especially if fetching the uncached content initiates a resource-intensive process. If simultaneous requests reach your server while the cache is cold, it can lead to executing multiple redundant jobs in your system. In such situations, you can use Request Coalescing to prevent this.

You can do this in nginx using:
https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache
https://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#fastcgi_cache_lock
Jim's Lib
Sometimes, you have a cold cache for static content that needs to be warmed up, especially if fetching the uncached content initiates a resource-intensive process. If simultaneous requests reach your server while the cache is cold, it can lead to executing…
This situation called cache stampede.
A cache stampede is a type of cascading failure that can occur when massively parallel computing systems with caching mechanisms come under a very high load. This behaviour is sometimes also called dog-piling.
#cache
src: wikipedia
Token Bucket and Leaky Bucket algorithms are essential tools for rate limiting and traffic shaping, each with its strengths suited to different scenarios.

Use the Token Bucket algorithm when:
- Burstiness is acceptable or beneficial.
- Applications can handle variable transmission rates.
- Maximizing resource utilization is desired.

Use the Leaky Bucket algorithm when:
- A constant transmission rate is required.
- Network stability and predictability are paramount.
- Applications are sensitive to variations in data flow.

#rate_limit
I want to share my list of must-read papers for software engineers. It won’t be a quick process, so I’ll update the list each week and eventually reach a total of 20 papers. After finishing this list, I might consider compiling another set of 20 papers.

IMPORTANT

These articles are not sorted by relevance, prerequisites, or the seniority level of engineers. They are simply listed based on my personal opinion.

#1st20mustreadpapers
Paxos Made Simple
Leslie Lamport
November 1, 2001

https://lamport.azurewebsites.net/pubs/paxos-simple.pdf

This paper describes the Paxos consensus algorithm in a clear, precise, and simplified manner, making it easier to understand.

#1st20mustreadpapers
RecoverPy is a powerful tool that leverages your system capabilities to recover lost files.
Unlike others, you can not only recover deleted files but also overwritten data.
Every block of your partition will be scanned. You can even find a string in binary files.

https://github.com/PabloLec/RecoverPy
Jim's Lib
Paxos Made Simple Leslie Lamport November 1, 2001 https://lamport.azurewebsites.net/pubs/paxos-simple.pdf This paper describes the Paxos consensus algorithm in a clear, precise, and simplified manner, making it easier to understand. #1st20mustreadpapers
In Search of an Understandable Consensus Algorithm
(Extended Version)

Diego Ongaro and John Ousterhout (Stanford University)
2013

https://raft.github.io/raft.pdf

This paper tells the story of Raft. Raft is a consensus algorithm with the same final outcome and efficiency as Multi-Paxos, but it's more understandable and provides a stronger foundation for building practical systems.

#1st20mustreadpapers
To all my friends who are enthusiasts in performance and distributed computing, there are only 2 days left until P99 Conf, which will be held online. Don't forget to attend, enjoy, and learn a lot from the presentations!
https://www.p99conf.io/