<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>瘋魔</title><link>https://blog.peven.me/</link><description>Peven's web site. Find my information, my blog on technologies and personal hobbies here.</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><copyright>This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.</copyright><atom:link href="https://blog.peven.me/index.xml" rel="self" type="application/rss+xml"/><item><title>InnoDB Doublewrite机制</title><link>https://blog.peven.me/post/2021/10/06/innodb-doublewrite/</link><pubDate>Wed, 06 Oct 2021 11:42:28 +0800</pubDate><author>作者</author><guid>https://blog.peven.me/post/2021/10/06/innodb-doublewrite/</guid><description>楔子 最近再次翻看《InnoDB存储引擎》，看到Doublewrite时，直觉告诉我这玩意儿应该很简单（其实确实是），但总感觉书上的文字表达不</description></item><item><title>Raft in breif</title><link>https://blog.peven.me/post/2021/09/04/raft-in-breif/</link><pubDate>Sat, 04 Sep 2021 14:43:30 +0800</pubDate><author>作者</author><guid>https://blog.peven.me/post/2021/09/04/raft-in-breif/</guid><description>概览 算法实现概要 安全性保证 Raft保证以下五条准则在算法运行期间始终成立(Invariance): Election Safety: 一个世代term内至多产生一个lead</description></item><item><title>Dgraph备忘录</title><link>https://blog.peven.me/post/2021/08/21/dgraph-memo/</link><pubDate>Sat, 21 Aug 2021 15:18:47 +0800</pubDate><author>Peven</author><guid>https://blog.peven.me/post/2021/08/21/dgraph-memo/</guid><description>不定时补充更新 部署 1docker pull dgraph/dgraph 2# HOSTIPADDR=10.0.0.10 # 用以后续告知raft模块通信地址,确保集群连通性, 我这儿后面直接写了 3cd .. 4mkdir -p Dgraph 5# 创建服务用户 6groupadd dgraph 7useradd -M -g dgraph -s /usr/sbin/nologin dgraph</description></item><item><title>红黑树那点事儿</title><link>https://blog.peven.me/post/2021/05/08/the-red-black-tree/</link><pubDate>Sat, 08 May 2021 16:41:57 +0800</pubDate><author>Peven</author><guid>https://blog.peven.me/post/2021/05/08/the-red-black-tree/</guid><description>前置知识：二叉查找树、B树，本文不多做介绍。 0. 写在前面 在观察和思考红黑树时，一定要牢记：红黑树是一颗平衡二叉查找树，我们所赋予红黑树的一切行</description></item><item><title>解决Archlinux下蓝牙鼠标滞后感严重的问题</title><link>https://blog.peven.me/post/2019/08/15/anywhere2s-polling-issue-on-archlinux/</link><pubDate>Thu, 15 Aug 2019 23:18:49 +0800</pubDate><author>Peven</author><guid>https://blog.peven.me/post/2019/08/15/anywhere2s-polling-issue-on-archlinux/</guid><description>契机 最近入手了Logitech MX Anywhere 2S鼠标，欣喜的在Arch中连接上蓝牙一试，瞬间傻眼&amp;hellip; 移动鼠标，指针掉帧严重，有很重的滞后感</description></item><item><title>[译]pselect()系统调用</title><link>https://blog.peven.me/post/2019/04/09/the-new-pselect-system-call/</link><pubDate>Tue, 09 Apr 2019 00:00:00 +0000</pubDate><author>Peven</author><guid>https://blog.peven.me/post/2019/04/09/the-new-pselect-system-call/</guid><description>译自 [The new pselect() system call] https://lwn.net/Articles/176911/ 像网络服务器等需要使用select()，poll()，或者epoll_wait()(Linux独有)等系统调用来对多个文件描</description></item><item><title>在Golang中对MySQL进行操作</title><link>https://blog.peven.me/post/2019/03/09/working-with-mysql-in-golang/</link><pubDate>Sat, 09 Mar 2019 12:48:04 +0800</pubDate><author>Peven</author><guid>https://blog.peven.me/post/2019/03/09/working-with-mysql-in-golang/</guid><description>Golang官方并没有提供数据库驱动，但通过database/sql/driver包来提供了实现驱动的标准接口。可以在Github上找到很多</description></item><item><title>RabbitMQ初涉以及Golang实践</title><link>https://blog.peven.me/post/2019/02/03/learn-rabbitmq-with-golang/</link><pubDate>Sun, 03 Feb 2019 00:00:00 +0000</pubDate><author>Peven</author><guid>https://blog.peven.me/post/2019/02/03/learn-rabbitmq-with-golang/</guid><description>在并发编程中，多线程并发协作时采用生产者消费者模式是一个良好的解决方案。生产者线程将生成的数据放入一个阻塞队列中，消费者则直接从该队列中获取</description></item><item><title>Golang中range指针数据的坑</title><link>https://blog.peven.me/post/2019/02/01/golang-range-pointer-problem/</link><pubDate>Fri, 01 Feb 2019 17:22:51 +0800</pubDate><author>Peven</author><guid>https://blog.peven.me/post/2019/02/01/golang-range-pointer-problem/</guid><description>在Golang中使用for range语句进行迭代非常的便捷，但在涉及到指针时就得小心一点了。 下面的代码中定义了一个元素类型为*int的通道c</description></item><item><title>替换云服务器操作系统为Archlinux</title><link>https://blog.peven.me/post/2018/12/07/replace-server-os-with-archlinux/</link><pubDate>Fri, 07 Dec 2018 00:00:00 +0000</pubDate><author>Peven</author><guid>https://blog.peven.me/post/2018/12/07/replace-server-os-with-archlinux/</guid><description>操作环境： 支持浏览器VNC方式登录的云服务商（e.g. 阿里云、腾讯云） Ubuntu 16.04 服务器 准备工作 对于不支持DHCP的厂商，需要我们自己去手动配置服务</description></item></channel></rss>