<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Performance on Caktus Group</title><link>https://www.caktusgroup.com/tags/performance/</link><description>Recent content in Performance on Caktus Group</description><generator>Hugo</generator><language>en</language><lastBuildDate>Thu, 23 Jul 2015 19:21:26 +0000</lastBuildDate><atom:link href="https://www.caktusgroup.com/tags/performance/index.xml" rel="self" type="application/rss+xml"/><item><title>Reviews of two recent Django Books</title><link>https://www.caktusgroup.com/blog/2015/07/23/reviews-two-recent-django-books/</link><pubDate>Thu, 23 Jul 2015 19:21:26 +0000</pubDate><guid>https://www.caktusgroup.com/blog/2015/07/23/reviews-two-recent-django-books/</guid><description>&lt;h4 id="introduction">Introduction&lt;/h4>
&lt;p>When I started building sites in Django, I learned the basics from the excellent Django tutorial. But I had to learn by trial and error which approaches to using Django&amp;rsquo;s building blocks worked well and which approaches tended to cause problems later on. I looked for more intermediate-level documentation, but beyond James Bennett&amp;rsquo;s &lt;a href="http://amazon.com/Practical-Django-Projects-Experts-Development-ebook/dp/B002ECESU0/" target="_blank" rel="noopener noreferrer">Practical Django Projects&lt;/a> and our &lt;a href="https://www.caktusgroup.com/about/karen-tracey/">Karen Tracey&lt;/a>&amp;rsquo;s &lt;a href="http://amazon.com/Django-Testing-Debugging-Tracey-Karen/dp/1847197566/" target="_blank" rel="noopener noreferrer">Django 1.1 Testing and Debugging&lt;/a>, there wasn&amp;rsquo;t much to be found.&lt;/p></description></item><item><title>Using Amazon S3 to Store your Django Site's Static and Media Files</title><link>https://www.caktusgroup.com/blog/2014/11/10/Using-Amazon-S3-to-store-your-Django-sites-static-and-media-files/</link><pubDate>Mon, 10 Nov 2014 16:28:11 +0000</pubDate><guid>https://www.caktusgroup.com/blog/2014/11/10/Using-Amazon-S3-to-store-your-Django-sites-static-and-media-files/</guid><description>&lt;p>&lt;em>Editor's note: This post was updated in September 2017.&lt;/em>&lt;/p>
&lt;h2 id="using-amazon-s3-to-store-your-django-sites-static-and-media-files">Using Amazon S3 to Store your Django Site's Static and Media Files&lt;/h2>
&lt;p>Storing your Django site's static and media files on Amazon S3, instead
of serving them yourself, can improve site performance. It frees your
servers from handling static files themselves, lets you scale your
servers easier by keeping media files in a common place, and is a
necessary step to using Amazon CloudFront as a Content Delivery Network
(CDN).&lt;/p></description></item><item><title>Bulk inserts in Django</title><link>https://www.caktusgroup.com/blog/2011/09/20/bulk-inserts-django/</link><pubDate>Tue, 20 Sep 2011 18:08:52 +0000</pubDate><guid>https://www.caktusgroup.com/blog/2011/09/20/bulk-inserts-django/</guid><description>&lt;p>I recently found a way to speed up a large data import far more than I
expected.&lt;/p>
&lt;p>The task was to read data from a text file and create data records in
Django, and the naive implementation was managing to import about 55
records per second, which was going to take far too long given the
amount of data that needed to be imported.&lt;/p></description></item></channel></rss>