<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: 用Twitter的cursor方式进行Web数据分页</title>
	<atom:link href="http://timyang.net/web/pagination/feed/" rel="self" type="application/rss+xml" />
	<link>http://timyang.net/web/pagination/</link>
	<description>Tim&#039;s blog, 关于后端架构、互联网技术、分布式、大型网络应用、NoSQL、Key Value等</description>
	<lastBuildDate>Fri, 30 Jul 2010 12:46:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: [CV]google提供的几种读取feed的API &#171; 懒散公园SlackPark</title>
		<link>http://timyang.net/web/pagination/comment-page-1/#comment-4324</link>
		<dc:creator>[CV]google提供的几种读取feed的API &#171; 懒散公园SlackPark</dc:creator>
		<pubDate>Fri, 11 Jun 2010 02:18:57 +0000</pubDate>
		<guid isPermaLink="false">http://timyang.net/?p=532#comment-4324</guid>
		<description>[...] c：分页读取记录。用n=99999的方式读取feed所有记录虽然可行，但一次性返回大量数据既消耗服务器资源，严重影响scalability，同时客户端调用时也容易超时。因此Google 提供了cursor方式分页读取。关于cursor方式分页，这篇blog&quot;用Twitter的cursor方式进行Web数据分页&quot;有很好的介绍.&#160;读取http://www.google.com/reader/atom/feed/http://blogs.msdn.com/vcblog/rss.xml?n=10&#160;时，在返回的ATOM XML的头可以找到这样的代码： [...]</description>
		<content:encoded><![CDATA[<p>[...] c：分页读取记录。用n=99999的方式读取feed所有记录虽然可行，但一次性返回大量数据既消耗服务器资源，严重影响scalability，同时客户端调用时也容易超时。因此Google 提供了cursor方式分页读取。关于cursor方式分页，这篇blog&quot;用Twitter的cursor方式进行Web数据分页&quot;有很好的介绍.&nbsp;读取http://www.google.com/reader/atom/feed/http://blogs.msdn.com/vcblog/rss.xml?n=10&nbsp;时，在返回的ATOM XML的头可以找到这样的代码： [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: memo</title>
		<link>http://timyang.net/web/pagination/comment-page-1/#comment-4290</link>
		<dc:creator>memo</dc:creator>
		<pubDate>Mon, 07 Jun 2010 13:31:56 +0000</pubDate>
		<guid isPermaLink="false">http://timyang.net/?p=532#comment-4290</guid>
		<description>limit的性能实在是太恐怖了。。。</description>
		<content:encoded><![CDATA[<p>limit的性能实在是太恐怖了。。。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gen</title>
		<link>http://timyang.net/web/pagination/comment-page-1/#comment-2673</link>
		<dc:creator>gen</dc:creator>
		<pubDate>Fri, 22 Jan 2010 01:06:08 +0000</pubDate>
		<guid isPermaLink="false">http://timyang.net/?p=532#comment-2673</guid>
		<description>请问如果不是以主键id为排序，应该怎么做呢？</description>
		<content:encoded><![CDATA[<p>请问如果不是以主键id为排序，应该怎么做呢？</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 超群.com</title>
		<link>http://timyang.net/web/pagination/comment-page-1/#comment-2662</link>
		<dc:creator>超群.com</dc:creator>
		<pubDate>Wed, 20 Jan 2010 08:58:43 +0000</pubDate>
		<guid isPermaLink="false">http://timyang.net/?p=532#comment-2662</guid>
		<description>可以看一下我的一篇博客http://www.fuchaoqun.com/2009/04/efficient-pagination-using-mysql/

既可用到cursor，亦可随意翻页。</description>
		<content:encoded><![CDATA[<p>可以看一下我的一篇博客http://www.fuchaoqun.com/2009/04/efficient-pagination-using-mysql/</p>
<p>既可用到cursor，亦可随意翻页。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fff</title>
		<link>http://timyang.net/web/pagination/comment-page-1/#comment-2661</link>
		<dc:creator>fff</dc:creator>
		<pubDate>Wed, 20 Jan 2010 05:26:22 +0000</pubDate>
		<guid isPermaLink="false">http://timyang.net/?p=532#comment-2661</guid>
		<description>ls应该指order by吧，当不是以id为序时
跳页可以加一次运算，取出合适cursor就可以了吧，相对可能还是简单了</description>
		<content:encoded><![CDATA[<p>ls应该指order by吧，当不是以id为序时<br />
跳页可以加一次运算，取出合适cursor就可以了吧，相对可能还是简单了</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pi1ot</title>
		<link>http://timyang.net/web/pagination/comment-page-1/#comment-2655</link>
		<dc:creator>pi1ot</dc:creator>
		<pubDate>Tue, 19 Jan 2010 15:22:32 +0000</pubDate>
		<guid isPermaLink="false">http://timyang.net/?p=532#comment-2655</guid>
		<description>实际应用中问题一般是出在where和limit之间的status = pass或者其他筛选条件上，数据不连续cursor也就不那么灵光了</description>
		<content:encoded><![CDATA[<p>实际应用中问题一般是出在where和limit之间的status = pass或者其他筛选条件上，数据不连续cursor也就不那么灵光了</p>
]]></content:encoded>
	</item>
</channel>
</rss>
