Sal Follow

https://www.plus1s.cn

去读书吧,发现不一样的世界!😉

波斯王子

Posts by Sal

Gossip协议

当你希望保证自己的系统在极端情况下(比如集群中只有一个节点在运行)的可用性,只需要实现最终一致性,可以通过 Gossip 协议实现这个目标。

In 分布式, 算法, Gossip, Aug 30, 2021

一致性哈希算法

Raft 算法实现了 KV 存储,虽然领导者模型简化了算法实现和共识协商,但写请求只能限制在领导者节点上处理,导致了集群的接入性能约等于单机,那么随着业务发展,集群的性能可能就扛不住了,会造成系统过载和服务不可用,这时我们就要通过分集群,突破单集群的性能限制。

In 分布式, 算法, 一致性哈希, Aug 29, 2021

Raft共识算法

最常用的共识算法

In 分布式, 算法, Raft, Aug 25, 2021

《分布式协议与算法实战》笔记

分布式算法特点和适合场景

In 分布式, 算法, 实战, Jul 11, 2021

K8s集群监控体系搭建

K8s集群基于prometheus-operator的监控体系搭建

In Prometheus, Alerts, Resources, May 27, 2021

Programming Kubernetes学习笔记

3. clieng-go库基础

In Paas, Kubernetes, Client-go, May 08, 2021

Kubernetes集群节点和网络安全指南

Pods可以访问它们所运行的节点上的资源,为了安全起见,本篇我们将介绍如何配置Kubernetes集群,让用户不能拿着他们的pods肆意妄为,然后再谈谈如何让pods通信的网络变得安全。

In Paas, Kubernetes, Security, Mar 26, 2021

如何保障Kubernetes API server的安全?

本篇我们主要介绍Kubernetes API server的安全策略。

In Paas, Kubernetes, Security, Mar 20, 2021

《荀子-儒效》节选

儒效##

In Learning, Methodology, Feb 24, 2021

K8S内部构造学习笔记(二)

本篇主要介绍Kubernetes架构中包含除etcd和API Server外所有其它的组件。

In Paas, Kubernetes, Architecture, Feb 06, 2021

K8S内部构造学习笔记(一)

Kubernetes的架构原理包含的内容较多,本篇先介绍总体架构,以及etcd和API Server方面的内容。K8S架构首先,一个K8S集群分为两个部分: k8s控制平面组件(master nodes) etcd分布式持久化存储 API Server Scheduler Controller Manager ...

In Paas, Kubernetes, Architecture, Feb 05, 2021

K8S StatefulSet学习笔记

背景一些分布式的有状态应用有两个常见的需求: 分布式数据存储:每个Pod都需要有独自的存储卷; 实例有长期稳定的身份标识,如hostname和IP;

In Paas, Kubernetes, StatefulSet, Feb 04, 2021

K8S Deployment学习笔记

背景更新Pod中应用版本的方式一般有两种: 先删除所有当前运行的Pods,再启动新版本应用的Pods; 先启动新版本的Pods,等新版本的Pods就绪了,再删除老版本的Pods,可以一次性全部替换,也可以一个一个Pod地替换;

In Paas, Kubernetes, Deployment, Jan 09, 2021

Dubbo Microsvc

In Dec 19, 2020

伴鱼英语基础架构细节分享记录

关于伴鱼英语基础架构的技术话题细节记录

In Paas, Infrastructure, Nov 05, 2020

分布式系统的常见数据场景:复制(Replication)、分区(Partitioning)和事务(Transactions) --《设计数据密集型应用》读书笔记

复制和分区是把数据分布在多台机器节点上的两种通用方式。其中,复制是把相同的数据复制一份放到多个不同的节点上(常常是物理上的不同地点),以数据冗余的方式提供系统的高可用(HA)和高性能;分区是把一个大的数据库拆分成一个个小的子集(叫partition),把它们分布到多个节点上。两者常常伴随一起使用。

In Distributed System, Replication, Partition, Transaction, Jun 08, 2020

Dijkstra最短路径算法

