缓存更新策略的列举和比较
在现代软件架构中,缓存是提高系统性能和扩展性的关键组件之一。然而,缓存的有效管理,特别是缓存更新策略,对于保持数据一致性和系统可靠性至关重要。 本文将简单探讨和比较几种常见的缓存更新策略,以及它们各自的优缺点。 Note: 启发自 《从程序员到架构师:大数据量 缓存、高并发、微服务 多团队协同等核心场景实战》一书的第四章:读缓存。
在现代软件架构中,缓存是提高系统性能和扩展性的关键组件之一。然而,缓存的有效管理,特别是缓存更新策略,对于保持数据一致性和系统可靠性至关重要。 本文将简单探讨和比较几种常见的缓存更新策略,以及它们各自的优缺点。 Note: 启发自 《从程序员到架构师:大数据量 缓存、高并发、微服务 多团队协同等核心场景实战》一书的第四章:读缓存。
最近做一些知识的整合,简单的罗列一下我理解中的数据库复制策略的优缺点比较,如有遗漏和错误,欢迎评论区留言,多谢!
As a qualified backend programmer, we need to deal with JSON data from time to time. Currently, many backend programmers use Postman to test API requests. However, Postman as a tool itself does not provide particularly powerful JSON data visualization. For example, it only offers simple code-level data folding and cannot perceive the specific number of elements inside a list.
Git, a widely used version control system, empowers developers to collaborate seamlessly and manage code repositories efficiently. However, even with its robust features and safeguards, human mistakes can still occur, leading to potential code conflicts and loss of work. One such common pitfall is force-pushing changes before performing a pull operation. And I just made it happen today.
As a software engineer, I think everyone can tell thousands of words about the differences between SQL vs NoSQL. And how to make a choice between them with your requirement. Recently, I migrated the SaltyNote service from MariaDB to MongoDB. While the reason is not for high throughput or performance.
In SaltyNote Implementation - Service, I shared the details about server side implementation of SaltyNote. In this article, I will introduce the implementation of the SaltyNote Chrome Extension.
SaltyNote is a Chrome Extension that provides the immersive page notes taken experience. The users can view all the notes taken on the current page from the right sidebar without leaving the page. In this article, I will introduce the implementation of the SaltyNote service.
From the end of 2022, I have heard so many layoff news from big tech. While I never thought I would be impacted, since I believed Salesforce is a 2B company, and its business would be as stable as before. Embarrassing, it came to this news eventually, just one day before my son’s birthday. >> salesforce 10% layoff
Last post Ubuntu Server Setup, I talked about the basic setup for an Ubuntu server. In this post, I will share some details about the setup for saltynote server.
This is an opinionated memo that lists the steps to set up an Ubuntu server for web service or website.
The main div for GitHub and Zhihu is too narrow, which makes my high-resolution screen not that useful. In this case, I update some exiting stylish script to improve.
在18.04出来之前,一直用Ubuntu的16.04,安装网易音乐之后,只需要在/usr/share/applications/netease-cloud-music.desktop 添加一个 --no-sandbox就可以解决了。 1Exec=netease-cloud-music --no-sandbox %U
Bought a TP-link AC1200 wifi adapter long before and not used it so far. Yesterday, I find it again when I collected my old stuff. Since my old Dell laptop does not support 5G channel, and its built-in wifi adapter sucks, why not have a try!!!