<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Memcached &#8211; HU Xiaoxu</title>
	<atom:link href="https://blog.ihuxu.com/category/computer-science/middleware/memcached/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.ihuxu.com</link>
	<description>a software engineer&#039;s blog</description>
	<lastBuildDate>Sun, 03 Mar 2024 04:27:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.2</generator>
	<item>
		<title>高并发场景下的缓存使用误区</title>
		<link>https://blog.ihuxu.com/the-cache-usage-errors-in-high-concurrency-scenarios/</link>
					<comments>https://blog.ihuxu.com/the-cache-usage-errors-in-high-concurrency-scenarios/#respond</comments>
		
		<dc:creator><![CDATA[HU Xiaoxu]]></dc:creator>
		<pubDate>Thu, 08 Oct 2015 05:03:33 +0000</pubDate>
				<category><![CDATA[Computer Language]]></category>
		<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Memcached]]></category>
		<category><![CDATA[Middleware]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Redis]]></category>
		<category><![CDATA[Original]]></category>
		<guid isPermaLink="false">http://www.ihuxu.com/blog/?p=402</guid>

					<description><![CDATA[十一聚会，某谈及人生理想。我要的是“地位，身份和爱情！”，其实就是金钱，面子和美女。O.O 正文 9月份，连续两天（AB 两天）线上出现业务故障，redis 监控曲线瞬间上涨。 业务场景：一千万 UV / 日 redis监控曲线 （修改图片好麻烦，曲线意会下吧~）： redis日志 业务代码 &#160; 问题 由业务代码和redis日志可以看出，正常情况下通常会有一次删和一次写之后，会出现大量的读。然而，日志中则出现了大量的写入。这就是高并发时导致同时写入后，也许因为写入量特大，导致下次读取失败后继续进行写入，最后把 redis 拖垮。 解决 如果不需要进行排序截取等操作可以换用 Memcached 缓存 在高并发情况下应对 redis 加事务机制 redis事务 修改后的业务代码 注：封面配图为朋友圈图片]]></description>
		
					<wfw:commentRss>https://blog.ihuxu.com/the-cache-usage-errors-in-high-concurrency-scenarios/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
