/images/avatar.jpg
杂七杂八的,随手记录。

十年前的微信消息收发架构长啥样

本文为摘录(或转载),侵删,原文为: https://mp.weixin.qq.com/s/dD-aPhnynOqSC3MUYLjeAA

2023 年,微信及 WeChat 的 DAU(月活用户)达到 13.4 亿,微信已经是很多人工作、生活中不可或缺的一个环节。从 2011 年 1 月 21 日上线至今,微信已经走过了 13 个年头,其背后的技术基座与架构也发生了巨大的变化。

cary huang: PostgreSQL’s Planner – Simple Scan Paths vs Plans

本文为摘录(或转载),侵删,原文为: https://postgr.es/p/6s9

1 Introduction

当你向 PostgreSQL 发送查询时,通常会经历查询处理的各个阶段,并在最后返回结果。这些阶段被称为:

围城摘抄

围在城里的人想逃出来, 城外的人想冲进去, 对婚姻也罢,职业也罢,人生的愿望大都如此。

1

  • 眼睛两条斜缝,眉毛高高在上,跟眼睛远隔得彼此要害相思病。

  • 只有国文是国货土产,还需要外国招牌,方可维持地位,正好像中国官吏、商人在本国剥削来的钱要换外汇,才能保持国币的原来价值

100x Faster Query in Aurora Postgres with a lower random_page_cost

本文为摘录(或转载),侵删,原文为: https://postgr.es/p/6oe

最近我在 Postgres 中处理一些查询,发现它要么选择不使用索引执行顺序扫描,要么选择使用复合部分索引的替代索引。这让我感到困惑,尤其是知道系统中有可以更快执行这些查询的索引时。

HashData|产品介绍

本文为摘录(或转载),侵删,原文为: -https://www.linkedin.com/company/hashdata-inc. -https://docs.hashdata.xyz/docs/20-product-guide/

1 Abort HashData

HashData was founded in 2016 by the guys who built Apache HAWQ, one of the most advanced SQL on Hadoop solutions. As the flagship product of the company, HashData Warehousing is a data warehouse service built for the cloud. While 100% compatible with the analytics interfaces of the open source MPP database Greenplum,HashData’s unique architecture delivers proven breakthroughs in performance, concurrency, elasticity and simplicity.

How can 3ware and MegaRAID performance be increased in Linux?

本文为摘录(或转载),侵删,原文为: https://www.broadcom.com/support/knowledgebase/1211161453667/how-can-3ware-and-megaraid-performance-be-increased-in-linux

1 Question

How can LSI 3ware and LSI MegaRAID performance be increased in Linux?

2 Answer

2.1 For the Linux 2.6 kernel:

See KB article A004958 Article ID 1211161457978 See also: Article ID 1211161479669

Linux内核机制—spin_lock (转载)

本文为摘录(或转载),侵删,原文为: https://www.cnblogs.com/hellokitty2/p/16368024.html

1 pin_lock 概述

  1. spin lock 是一种不可休眠锁,可用于原子上下文。当获取不到锁的时候会 spin 等待,此时是 running 状态。

A Close Look at a Spinlock – Embedded in Academia

本文为摘录(或转载),侵删,原文为: https://blog.regehr.org/archives/2173

自旋锁 (spinlock) 是多处理器操作系统提供的最基本的互斥原语。自旋锁需要保护当前 CPU 免受抢占(通常通过禁用中断,但我们会在本文中忽略这个方面),并且还需要防止其他核心同时访问临界区(通过使用原子内存操作)。正如其名称所示,尝试获取已锁定的自旋锁会简单地自旋:它们会消耗 CPU 时间: