<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>David Cramer's Blog - Latest Comments in Tips for Scaling a Web App</title><link>http://davidcramer.disqus.com/</link><description></description><atom:link href="https://davidcramer.disqus.com/tips_for_scaling_a_web_app/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 02 Apr 2010 11:25:14 -0000</lastBuildDate><item><title>Re: Tips for Scaling a Web App</title><link>http://cramer.io//django/345/tips-for-scaling-a-web-app.html#comment-42871127</link><description>&lt;p&gt;Hi David, I wondered if you'd mind sharing the code from your has_changed method?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jamiepittock</dc:creator><pubDate>Fri, 02 Apr 2010 11:25:14 -0000</pubDate></item><item><title>Re: Tips for Scaling a Web App</title><link>http://cramer.io//django/345/tips-for-scaling-a-web-app.html#comment-3664757</link><description>&lt;p&gt;What is Honza's solution?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kevin</dc:creator><pubDate>Mon, 10 Nov 2008 11:53:09 -0000</pubDate></item><item><title>Re: Tips for Scaling a Web App</title><link>http://cramer.io//django/345/tips-for-scaling-a-web-app.html#comment-3641140</link><description>&lt;p&gt;In some situations, yes. We happen to have more than just a username and user id though. We use it to pass other dynamic information pages as well. But the solution is far from silly, and it's a lot more common than you may think.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Cramer</dc:creator><pubDate>Sun, 09 Nov 2008 00:03:26 -0000</pubDate></item><item><title>Re: Tips for Scaling a Web App</title><link>http://cramer.io//django/345/tips-for-scaling-a-web-app.html#comment-3641102</link><description>&lt;p&gt;Honza's alternative to the silly javascript solution that he suggested at Djangocon is much superior.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sat, 08 Nov 2008 23:58:06 -0000</pubDate></item><item><title>Re: Tips for Scaling a Web App</title><link>http://cramer.io//django/345/tips-for-scaling-a-web-app.html#comment-3627618</link><description>&lt;p&gt;Yes there are, but there is no need to use signals (extra overhead) when it's a simple task like this.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Cramer</dc:creator><pubDate>Sat, 08 Nov 2008 16:30:02 -0000</pubDate></item><item><title>Re: Tips for Scaling a Web App</title><link>http://cramer.io//django/345/tips-for-scaling-a-web-app.html#comment-3627297</link><description>&lt;p&gt;RE: Denormalisation, there are Django plugins which accomplish the denormalisation you are doing by hand automatically.&lt;/p&gt;&lt;p&gt;If you do things manually, you're likely to end up with inconsistent data at some point..  django has a signals/slots architecture built into core which you might as well use to do this all automagically.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.aeracode.org/2008/9/14/denormalisation-follies/" rel="nofollow noopener" target="_blank" title="http://www.aeracode.org/2008/9/14/denormalisation-follies/"&gt;http://www.aeracode.org/200...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">RJ Ryan</dc:creator><pubDate>Sat, 08 Nov 2008 15:55:35 -0000</pubDate></item><item><title>Re: Tips for Scaling a Web App</title><link>http://cramer.io//django/345/tips-for-scaling-a-web-app.html#comment-3626281</link><description>&lt;p&gt;User's name (as in “Logged in as David”) can also be stored into the browser's cookie and fetched from the cookie using javascript, such that the Ajax call would be called only if the user name doesn't exist in the cookie.&lt;br&gt;This way, you could omit the ajax call in most cases and minimize the load on your server even more.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Peter</dc:creator><pubDate>Sat, 08 Nov 2008 13:58:25 -0000</pubDate></item><item><title>Re: Tips for Scaling a Web App</title><link>http://cramer.io//django/345/tips-for-scaling-a-web-app.html#comment-3620544</link><description>&lt;p&gt;Very nice article. The tip about using Javascript for the variable part of a page is just great. As all really good ideas, seems obvious in retrospect. Thanks a lot for sharing.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Fernando Correia</dc:creator><pubDate>Sat, 08 Nov 2008 04:13:31 -0000</pubDate></item><item><title>Re: Tips for Scaling a Web App</title><link>http://cramer.io//django/345/tips-for-scaling-a-web-app.html#comment-3619128</link><description>&lt;p&gt;On initialization (__init__) you can store the state of things. I may throw up an example here in a few days, the code above doesn't actually match what we use, but it was a quick clean example :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Cramer</dc:creator><pubDate>Sat, 08 Nov 2008 02:08:16 -0000</pubDate></item><item><title>Re: Tips for Scaling a Web App</title><link>http://cramer.io//django/345/tips-for-scaling-a-web-app.html#comment-3619084</link><description>&lt;p&gt;Thanks a lot for these tips. Also, I'd be curious to see what that "has_changed" method does. For example, how can you track previous states of the 'city' value?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Julien Phalip</dc:creator><pubDate>Sat, 08 Nov 2008 02:03:37 -0000</pubDate></item></channel></rss>