<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title> Benjamin Golub's Blog - Latest Comments in Google App Engine + Memcached + FF To Go = Bliss</title><link>http://benjamingolub.disqus.com/</link><description></description><language>en</language><lastBuildDate>Tue, 01 Sep 2009 07:03:40 -0000</lastBuildDate><item><title>Re: Google App Engine + Memcached + FF To Go = Bliss</title><link>http://benjamingolub.com/2008/05/28/google-app-engine-memcached-ff-to-go-bliss/#comment-15700964</link><description>Kate Middleton, the girlfriend of British Prince William for 8 years, is regarded as a modern version of Cinderella. &lt;a href="http://www.linkscraft.co.uk/" rel="nofollow"&gt;links of london&lt;/a&gt; The romantic relationship between her and her royal beau catches great attention. &lt;a href="http://www.linkscraft.co.uk/" rel="nofollow"&gt;links of london&lt;/a&gt; And she is even expected to be a second Princess Diana. &lt;a href="http://www.linkscraft.co.uk/" rel="nofollow"&gt;links of london&lt;/a&gt; Being similar to Princess Diana, she also has a simple background with an ordinary family, but has extraordinary inherent quality and temperature. &lt;a href="http://www.linkscraft.co.uk/" rel="nofollow"&gt;links of london&lt;/a&gt; Nevertheless, it never stops her to behave decently as the girl of Prince since she established a relationship with William in 2003. &lt;a href="http://www.linkscraft.co.uk/" rel="nofollow"&gt;links of london&lt;/a&gt; With a good taste in fashion, Kate wins popularity of the public and becomes the fashion icon of many young ladies. &lt;a href="http://www.linkscraft.co.uk/" rel="nofollow"&gt;links of london&lt;/a&gt; Her special temperature could be showed totally even just with a pair of simple links of london earrings. &lt;a href="http://www.linkscraft.co.uk/" rel="nofollow"&gt;links of london&lt;/a&gt; Recently, it is expected by British media that the Prince and her girlfriend Kate will become man and wife sooner rather than later. &lt;a href="http://www.linkscraft.co.uk/" rel="nofollow"&gt;links of london&lt;/a&gt; &lt;a href="http://www.linkscraft.co.uk/" rel="nofollow"&gt;links of london&lt;/a&gt;Because she has been invited to a private lunch with the Queen at the summer retreat Balmoral over the august bank holiday to have a heart-to-heart alone. &lt;a href="http://www.linkscraft.co.uk/" rel="nofollow"&gt;links of london&lt;/a&gt; Although Kate has dinner with the Queen alongside William before, this will be the first time she has lunched alone with the royal grandma. &lt;a href="http://www.linkscraft.co.uk/" rel="nofollow"&gt;links of london&lt;/a&gt; According to "royal watchers", this invitation is a "significant step" in the young couple's relationship. &lt;a href="http://www.linkscraft.co.uk/" rel="nofollow"&gt;links of london&lt;/a&gt; &lt;a href="http://www.linkscraft.co.uk/" rel="nofollow"&gt;links of london&lt;/a&gt;Something else will be discussed as well, such as what kind of changes will happen to her if she marries the Prince. &lt;a href="http://www.linkscraft.co.uk/" rel="nofollow"&gt;links of london&lt;/a&gt; Are Kate and William suited to each other? Just focus their future development. &lt;a href="http://www.linkscraft.co.uk/" rel="nofollow"&gt;links of london&lt;/a&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">linkso0flondon</dc:creator><pubDate>Tue, 01 Sep 2009 07:03:40 -0000</pubDate></item><item><title>Re: Google App Engine + Memcached + FF To Go = Bliss</title><link>http://benjamingolub.com/2008/05/28/google-app-engine-memcached-ff-to-go-bliss/#comment-545907</link><description>Ahh I see--foot, meet mouth :)  Still, it's cool stuff.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ericflo</dc:creator><pubDate>Wed, 28 May 2008 20:40:17 -0000</pubDate></item><item><title>Re: Google App Engine + Memcached + FF To Go = Bliss</title><link>http://benjamingolub.com/2008/05/28/google-app-engine-memcached-ff-to-go-bliss/#comment-545890</link><description>It's a little trickier than that; because the user can also set the font size and the header contains a link to the user's friendfeed page.  But yes; this is exactly what I do on RSSmeme (and as I'm sure you are aware it's how the Django cache middleware works).  I cache the entire response (I also cache the results from the DB so hitting the html and then the API for the same data doesn't result in 2 DB requests).  Since this runs on Google App Engine and the CPU is not a bottleneck at all I'm not worried about the time spent on the template system too much.&lt;br&gt;&lt;br&gt;But thanks!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bgolub</dc:creator><pubDate>Wed, 28 May 2008 20:36:51 -0000</pubDate></item><item><title>Re: Google App Engine + Memcached + FF To Go = Bliss</title><link>http://benjamingolub.com/2008/05/28/google-app-engine-memcached-ff-to-go-bliss/#comment-545855</link><description>Sorry, Disqus is not so great for code snippets :(</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ericflo</dc:creator><pubDate>Wed, 28 May 2008 20:30:40 -0000</pubDate></item><item><title>Re: Google App Engine + Memcached + FF To Go = Bliss</title><link>http://benjamingolub.com/2008/05/28/google-app-engine-memcached-ff-to-go-bliss/#comment-545851</link><description>I think you might be better off caching the entire response, as then subsequent requests don't even have to go through the template system, context processors, etc.&lt;br&gt;&lt;br&gt;For example:&lt;br&gt;&lt;br&gt;...&lt;br&gt;key = 'public_%i_%i_%s' % (num, start, service)&lt;br&gt;response = memcache.get(key)&lt;br&gt;    if not response:&lt;br&gt;        try:&lt;br&gt;            data = f.fetch_public_feed(num=num, start=start, service=service)&lt;br&gt;        except Exception, e:&lt;br&gt;            return HttpResponseRedirect('/%s/' % e)&lt;br&gt;        extra_context = {&lt;br&gt;            'entries': data['entries'],&lt;br&gt;            ‘next’: start + num,&lt;br&gt;        }&lt;br&gt;        if start &amp;gt; 0:&lt;br&gt;            extra_context['has_previous'] = True&lt;br&gt;            extra_context['previous'] = start - num&lt;br&gt;        response = render_to_response(’public.html’, extra_context, context_instance=RequestContext(request))&lt;br&gt;        memcache.set(key, response, CACHE_TIME)&lt;br&gt;    return response</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ericflo</dc:creator><pubDate>Wed, 28 May 2008 20:30:10 -0000</pubDate></item></channel></rss>