<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>服务器 on haifeiWu</title><link>https://haifeiWu.github.io/tags/%E6%9C%8D%E5%8A%A1%E5%99%A8/</link><description>Recent content in 服务器 on haifeiWu</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><managingEditor>whfstudio@163.com (haifeiWu)</managingEditor><webMaster>whfstudio@163.com (haifeiWu)</webMaster><copyright>© 2016～2026 haifeiWu</copyright><lastBuildDate>Mon, 30 Dec 2019 19:47:34 +0800</lastBuildDate><atom:link href="https://haifeiWu.github.io/tags/%E6%9C%8D%E5%8A%A1%E5%99%A8/index.xml" rel="self" type="application/rss+xml"/><item><title>使用 Go 优化我们的接口</title><link>https://haifeiWu.github.io/posts/shiyong-go-youhuawomendejiekou/</link><pubDate>Mon, 30 Dec 2019 19:47:34 +0800</pubDate><author>whfstudio@163.com (haifeiWu)</author><guid>https://haifeiWu.github.io/posts/shiyong-go-youhuawomendejiekou/</guid><description>特征数据暴增，导致获取一个城市下所有的特征的接口延时高，下面是监控上看到的接口响应耗时，最慢的时候接口响应时间能达到 5s 多。1，使用缓存。分析业务需求，当前需要存储起来的数据是 ObjectId，ObjectId 是一个长度为 14 左右的字符串，我们假设平均下来 Object…</description></item><item><title>造个轮子之基于 Netty 实现自己的 RPC 框架</title><link>https://haifeiWu.github.io/posts/zaogelunzizhijiyu-netty-shixianzijide-rpc-kuangjia/</link><pubDate>Tue, 04 Sep 2018 08:31:11 +0800</pubDate><author>whfstudio@163.com (haifeiWu)</author><guid>https://haifeiWu.github.io/posts/zaogelunzizhijiyu-netty-shixianzijide-rpc-kuangjia/</guid><description>服务端开发都会或多或少的涉及到 RPC 的使用，当然如果止步于会用，对自己的成长很是不利，所以楼主今天本着知其然，且知其所以然的精神来探讨一下 RPC 这个东西。child-rpc 采用 socket 直连的方式来实现服务的远程调用，然后使用 jdk 动态代理的方式让调用者感…</description></item><item><title>Redis 协议规范（译文）</title><link>https://haifeiWu.github.io/posts/redisxieyiguifan-yiwen/</link><pubDate>Wed, 08 Aug 2018 00:57:50 +0800</pubDate><author>whfstudio@163.com (haifeiWu)</author><guid>https://haifeiWu.github.io/posts/redisxieyiguifan-yiwen/</guid><description>Redis 客户端使用名为 RESP（Redis 序列化协议）的协议与 Redis 服务器进行通信。虽然该协议是专为 Redis 设计的，但它可以用于其他 CS 软件项目的通讯协议。RESP 可以序列化不同的数据类型，如整型，字符串，数组。还有一种特定的错误类型。请求将要执行的命令作为字符…</description></item><item><title>线上 ELK 集群健康值 red 状态问题排查与解决</title><link>https://haifeiWu.github.io/posts/xianshang-elk-jiqunjiankangzhi-red-zhuangtaiwentipaichayujie/</link><pubDate>Tue, 07 Aug 2018 12:31:09 +0800</pubDate><author>whfstudio@163.com (haifeiWu)</author><guid>https://haifeiWu.github.io/posts/xianshang-elk-jiqunjiankangzhi-red-zhuangtaiwentipaichayujie/</guid><description>之前一直运行正常的数据分析平台，最近一段时间没有注意发现日志索引数据一直未生成，大概持续了 n 多天，当前状态：单台机器，Elasticsearch（下面称 ES）单节点(空集群),1000+shrads, 约 200G 大小。查看 ES 集群健康值，发现 status 为 red，这…</description></item><item><title>死磕 Java 之聊聊 HashMap 源码(基于 JDK1.8)</title><link>https://haifeiWu.github.io/posts/sikejavazhiliaoliaohashmapyuanma-jiyujdk1-8/</link><pubDate>Mon, 04 Jun 2018 23:07:24 +0800</pubDate><author>whfstudio@163.com (haifeiWu)</author><guid>https://haifeiWu.github.io/posts/sikejavazhiliaoliaohashmapyuanma-jiyujdk1-8/</guid><description>HashMap 是 Java 程序员使用频率最高的数据结构之一。另外，JDK1.8 对 HashMap 底层的实现进行了优化，如引入红黑树的数据结构以及扩容的优化等等来提高性能。本文结合 JDK1.8 的源码，探讨 HashMap 的结构实现和功能原理。</description></item><item><title>聊聊 HashSet 源码</title><link>https://haifeiWu.github.io/posts/liaoliaohashsetyuanma/</link><pubDate>Tue, 29 May 2018 23:18:49 +0800</pubDate><author>whfstudio@163.com (haifeiWu)</author><guid>https://haifeiWu.github.io/posts/liaoliaohashsetyuanma/</guid><description>今天聊一下 HashSet 源码，HashSet 内部基本使用 HashMap 来实现，本博客将通过一下几个方向讲解。</description></item><item><title>自建脚手架之配置中心--LightConf 的实现</title><link>https://haifeiWu.github.io/posts/zijianjiaoshoujiazhipeizhizhongxin-lightconfdeshixian/</link><pubDate>Sun, 22 Apr 2018 18:39:29 +0800</pubDate><author>whfstudio@163.com (haifeiWu)</author><guid>https://haifeiWu.github.io/posts/zijianjiaoshoujiazhipeizhizhongxin-lightconfdeshixian/</guid><description>在经历了一个多月的开发后，项目的第一个稳定版本终于完成，开源地址https://github.com/haifeiWu/lightconf，欢迎各路大神star，拍砖。 LIGHTCONF 使用了 Netty 实现底层通讯，保证配置的实时生效。接入 LIGHTCONF 事只需要添加 mav…</description></item><item><title>测试环境服务器硬盘塞满问题排查</title><link>https://haifeiWu.github.io/posts/ceshihuanjingfuwuqiyingpansaimanwentipaicha/</link><pubDate>Mon, 12 Mar 2018 18:06:57 +0800</pubDate><author>whfstudio@163.com (haifeiWu)</author><guid>https://haifeiWu.github.io/posts/ceshihuanjingfuwuqiyingpansaimanwentipaicha/</guid><description>某天下午测试环境服务器出现 tab 无法补全命令，给出的提示大概意思就是说，无可用空间无法创建临时文件，不过这次跟上次出现的问题比较像，上次服务器出现的问题，因此楼主判断可能是服务器数据盘被占满，果不其然，使用 df -h 命令看到服务器数据盘出现 100%被占用的情况。楼主首先想到的…</description></item></channel></rss>