<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Disqus - Latest Comments for pom</title><link>http://disqus.com/by/pom/</link><description></description><atom:link href="http://disqus.com/pom/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 03 Sep 2013 17:22:37 -0000</lastBuildDate><item><title>Re: How Travis CI Uses Heroku to Scale Their Platform</title><link>https://blog.heroku.com/archives/2013/9/3/how-travis-ci-uses-heroku#comment-1028845289</link><description>&lt;p&gt;All of our infrastructure serving websites, handling build requests, processing logs and all that is hosted on Heroku. We're using Blue Box' VM infrastructure to run the actual tests.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mathias Meyer</dc:creator><pubDate>Tue, 03 Sep 2013 17:22:37 -0000</pubDate></item><item><title>Re: npm Registry Caching Proxy</title><link>http://www.dctrwatson.com/2013/06/npm-registry-caching-proxy/#comment-1026572783</link><description>&lt;p&gt;Thanks for putting this out, almost worked a treat.&lt;/p&gt;&lt;p&gt;i didn't actually get nginx (1.1.19 on Ubuntu 12.04) to cache anything before adding something like the following line:&lt;/p&gt;&lt;p&gt;proxy_cache npm;&lt;/p&gt;&lt;p&gt;After that line, it started caching like a champ.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mathias Meyer</dc:creator><pubDate>Mon, 02 Sep 2013 12:41:37 -0000</pubDate></item><item><title>Re: paperplanes. Storing User Timelines in Riak</title><link>http://www.paperplanes.de//2011/12/15/storing-timelines-in-riak.html#comment-399422044</link><description>&lt;p&gt;How you handle the updates is up to you. It's just a library that manages storage and conflict resolution for you. How and when you add new entries and how you manage followership is up to you.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mathias Meyer</dc:creator><pubDate>Tue, 03 Jan 2012 03:35:59 -0000</pubDate></item><item><title>Re: paperplanes. MySQL No-Nos: ORDER BY RAND()</title><link>http://www.paperplanes.de/2008/4/24/mysql_nonos_order_by_rand.html#comment-268941656</link><description>&lt;p&gt;IS_ACTIVE is simply a column specific to this particular use case, nothing that's required to implement this way of random queries. Leave it out or use a where clause that's specific to your use case.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mathias Meyer</dc:creator><pubDate>Fri, 29 Jul 2011 16:13:06 -0000</pubDate></item><item><title>Re: The Basho Blog: Why MapReduce Is Hard</title><link>http://blog.basho.com/2011/04/20/why-mapreduce-is-hard/#comment-188756296</link><description>&lt;p&gt;William,&lt;/p&gt;&lt;p&gt;that's a great idea actually. Though I'd be careful not to log too verbosely because that log would be growing like crazy when there's lots of MapReduce jobs. But yeah, you could certainly tell something like rsyslog to feed the log into Riaktant.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mathias Meyer</dc:creator><pubDate>Thu, 21 Apr 2011 05:03:16 -0000</pubDate></item><item><title>Re: The Basho Blog: Why MapReduce is Easy</title><link>http://blog.basho.com/2011/03/30/why-mapreduce-is-easy/#comment-175117053</link><description>&lt;p&gt;Doug,&lt;/p&gt;&lt;p&gt;the Ruby and Python examples were mostly just to show how easy MapReduce is to use in application code. Unfortunately neither are supported for MapReduce jobs in Riak. The only other option aside from JavaScript is Erlang.&lt;/p&gt;&lt;p&gt;As for sort/shuffle, Riak doesn't have a notion of that, the reducer's part is simply to run the reduce phase, there's no guarantee on the order.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mathias Meyer</dc:creator><pubDate>Wed, 30 Mar 2011 16:01:36 -0000</pubDate></item><item><title>Re: The Basho Blog: Why MapReduce is Easy</title><link>http://blog.basho.com/2011/03/30/why-mapreduce-is-easy/#comment-175090858</link><description>&lt;p&gt;Srdjan,&lt;/p&gt;&lt;p&gt;it's actually supposed to be an assignment in this case, taking advantage of the fact that 0 is considered false in JavaScript. So when the modulo returns 0 and assigns it to position, the condition will evaluate to false.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mathias Meyer</dc:creator><pubDate>Wed, 30 Mar 2011 15:12:53 -0000</pubDate></item><item><title>Re: paperplanes. A Collection Of Redis Use Cases</title><link>http://www.paperplanes.de/2010/2/16/a_collection_of_redis_use_cases.html#comment-173143555</link><description>&lt;p&gt;Yep, in this case I'd say you need to make sure you properly authenticate the API making the calls into the system using Redis instead.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mathias Meyer</dc:creator><pubDate>Mon, 28 Mar 2011 05:19:04 -0000</pubDate></item><item><title>Re: paperplanes. A Collection Of Redis Use Cases</title><link>http://www.paperplanes.de/2010/2/16/a_collection_of_redis_use_cases.html#comment-173142889</link><description>&lt;p&gt;Are there any other sources for requests other than your servers? Does anything else have access to their services or even Redis?&lt;/p&gt;&lt;p&gt;In general, our token is generated and stored in Redis (based on the service requested) before a request is sent. When it's received, the service on the other end can check if the token exists and consumes it accordingly, or rejects the request. We did all this though, because there are trusted and untrusted sources for requests, the scope of the latter needs to be restricted to only a certain set of services, hence the token.&lt;/p&gt;&lt;p&gt;If you only have internal traffic coming through the system, I'd say this is overkill though.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mathias Meyer</dc:creator><pubDate>Mon, 28 Mar 2011 05:14:51 -0000</pubDate></item><item><title>Re: paperplanes. A Collection Of Redis Use Cases</title><link>http://www.paperplanes.de/2010/2/16/a_collection_of_redis_use_cases.html#comment-173141145</link><description>&lt;p&gt;It's pretty simple really. It's based on both the fact that you need well-known keys in Redis and that most operations are somewhat atomic. Can't think of a decent write-up for this, but I guess it's because it's a rather simple use case. If you can tell me a bit more about what it is you're trying to achieve, I'm sure I could give you an example.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mathias Meyer</dc:creator><pubDate>Mon, 28 Mar 2011 05:04:11 -0000</pubDate></item><item><title>Re: paperplanes. A Simple Redis Use Case for Sorted Sets</title><link>http://www.paperplanes.de/2010/11/29/a_simple_redis_use_case.html#comment-104745883</link><description>&lt;p&gt;In the article I wrote the reason why I'm storing it this way, simply because we're only querying the API in certain intervals. As these are fixed, it doesn't make sense for us to make it this fine-grained, as we simly don't have it.&lt;/p&gt;&lt;p&gt;But in general, of course that kind of information in that particular would be useful and should be stored accordingly when required. Depends on the use case, as always.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mathias Meyer</dc:creator><pubDate>Mon, 29 Nov 2010 12:42:02 -0000</pubDate></item><item><title>Re: paperplanes. Relational Data, Document Databases and Schema Design</title><link>http://www.paperplanes.de/2010/7/5/relational_data_document_databases_schema_design.html#comment-72350213</link><description>&lt;p&gt;Did I say it's bad? Did I say it should be abandonded? Did I say data should be assumed to be inconsistent all the time? I think I didn't. Thanks for your valuable addition to this discussion.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mathias Meyer</dc:creator><pubDate>Thu, 26 Aug 2010 04:04:06 -0000</pubDate></item><item><title>Re: paperplanes. An Inconvenient Caveat about MongoDB's Replica Sets</title><link>http://www.paperplanes.de/2010/8/12/inconvenient_caveat_about_mongodbs_replica_sets.html#comment-68193399</link><description>&lt;p&gt;Great! My apologies for causing such a stir then, the original design just really struck a bad chord with me. I'll update the post accordingly.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mathias Meyer</dc:creator><pubDate>Thu, 12 Aug 2010 11:06:32 -0000</pubDate></item><item><title>Re: paperplanes. An Inconvenient Caveat about MongoDB's Replica Sets</title><link>http://www.paperplanes.de/2010/8/12/inconvenient_caveat_about_mongodbs_replica_sets.html#comment-68192914</link><description>&lt;p&gt;I consider that somewhat of a poll. It's still up to the client to issue a second command to wait for a successful write on the cluster.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mathias Meyer</dc:creator><pubDate>Thu, 12 Aug 2010 11:03:22 -0000</pubDate></item><item><title>Re: paperplanes. An Inconvenient Caveat about MongoDB's Replica Sets</title><link>http://www.paperplanes.de/2010/8/12/inconvenient_caveat_about_mongodbs_replica_sets.html#comment-68192465</link><description>&lt;p&gt;That slide pretty much says what I wrote above. Mike's comment though made this issue a lot more of a non-issue, moving deleted data elsewhere sounds much better than deleting it.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mathias Meyer</dc:creator><pubDate>Thu, 12 Aug 2010 11:00:43 -0000</pubDate></item><item><title>Re: paperplanes. An Inconvenient Caveat about MongoDB's Replica Sets</title><link>http://www.paperplanes.de/2010/8/12/inconvenient_caveat_about_mongodbs_replica_sets.html#comment-68192334</link><description>&lt;p&gt;May I humbly suggest then that you update the documentation accordingly. Just as I did, people could get wrong ideas about what works and what doesn't. As it seems that even made it into 1.6.0, and is surely a step foreward to simply deleting data.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mathias Meyer</dc:creator><pubDate>Thu, 12 Aug 2010 10:59:54 -0000</pubDate></item><item><title>Re: paperplanes. A Collection Of Redis Use Cases</title><link>http://www.paperplanes.de/2010/2/16/a_collection_of_redis_use_cases.html#comment-67054393</link><description>&lt;p&gt;Great! Though back when I first tried it, the session support didn't work for me in Rails 2, so I whipped my own version (&lt;a href="http://github.com/mattmatt/redis-session-store)" rel="nofollow noopener" target="_blank" title="http://github.com/mattmatt/redis-session-store)"&gt;http://github.com/mattmatt/...&lt;/a&gt;, which eventually got included in redis-store, as far as I remember.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mathias Meyer</dc:creator><pubDate>Sat, 07 Aug 2010 17:21:37 -0000</pubDate></item><item><title>Re: CouchDB Case Study: CouchDB for Reporting and More</title><link>http://nosql.mypopescu.com/post/906920881#comment-66166258</link><description>&lt;p&gt;Just because views are updated on read doesn't mean they can't be used for reporting, that's a flawed assumptions. Given the right set of views it's quite feasable to get reporting data out of CouchDB. Not everyone needs to resort to Hadoop to analyze their data. It's not even easy to pass this judgement on them, because the case study doesn't specifically mention what kind of reporting is run on how much data.&lt;/p&gt;&lt;p&gt;I wouldn't say that free schema is bad for reporting in general. Especially not in CouchDB. Sure, you have define the views on that data upfront, but you're flexible enough in defining the views in ways that are open for different kinds of range queries, extending them for particular needs. I sure wish there'd be more detail on this too, but I wouldn't rule out per se that free schema and reporting are not a fit.&lt;/p&gt;&lt;p&gt;And if it works for them, why argue?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mathias Meyer</dc:creator><pubDate>Thu, 05 Aug 2010 04:47:55 -0000</pubDate></item><item><title>Re: Scalarium: Beta Update: Simplified And Automated Monitoring with Ganglia</title><link>http://www.scalarium.com/blog/2010-08-03-beta-update-simplified-and-automated-monitoring-with-ganglia#comment-65899257</link><description>&lt;p&gt;That's odd. I'll look into that tomorrow. Could you open a support ticket for that and describe any other things the database master might've been responsible for? Thanks very much.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mathias Meyer</dc:creator><pubDate>Tue, 03 Aug 2010 15:46:18 -0000</pubDate></item><item><title>Re: paperplanes. Vim - A Never-ending Love Story</title><link>http://www.paperplanes.de/2010/6/29/vim_a_neverending_love_story.html#comment-64664967</link><description>&lt;p&gt;You mean TextMate's snippets? Sure thing, there's snipMate (&lt;a href="http://www.vim.org/scripts/script.php?script_id=2540)" rel="nofollow noopener" target="_blank" title="http://www.vim.org/scripts/script.php?script_id=2540)"&gt;http://www.vim.org/scripts/...&lt;/a&gt; and a collection of accompanying/extendings snippets available (&lt;a href="http://github.com/scrooloose/snipmate-snippets)" rel="nofollow noopener" target="_blank" title="http://github.com/scrooloose/snipmate-snippets)"&gt;http://github.com/scrooloos...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Hope this helps.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mathias Meyer</dc:creator><pubDate>Tue, 27 Jul 2010 12:45:22 -0000</pubDate></item><item><title>Re: paperplanes. 10 Annoying Things About CouchDB</title><link>http://www.paperplanes.de/2010/7/26/10_annoying_things_about_couchdb.html#comment-64330959</link><description>&lt;p&gt;Ha! Now that'd be swell, wouldn't it? Thanks, fixed it.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mathias Meyer</dc:creator><pubDate>Mon, 26 Jul 2010 16:20:44 -0000</pubDate></item><item><title>Re: paperplanes. When To Redis</title><link>http://www.paperplanes.de/2009/10/29/when_to_redis.html#comment-61253022</link><description>&lt;p&gt;I'd say this is the wrong place to ask this question. Personally, I haven't heard anything in that regard, but I reckon with Redis &amp;lt; 2.0 (without the VM) it could happen. 4GB is somewhat of a magic boundary on 32bit systems, but it's probably safest to ask on the #redis IRC channel or the mailing list.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mathias Meyer</dc:creator><pubDate>Fri, 09 Jul 2010 03:51:35 -0000</pubDate></item><item><title>Re: paperplanes. Relational Data, Document Databases and Schema Design</title><link>http://www.paperplanes.de/2010/7/5/relational_data_document_databases_schema_design.html#comment-60818310</link><description>&lt;p&gt;I mention it in every single one of my talks. To which I linked, for your convenience, right at the top of the article.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mathias Meyer</dc:creator><pubDate>Tue, 06 Jul 2010 16:48:48 -0000</pubDate></item><item><title>Re: paperplanes. Relational Data, Document Databases and Schema Design</title><link>http://www.paperplanes.de/2010/7/5/relational_data_document_databases_schema_design.html#comment-60656734</link><description>&lt;p&gt;I think this goes to show that there is no one solution for the same use case even. And I'm not implying it should be done this way, if you thought I'm stating fact, clearly I my intention came across wrong in this particular case, it was merely a suggestion.&lt;/p&gt;&lt;p&gt;If you've built ecommerce apps without having to resort to denormalization, that's cool. I've found the opposite to be the way to go in my experience. What you're saying surely is possible, I'm arguing that it's about the pain of living with that normalization vs. simply storing the data together with the order. Both work, both may or may not have trade-offs.&lt;/p&gt;&lt;p&gt;Examples on e-commerce (focused on MongoDB): &lt;a href="http://kylebanker.com/blog/2010/04/30/mongodb-and-ecommerce/" rel="nofollow noopener" target="_blank" title="http://kylebanker.com/blog/2010/04/30/mongodb-and-ecommerce/"&gt;http://kylebanker.com/blog/...&lt;/a&gt;, &lt;a href="http://codeascraft.etsy.com/2010/05/19/mongodb-at-etsy/" rel="nofollow noopener" target="_blank" title="http://codeascraft.etsy.com/2010/05/19/mongodb-at-etsy/"&gt;http://codeascraft.etsy.com...&lt;/a&gt; and &lt;a href="http://codeascraft.etsy.com/2010/07/03/mongodb-at-etsy-part-2/" rel="nofollow noopener" target="_blank" title="http://codeascraft.etsy.com/2010/07/03/mongodb-at-etsy-part-2/"&gt;http://codeascraft.etsy.com...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mathias Meyer</dc:creator><pubDate>Mon, 05 Jul 2010 14:28:43 -0000</pubDate></item><item><title>Re: paperplanes. Relational Data, Document Databases and Schema Design</title><link>http://www.paperplanes.de/2010/7/5/relational_data_document_databases_schema_design.html#comment-60650054</link><description>&lt;p&gt;I did, just a couple of lines below:&lt;br&gt;"Shipping and billing address, payment data used, product price and taxes, and so on."&lt;/p&gt;&lt;p&gt;That's pretty much off the top of my head, the basic data I found to be duplicated with every order, simply to have a full track record in case the user changes any of that data at some point after an order.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mathias Meyer</dc:creator><pubDate>Mon, 05 Jul 2010 13:48:40 -0000</pubDate></item></channel></rss>