leesea

  • Home

  • reading

  • Tags

  • Categories

  • Archives

  • About

  • Search

k8s-cert

Posted on 2019-12-02

使用kubeadm 搭建的 k8s 环境,证书模式有效期是一年,到一年

redis

Posted on 2019-11-22

redis 主从复制

1
2
3
4
5
6
7
8
# 如果主服务设置了密码
config set masterauth <pwd>

# 设置主服务器
SLAVEOF 192.168.1.100 6379

# 取消同步
SLAVEOF NO ONE

mysql 分区, 分库,分表

Posted on 2019-11-06 | Edited on 2020-02-15

分区

什么是分区

将一个表拆解成多个区块。

Read more »

elasticsearch dsl使用

Posted on 2019-10-31 | Edited on 2020-04-09

elasticsearch_dsl 库可以方便的生成一些复杂的 dsl 语句,而不用自己去写 json.

Read more »

rabbitmq 命令速查

Posted on 2019-10-24

清空队列

1
rabbitmqctl purge_queue queue_name

selenium 集群搭建

Posted on 2019-09-20

本文以 centos 为例,介绍下如何搭建 selenium 集群。

Read more »

python-future

Posted on 2019-08-22 | Edited on 2019-09-18 | In python

future 是 python 的的并发库,py2 需要单独安装,py3已经集成到标准库中了。future用的比较多的是线程池和进程池。

Read more »

单机性能分析

Posted on 2019-08-22

给你一台服务器或者虚拟机,怎么充分发挥性能呢?

Read more »

go 操作 ElasticSearch

Posted on 2019-08-21

go 操作ES并不像 python 那么直观,需要使用很多的 struct 和 函数,感觉没有 python 的 dict 好用。本文以v5版本为例说明。

Read more »

kafka 常用命令

Posted on 2019-08-19 | Edited on 2020-02-18

kafka 常用命令。

Read more »
123…9

leesea

85 posts
16 categories
27 tags
RSS
© 2020 leesea
Powered by Hexo v3.7.1
|
Theme – NexT.Mist v6.4.1