<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Rob Golding - Latest Comments</title><link xmlns="http://www.w3.org/2005/Atom" rel="http://api.friendfeed.com/2008/03#sup" href="http://disqus.com/sup/all.sup#forumcomments-8e6c4293" type="application/json"/><link>http://robgolding.disqus.com/</link><description></description><atom:link href="http://robgolding.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Sat, 28 Jan 2012 04:04:57 -0000</lastBuildDate><item><title>Re: Rob Golding: django-radius</title><link>http://www.robgolding.com/blog/2011/09/19/django-radius/#comment-422841445</link><description>That's down to the customer's servers to look after. Django can't manage the users on external systems, it can just query them to see if a particular pair of credentials is valid or not.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rob Golding</dc:creator><pubDate>Sat, 28 Jan 2012 04:04:57 -0000</pubDate></item><item><title>Re: Rob Golding: django-radius</title><link>http://www.robgolding.com/blog/2011/09/19/django-radius/#comment-422834087</link><description>Interesting can you also manage  the radius accounts through django ?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tommyz4</dc:creator><pubDate>Sat, 28 Jan 2012 03:34:19 -0000</pubDate></item><item><title>Re: Rob Golding: Django in Production: Part 3 - Automation &amp; Monitoring</title><link>http://www.robgolding.com/blog/2012/01/14/django-in-production-part-3---automation-and-monitoring/#comment-417046409</link><description>Noticed that you run your production site right out of the cloned git repository.  Has that ever caused any issue for you?  I generally update my repository, copy out all of the files to a directory with the name of the current git commit, and update a symlink which points to the proper directory. &lt;br&gt;&lt;br&gt;&lt;br&gt;As you might imagine that creates a bunch of extra steps and places where things can go awry, but I've always done it because I've been paranoid about updating files that a wsgi server is currently running off of... is there any justification to my paranoia?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Schick</dc:creator><pubDate>Fri, 20 Jan 2012 16:55:38 -0000</pubDate></item><item><title>Re: Rob Golding: Django in Production: Part 2 - Background Tasks</title><link>http://www.robgolding.com/blog/2011/11/27/django-in-production-part-2---background-tasks/#comment-416959797</link><description>Thanks Suvash, I did mean to add that once I'd made the third post!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rob Golding</dc:creator><pubDate>Fri, 20 Jan 2012 15:15:09 -0000</pubDate></item><item><title>Re: Rob Golding: Django in Production: Part 2 - Background Tasks</title><link>http://www.robgolding.com/blog/2011/11/27/django-in-production-part-2---background-tasks/#comment-416472223</link><description>would be great if you could also link the third article towards the end of the post. didn't realize there was one.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">suvash</dc:creator><pubDate>Fri, 20 Jan 2012 07:10:43 -0000</pubDate></item><item><title>Re: Rob Golding: Django in Production: Part 2 - Background Tasks</title><link>http://www.robgolding.com/blog/2011/11/27/django-in-production-part-2---background-tasks/#comment-415635213</link><description>django-ztask is yet another solution &lt;a href="http://www.zeromq.org/story:3" rel="nofollow"&gt;http://www.zeromq.org/story:3&lt;/a&gt; and &lt;a href="https://github.com/dmgctrl/django-ztask" rel="nofollow"&gt;https://github.com/dmgctrl/dja...&lt;/a&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Markus Gattol</dc:creator><pubDate>Thu, 19 Jan 2012 16:35:27 -0000</pubDate></item><item><title>Re: Rob Golding: Django in Production: Part 1 - The Stack</title><link>http://www.robgolding.com/blog/2011/11/12/django-in-production-part-1---the-stack/#comment-413451473</link><description>Excellent article, Rob! I look forward to reading the other posts in the series. For me personally, an article like this has been desired for a long time. Thank you for the details.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kyle Hayes</dc:creator><pubDate>Tue, 17 Jan 2012 11:05:09 -0000</pubDate></item><item><title>Re: Rob Golding: Django in Production: Part 3 - Automation &amp; Monitoring</title><link>http://www.robgolding.com/blog/2012/01/14/django-in-production-part-3---automation-and-monitoring/#comment-412857191</link><description>tnx, but what wrong with collectd compared to statsd?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sergey Maranchuk</dc:creator><pubDate>Mon, 16 Jan 2012 16:07:03 -0000</pubDate></item><item><title>Re: Rob Golding: Django in Production: Part 3 - Automation &amp; Monitoring</title><link>http://www.robgolding.com/blog/2012/01/14/django-in-production-part-3---automation-and-monitoring/#comment-412445578</link><description>Thank you mate, in what capacity have you been using Graphite - for work or play? I actually found out about a Python version of statsd after spending hours installing Node.js on my EC2 instance!&lt;br&gt;&lt;br&gt;Hope you're well too :)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rob Golding</dc:creator><pubDate>Mon, 16 Jan 2012 03:24:38 -0000</pubDate></item><item><title>Re: Rob Golding: Django in Production: Part 3 - Automation &amp; Monitoring</title><link>http://www.robgolding.com/blog/2012/01/14/django-in-production-part-3---automation-and-monitoring/#comment-412203178</link><description>Excellent post Rob, I've been playing with Graphite recently, it's certainly a great tool! Not sure about statsd's lack of tests, although the concept is sound. Haven't come across Fabric before, will be delving into that this week, cheers!&lt;br&gt;&lt;br&gt;Hope all is well,&lt;br&gt;Woolie</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alistair Wooldrige</dc:creator><pubDate>Sun, 15 Jan 2012 16:19:25 -0000</pubDate></item><item><title>Re: Rob Golding: Django in Production: Part 2 - Background Tasks</title><link>http://www.robgolding.com/blog/2011/11/27/django-in-production-part-2---background-tasks/#comment-378508255</link><description>Thanks for the info and sanity check ;-)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Henk de Vries</dc:creator><pubDate>Sat, 03 Dec 2011 16:23:24 -0000</pubDate></item><item><title>Re: Rob Golding: Django in Production: Part 2 - Background Tasks</title><link>http://www.robgolding.com/blog/2011/11/27/django-in-production-part-2---background-tasks/#comment-378219833</link><description>At the moment I have 2 worker processes running, using approx. 100MB in total. Given that, I'd say you're not doing anything wrong!&lt;br&gt;&lt;br&gt;This is on an Amazon EC2 Micro instance with only 612MB of RAM in total.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rob Golding</dc:creator><pubDate>Sat, 03 Dec 2011 04:56:03 -0000</pubDate></item><item><title>Re: Rob Golding: Django in Production: Part 2 - Background Tasks</title><link>http://www.robgolding.com/blog/2011/11/27/django-in-production-part-2---background-tasks/#comment-378195728</link><description>Thanks.  I was trying to get a ballpark figure for celeryd alone. In a shared hosting environment memory usage is a (most often *the*) bottleneck and in my experience celeryd takes up to and over 100MB after some (at times big -- like reindexing a whoosh index w/ haystack) tasks have run. The initial memory usage, without any tasks, is already over 30MB (RSS). I'm hoping I'm doing something wrong.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Henk de Vries</dc:creator><pubDate>Sat, 03 Dec 2011 03:12:30 -0000</pubDate></item><item><title>Re: Rob Golding: Django in Production: Part 2 - Background Tasks</title><link>http://www.robgolding.com/blog/2011/11/27/django-in-production-part-2---background-tasks/#comment-378022621</link><description>The baseline for celeryd on my machine is 19MB for the main process, and 3.6MB for each pool worker process (set by the --concurrency setting).  For django-celery this is 27MB for the main process with a basically empty project (Django does load a lot into memory, luckily a lot of this can be shared).&lt;br&gt;&lt;br&gt;As Rob said, how much memory it consumes over time is subjective, depending on how much memory your tasks require when they run (and if you are unlucky, the memory leaks they come with, problems like these quickly appear in a long-running process environment, good we have workarounds, like the --maxtasksperchild option).&lt;br&gt;You can also enable an --autoscale setting to grow and shrink the number of processes depending on load, this&lt;br&gt;can be useful if you pay for memory/CPU-time.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ask Solem</dc:creator><pubDate>Fri, 02 Dec 2011 19:02:49 -0000</pubDate></item><item><title>Re: Rob Golding: Django in Production: Part 2 - Background Tasks</title><link>http://www.robgolding.com/blog/2011/11/27/django-in-production-part-2---background-tasks/#comment-377921983</link><description>That's a pretty subjective question. Celery isn't the only thing that's going to use memory - RabbitMQ/Redis should also be factored in.&lt;br&gt;&lt;br&gt;The truth is it's all down to how busy the task queue is, and how intensive each task is. I'm working on a project at the moment which compiles LaTeX documents with Celery - and whilst that's not extremely heavy on RAM, the CPU requirements are quite large.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rob Golding</dc:creator><pubDate>Fri, 02 Dec 2011 15:58:59 -0000</pubDate></item><item><title>Re: Rob Golding: Django in Production: Part 2 - Background Tasks</title><link>http://www.robgolding.com/blog/2011/11/27/django-in-production-part-2---background-tasks/#comment-377830652</link><description>Can I ask: how much memory does celery use (after running for, say, a couple of days)?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Henk de Vries</dc:creator><pubDate>Fri, 02 Dec 2011 14:08:30 -0000</pubDate></item><item><title>Re: Fixing Google Chrome&amp;#8217;s 100% CPU Usage on Ubuntu</title><link>http://www.robgolding.com/blog/2010/06/07/fixing-google-chromes-100-cpu-usage-on-ubuntu/#comment-376928540</link><description>I try to create my own VPS on the ubuntu server, buy I am newbie.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chrome Rims</dc:creator><pubDate>Thu, 01 Dec 2011 14:19:26 -0000</pubDate></item><item><title>Re: Rob Golding: Django in Production: Part 1 - The Stack</title><link>http://www.robgolding.com/blog/2011/11/12/django-in-production-part-1---the-stack/#comment-367047686</link><description>Great post. Thanks for sharing. I use Apache, mod_wsgi, South and MySQL. Considering Nginx and Gunicorn.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tomas Cirip</dc:creator><pubDate>Thu, 17 Nov 2011 19:01:09 -0000</pubDate></item><item><title>Re: Fixing Google Chrome&amp;#8217;s 100% CPU Usage on Ubuntu</title><link>http://www.robgolding.com/blog/2010/06/07/fixing-google-chromes-100-cpu-usage-on-ubuntu/#comment-366983335</link><description>I love my new Ubuntu, I didn't have any problem.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Seattle chiropractor</dc:creator><pubDate>Thu, 17 Nov 2011 17:11:35 -0000</pubDate></item><item><title>Re: Rob Golding: Django in Production: Part 1 - The Stack</title><link>http://www.robgolding.com/blog/2011/11/12/django-in-production-part-1---the-stack/#comment-366479275</link><description>Thanks Matthew, you're right - if you want to use `python &lt;a href="http://manage.py" rel="nofollow"&gt;manage.py&lt;/a&gt; run_gunicorn` then it needs to be in your INSTALLED_APPS.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rob Golding</dc:creator><pubDate>Thu, 17 Nov 2011 04:45:10 -0000</pubDate></item><item><title>Re: Rob Golding: Django in Production: Part 1 - The Stack</title><link>http://www.robgolding.com/blog/2011/11/12/django-in-production-part-1---the-stack/#comment-365323449</link><description>You missed out that you need to add 'gunicorn' to your settings.INSTALLED_APPS</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matthew Schinckel</dc:creator><pubDate>Wed, 16 Nov 2011 20:24:48 -0000</pubDate></item><item><title>Re: Rob Golding: Django in Production: Part 1 - The Stack</title><link>http://www.robgolding.com/blog/2011/11/12/django-in-production-part-1---the-stack/#comment-365160011</link><description>Thanks for this useful post. I'm curious to know if you have any experience and/or opinion about uWSGI?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nicolas Grilly</dc:creator><pubDate>Wed, 16 Nov 2011 18:28:01 -0000</pubDate></item><item><title>Re: Rob Golding: Django in Production: Part 1 - The Stack</title><link>http://www.robgolding.com/blog/2011/11/12/django-in-production-part-1---the-stack/#comment-364388260</link><description>Same for us.&lt;br&gt;&lt;br&gt;We're using Postgres largely because we trust it more: better durability (we've had corrupted myisam tables), less uncertain future.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lucian Branescu</dc:creator><pubDate>Wed, 16 Nov 2011 04:28:47 -0000</pubDate></item><item><title>Re: Rob Golding: Django in Production: Part 1 - The Stack</title><link>http://www.robgolding.com/blog/2011/11/12/django-in-production-part-1---the-stack/#comment-364387691</link><description>Hi Chris,&lt;br&gt;&lt;br&gt;Thanks for the feedback. Of course if you're using GeoDjango then PostGIS is a necessity :)&lt;br&gt;&lt;br&gt;Glad you enjoyed the article.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rob Golding</dc:creator><pubDate>Wed, 16 Nov 2011 04:26:30 -0000</pubDate></item><item><title>Re: Rob Golding: Django in Production: Part 1 - The Stack</title><link>http://www.robgolding.com/blog/2011/11/12/django-in-production-part-1---the-stack/#comment-364176350</link><description>At Lo-Fi Art we use basically this exact stack on our servers. We do, as author noted is common, prefer Postgres. In our case it's a little more than personal preference as we run geodjango sites and Postgis is incomparable.&lt;br&gt;&lt;br&gt;Good article - thanks!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chris</dc:creator><pubDate>Tue, 15 Nov 2011 20:55:13 -0000</pubDate></item></channel></rss>
