<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://developer.myspace.com/Community/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>MySpace Developer Team : mail messaging google i/o io gears search javascript</title><link>http://developer.myspace.com/Community/blogs/devteam/archive/tags/mail+messaging+google+i_2F00_o+io+gears+search+javascript/default.aspx</link><description>Tags: mail messaging google i/o io gears search javascript</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20910.1126)</generator><item><title>MySpace Mail Search with Gears Released! Google I/O Presentation Slides</title><link>http://developer.myspace.com/Community/blogs/devteam/archive/2008/05/29/myspace-mail-search-with-gears-released-google-i-o-presentation-slides.aspx</link><pubDate>Thu, 29 May 2008 17:27:00 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:10916</guid><dc:creator>Owyn</dc:creator><slash:comments>15</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://developer.myspace.com/Community/blogs/devteam/rsscomments.aspx?PostID=10916</wfw:commentRss><comments>http://developer.myspace.com/Community/blogs/devteam/archive/2008/05/29/myspace-mail-search-with-gears-released-google-i-o-presentation-slides.aspx#comments</comments><description>&lt;p&gt;Hey everybody,&lt;/p&gt;&lt;p&gt;We&amp;#39;ve finally released this feature to the public, so if you have &lt;a href="http://gears.google.com" title="Gears" target="_blank"&gt;Google Gears&lt;/a&gt; installed you can start searching and sorting your messages!&amp;nbsp; We&amp;#39;re also pitching Gears directly to people who&amp;#39;ve got 5000 or more messages, and will start lowering that threshold soon.&lt;/p&gt;&lt;p&gt;This blog post is mainly a follow-up to the presentation I did at Google I/O about MySpace Mail Search with Gears.&amp;nbsp; Some folks at the show expressed interest in digging into the code a little bit deeper so I mentioned I&amp;#39;d provide links to the current source here.&amp;nbsp; I&amp;#39;m also including a link to the public slides, and notes for the presentation if you&amp;#39;re interested. &lt;/p&gt;&lt;p&gt;So, here goes!&lt;/p&gt;&lt;p&gt;The main source code for the feature, which contains the Gears abstraction, the state management class, the client-side pager class, and various other classes and global functions can be found here:&lt;/p&gt;&lt;p&gt;&lt;a href="http://x.myspacecdn.com/modules/messaging/static/js/searchmessages-004.js" title="Mail Search Main Script" target="_blank"&gt;http://x.myspacecdn.com/modules/messaging/static/js/searchmessages-004.js&lt;/a&gt;&lt;/p&gt;&lt;p&gt;The 2 worker pool threads that are in use currently can be found here:&lt;/p&gt;&lt;p&gt;&lt;a href="http://messaging.myspace.com/modules/messaging/services/workers/indexworkerpool.js" title="Indexing Worker Thread code" target="_blank"&gt;http://messaging.myspace.com/modules/messaging/services/workers/indexworkerpool.js&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a href="http://messaging.myspace.com/modules/messaging/services/workers/syncworkerpool.js" title="Synchronization Worker Thread code" target="_blank"&gt;http://messaging.myspace.com/modules/messaging/services/workers/syncworkerpool.js&lt;/a&gt;&lt;/p&gt;&lt;p&gt;As mentioned in the presentation, the difference between them is the index worker deals with committing new messages while the sync worker deals with updating message statuses, or deleting messages.&lt;/p&gt;&lt;p&gt;&amp;nbsp;The &lt;a href="http://docs.google.com/Presentation?id=ddkdwkd6_672szpphp" title="MySpace Mail Search with Gears slide deck" target="_blank"&gt;slide deck&lt;/a&gt; and &lt;a href="http://docs.google.com/Doc?id=ddkdwkd6_126wz3rmc2" title="MySpace Mail Search with Gears presentation notes" target="_blank"&gt;notes&lt;/a&gt; for the presentation are available courtesy of Google Docs.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;If you have any questions, feel free and email me at owyn [at] myspace [dot] com!&amp;nbsp; Thanks for reading :)&lt;/p&gt;&lt;p&gt;&amp;nbsp;Owyn &lt;br /&gt;&lt;/p&gt;&lt;img src="http://developer.myspace.com/Community/aggbug.aspx?PostID=10916" width="1" height="1"&gt;</description><category domain="http://developer.myspace.com/Community/blogs/devteam/archive/tags/mail+messaging+google+i_2F00_o+io+gears+search+javascript/default.aspx">mail messaging google i/o io gears search javascript</category></item></channel></rss>