<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Go on haifeiWu</title><link>https://haifeiWu.github.io/tags/go/</link><description>Recent content in Go 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>Wed, 13 Jan 2021 11:15:16 +0800</lastBuildDate><atom:link href="https://haifeiWu.github.io/tags/go/index.xml" rel="self" type="application/rss+xml"/><item><title>ZooKeeper 与分布式锁</title><link>https://haifeiWu.github.io/posts/zookeeper-yufenbushisuo/</link><pubDate>Wed, 13 Jan 2021 11:15:16 +0800</pubDate><author>whfstudio@163.com (haifeiWu)</author><guid>https://haifeiWu.github.io/posts/zookeeper-yufenbushisuo/</guid><description>在上篇文章中讨论了基于 Redis 的单机分布式锁与集群分布式锁的方案，在数据一致性要求不是很高的情况下，Redis 实现的分布式锁可以满足我们的要求。最近在拜读了 ZooKeeper 的论文之后，对于 ZooKeeper 实现的分布式锁，也是有必要了解一下的。使用 Zook…</description></item><item><title>go 并发编程</title><link>https://haifeiWu.github.io/posts/go--bing-fa-bian-cheng/</link><pubDate>Wed, 01 Jul 2020 00:00:00 +0800</pubDate><author>whfstudio@163.com (haifeiWu)</author><guid>https://haifeiWu.github.io/posts/go--bing-fa-bian-cheng/</guid><description>基本的同步原语 Go 语言在 sync 包中提供了用于同步的一些基本原语，包括常见的 sync.Mutex、sync.RWMutex、sync.WaitGroup、sync.Once。Mutex 数据结构 Go 语言的 sync.Mute</description></item><item><title>使用 Map 实现策略模式</title><link>https://haifeiWu.github.io/posts/shi-yong--map--shi-xian-ce-lve-mo-shi/</link><pubDate>Thu, 16 Jan 2020 00:00:00 +0800</pubDate><author>whfstudio@163.com (haifeiWu)</author><guid>https://haifeiWu.github.io/posts/shi-yong--map--shi-xian-ce-lve-mo-shi/</guid><description>上篇文章在谈到优化代码的时候，有一部分涉及到了使用策略模式优化我们的代码，本篇文章将围绕策略模式谈谈自己的思考~ What? 总的来说，设计模式是对软件设计中普遍存在并且反复出现的各种问题，所提出的通用解决方案，是一系列编码经验的集合。那</description></item><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>I-team 博客全文检索 Elasticsearch 实战</title><link>https://haifeiWu.github.io/posts/i-team-bokequanwenjiansuo-elasticsearch-shizhan/</link><pubDate>Thu, 12 Jul 2018 16:26:02 +0800</pubDate><author>whfstudio@163.com (haifeiWu)</author><guid>https://haifeiWu.github.io/posts/i-team-bokequanwenjiansuo-elasticsearch-shizhan/</guid><description>一直觉得博客缺点东西，最近还是发现了，当博客慢慢多起来的时候想要找一篇之前写的博客很是麻烦，于是作为后端开发的楼主觉得自己动手丰衣足食，也就有了这次博客全文检索功能 Elasticsearch 实战，这里还要感谢一下‘辉哥’赞助的一台服务器。</description></item><item><title>golang 重构博客统计服务</title><link>https://haifeiWu.github.io/posts/golangzhonggouboketongjifuwu/</link><pubDate>Mon, 25 Jun 2018 18:13:12 +0800</pubDate><author>whfstudio@163.com (haifeiWu)</author><guid>https://haifeiWu.github.io/posts/golangzhonggouboketongjifuwu/</guid><description>作为一个后端开发，在 Docker，etcd，k8s 等新技术不断涌现的今天，其背后的功臣 golang 在语言排行榜上持续走高，因此楼主也就开了这次使用 golang 自己开发的基础功能的二次装逼之旅。</description></item><item><title>ai-gateway</title><link>https://haifeiWu.github.io/projects/ai-gateway/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><author>whfstudio@163.com (haifeiWu)</author><guid>https://haifeiWu.github.io/projects/ai-gateway/</guid><description>&lt;p&gt;AI 网关，统一接入与管理多个 AI 服务。&lt;/p&gt;
&lt;p&gt;AI Gateway for unified access and management of AI services.&lt;/p&gt;</description></item><item><title>unified-push-platform</title><link>https://haifeiWu.github.io/projects/unified-push-platform/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><author>whfstudio@163.com (haifeiWu)</author><guid>https://haifeiWu.github.io/projects/unified-push-platform/</guid><description>&lt;p&gt;千万级消息推送平台，支持多通道统一推送。&lt;/p&gt;
&lt;p&gt;Unified push platform designed for 10M+ scale messaging.&lt;/p&gt;</description></item></channel></rss>