leesea

  • Home

  • reading

  • Tags

  • Categories

  • Archives

  • About

  • Search

谈谈 python 的并发

Posted on 2019-07-04 | Edited on 2019-08-22 | In python

并发无外乎进程,线程,协程三种方式。 Python 由于GIL锁的存在,多线程有些鸡雏,只能跑在一个核上。多进程各种语言差不多,创建开销比较大。

Read more »

go 踩坑

Posted on 2020-04-01 | Edited on 2020-05-06

go 语言看起来简单,但是有很多细节需要注意。

Read more »

mongodb 命令速查

Posted on 2020-03-19 | Edited on 2020-05-06 | In database

mongodb 手册。

Read more »

elk

Posted on 2020-03-04 | Edited on 2020-05-06

elk 这一套用来收集,存储,分析服务日志非常方便。

Read more »

Jenkinsfile 邮箱配置

Posted on 2020-02-15 | In CI

jenkinsfile 有两种发送邮件方式,一种是用默认的 mail 插件,另一种是使用 Email Extension. 后者的功能稍微多一点,可以提取 git 信息作为收件人。

Read more »

Jenkinsfile 介绍

Posted on 2020-02-15 | In CI

Jenkinsfile 是用来定义 jenkins pipeline的构建流程。

Read more »

Vue 常见问题汇总

Posted on 2020-02-10 | Edited on 2020-02-23 | In js

先记录下自己写前端遇到过的问题。

Read more »

go channel

Posted on 2020-01-31 | In go

go 社区有一句口号:”不要通过共享内存来通信,而应该通过通信来共享内存”, channel 用于 goroutine 之间传递消息。如果是多进程之间的通信,还是推荐使用 socket 或者 http.

Read more »

go 包管理

Posted on 2019-12-29 | Edited on 2020-01-31 | In go

import 别名

1
import log "github.com/sirupsen/logrus"

etcd 速查手册

Posted on 2019-12-20 | Edited on 2020-02-15

Etcd 是一个 key-value 数据库,从官方的定义可以看出etcd主要用于:

  • 服务发现
  • 配置共享
Read more »
12…9

leesea

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