本文按照经典的《算法》一书上的讲解来学习归纳一下Dijkstra最短路径算法的原理和实现。

In Algorithm, Oct 18, 2019

2019暑假跳槽总结-如何准备IT技术面试

总体来讲,这次跳槽不算成功,未及我的预期目标(年薪XX万+¥),仍需继续努力,发奋图强!

In Interviews, Oct 07, 2019

欢迎尝试使用Jekyll!

You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common wa...

In Jekyll, Feb 04, 2019

The first mass-produced book to deviate from a rectilinear format

The first mass-produced book to deviate from a rectilinear format, at least in the United States, is thought to be this 1863 edition of Red Riding Hood, cut into the shape of the prot...

In tutorial, Feb 02, 2019

Education must also train one for quick, resolute and effective thinking.

There are lots of powerful things you can do with the Markdown editor

In Jekyll, tutorial, Feb 01, 2019

Accumulated experience of social living

The die cut has also been employed in the non-juvenile sphere as well, a recent example being Jonathan Safran Foer’s ambitious Tree of Codes.

In Jekyll, tutorial, Jan 30, 2019

About Bundler

gem install bundler installs the bundler gem through RubyGems. You only need to install it once - not every time you create a new Jekyll project. Here are some additional details:

In Jekyll, Jan 29, 2019

Tree of Codes

The first mass-produced book to deviate from a rectilinear format, at least in the United States, is thought to be this 1863 edition of Red Riding Hood, cut into the shape of the prot...

In Jekyll, tutorial, Jan 27, 2019

Red Riding Hood

The first mass-produced book to deviate from a rectilinear format, at least in the United States, is thought to be this 1863 edition of Red Riding Hood, cut into the shape of the prot...

In Jekyll, tutorial, Jan 26, 2019

Press and education

Even the press, the classroom, the platform, and the pulpit in many instances do not give us objective and unbiased truths. To save man from the morass of propaganda, in my opinion, i...

In Jekyll, tutorial, Jan 25, 2019

Powerful things you can do with the Markdown editor

There are lots of powerful things you can do with the Markdown editor

In Jekyll, tutorial, Jan 24, 2019

Never stopped worrying or loving the bomb

I’ve been through fire and water, I tell you! From my earliest pebblehood the wildest things you could imagine have been happening to this world of ours, and I have been right in the ...

In Jekyll, Jan 22, 2019

Is Intelligence Enough

Education must also train one for quick, resolute and effective thinking. To think incisively and to think for one’s self is very difficult. We are prone to let our mental life become...

In Jekyll, tutorial, Jan 21, 2019

Quick Start Guide

If you already have a full Ruby development environment with all headers and RubyGems installed (see Jekyll’s requirements), you can create a new Jekyll site by doing the following:

In Jekyll, tutorial, Jan 20, 2019

Dagoba: 一款内存图数据库(500行开源代码解析之二)

前言随着分布式系统的革命再一次改变了数据存储方面的所有事物,数据打破了空间上的种种限制,能自由漫步于机器与机器之间。坚持CAP定理的理论学家们打破了关系型数据库的垄断地位,为新的数据管理技术打开了大门————其中的某些能使人想起对可随机访问的数据进行管理的一些早期尝试。今天我们就来看这其中的一种技术,图数据库。

In Jun 14, 2017

Word2Vec的一些理解

In Mar 19, 2017

Deploy Django project with uWSGI and Nginx

Follow the instructions of this tutorial: http://uwsgi-docs.readthedocs.org/en/latest/tutorials/Django_and_nginx.html

In Jun 03, 2016

Django项目下使用CKEditor编辑器指南

CKEditor is a customizable, open source WYSIWYG text editor, which is used in our project.

In Jun 02, 2016

Exim自己搭邮件服务器

Install and configure EximIssue the following commands to update your package repositories, upgrade your system, and install Exim:$apt-get update$apt-get upgrade$apt-get install exim4...

In May 09, 2016

2016年读书计划

HTTP:Design Patterns:JVM:Algorithms:Spring:Python:

In Feb 18, 2016