《The MemSQL Query Optimizer: A modern optimizer for real-time analystic in a distributed database》VLDB2016
MemSQL是面向内存优化的数据库,本身是shared-nothing架构。MemSQL后来改名叫SingleStoreDB(S2DB),详细的架构参考这里:http://loopjump.com/singlestore-cloud-native-htap/
MemSQL的优化器分为三步:Rewriter, Enumerator, Planner。
因为MemSQL是shared-nothing的分布式架构...
SingleStore - 云原生HTAP
S2DB简介
以前的MemSQL,shared-nothing架构的DBMS,分区混部,多副本HA,支持RO副本,支持code generation,支持跨域异步复制副本。另外也支持基于对象存储存放冷数据。
S2DB还可以做到交互式实时洞察和决策、高吞吐低延迟写入和在变动的数据上执行复杂低延迟查询,这在多个专用系统缝合的方案中很难做到。
S2DB的两个设计要点:
存储计算分离 Separation of Storage and Compute
统一表存储 Unified Tab...
10 Patterns for Controlling the Cloud in AWS
来源:AWS re: invent 2018
有些地方不大明白 🙁
Pattern 1: checksum all of the things
Pattern 2: Cryptgraphic Authentication
Encrypt and authenticate everything.
Control Planes are powerful and security critical systems.
Be able to revoke and rotate every credentials. But also watch out for certificate expiries.[??]
Prevent human access to production credentials.
Never allow a...
蓝眼睛谜题
陶哲轩的博客上的一个puzzle。
地址在这里:https://terrytao.wordpress.com/2008/02/05/the-blue-eyed-islanders-puzzle/ 。你可以直接跳过去读原文。
这是发生在一个在虚构的岛上的故事,不过因为这里面的逻辑本身就非常微妙,所以故事描述的时候会稍显啰嗦,我直接摘下来:
There is an island upon which a tribe resides. The tribe consists of 1000 people, with various eye colours. Yet, their ...
Ubuntu 12.04编译安装3.15.6新内核
本文是Ubuntu 12.04编译安装3.15.6新内核的个人经验,重点是过程中没遇到什么问题,所以对各位读者用处可能不大。大致步骤:下载、解压源码;安装必要的工具;配置;编译;安装;启动新内核。
找工作备忘(腾讯 百度 阿里 网易游戏 知乎 笔试面试题 )
找工作流水账及笔试面试题。我的笔试面试经历,腾讯实习,百度,阿里,网易游戏,知乎等的笔试题目和面试题目