<?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 waloeiii</title><link>http://disqus.com/by/waloeiii/</link><description></description><atom:link href="http://disqus.com/waloeiii/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 23 Sep 2014 13:17:19 -0000</lastBuildDate><item><title>Re: Monitoring Everything (Part 2)</title><link>https://ianunruh.com/2014/05/monitor-everything-part-2.html#comment-1602284729</link><description>&lt;p&gt;What happens when the redis node goes down?&lt;/p&gt;&lt;p&gt;The single point of failure is just moving around. I agree that it is not optimal to spool to local disk regularly, but in any other configuration you are guaranteeing message loss and increasing complexity.&lt;/p&gt;&lt;p&gt;Do you find your redis server to be more reliable than your logstash node? I would argue that is probably a configuration issue - my logstash instances have been extremely reliable once I setup the JVM correctly.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">waloeiii</dc:creator><pubDate>Tue, 23 Sep 2014 13:17:19 -0000</pubDate></item><item><title>Re: Monitoring Everything (Part 2)</title><link>https://ianunruh.com/2014/05/monitor-everything-part-2.html#comment-1550148949</link><description>&lt;p&gt;Why use redis? Isn't it just another moving part that might fail. If your logstash indexer goes down, the shipper should spool on its own local disk.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">waloeiii</dc:creator><pubDate>Tue, 19 Aug 2014 16:27:03 -0000</pubDate></item><item><title>Re: Understanding New Relic Queuing</title><link>http://174.129.7.73/2013/new-relic-queuing#comment-762789247</link><description>&lt;p&gt;What about X-Request-Start on the edge load-balancer? X-Queue-Start is generally inserted by the webserver just in front of the application servers, but there is a large amount of time spent in SSL negotiation and various reverse proxies that commonly exist before the application servers.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">waloeiii</dc:creator><pubDate>Thu, 10 Jan 2013 14:22:19 -0000</pubDate></item><item><title>Re: Nikolay Sturm's Blog: Pragmatic Scalability for Puppet -- How a Cronjob Saved My Puppetmaster</title><link>http://blog.nistu.de/2010/04/14/pragmatic-scalability-for-puppet----how-a-cronjob-saved-my-puppetmaster/#comment-382931889</link><description>&lt;p&gt;You can just use the splay feature to do this "automagically" for you. Set the splay time for something like 5 minutes, and when all nodes restart, they will check in randomly across the 5 minute window avoiding crushing your puppetmaster.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">waloeiii</dc:creator><pubDate>Fri, 09 Dec 2011 12:08:42 -0000</pubDate></item><item><title>Re: Edge Rails.info :: ActiveRecord Identity Map</title><link>http://edgerails.info/articles/what-s-new-in-edge-rails/2011/04/21/activerecord-identity-map#comment-190355621</link><description>&lt;p&gt;This will probably yield a nice performance benefit when rendering partials in big loops. All of the foo.bar.baz.widget calls will not generate new objects all the way up the chain, which will avoid creating tons of single use objects which then have to be collected.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">waloeiii</dc:creator><pubDate>Fri, 22 Apr 2011 19:33:58 -0000</pubDate></item><item><title>Re: Starting with Git: Cheat Sheet</title><link>http://thinkvitamin.com/code/starting-with-git-cheat-sheet/#comment-93472273</link><description>&lt;p&gt;If you want to avoid doing git add myfile.txt 8 times if you touched 8 files, it accepts a lot more options.&lt;/p&gt;&lt;p&gt;You could do something like&lt;/p&gt;&lt;p&gt;$ git add *.txt&lt;/p&gt;&lt;p&gt;or if you want everything&lt;/p&gt;&lt;p&gt;$ git add .&lt;/p&gt;&lt;p&gt;Also, you don't have to stage everything in a file you can use interactive add to stage only chunks. Maybe you did a bunch of work in one file but realize it would be easier to manage if it was 3 separate commits.&lt;/p&gt;&lt;p&gt;$ git add -i&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">waloeiii</dc:creator><pubDate>Wed, 03 Nov 2010 15:11:18 -0000</pubDate></item><item><title>Re: OmniTI - Theo Schlossnagle</title><link>http://webpulp.tv/post/816582386#comment-65180747</link><description>&lt;p&gt;Tom Kleinpeter is working on the evaluation of gear:&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.devdiligence.com/" rel="nofollow noopener" target="_blank" title="http://www.devdiligence.com/"&gt;http://www.devdiligence.com/&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">waloeiii</dc:creator><pubDate>Thu, 29 Jul 2010 18:51:42 -0000</pubDate></item><item><title>Re: SimpleGeo - Joe Stump</title><link>http://webpulp.tv/post/848819707#comment-65178092</link><description>&lt;p&gt;Cassandra downside: Schema Changes.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">waloeiii</dc:creator><pubDate>Thu, 29 Jul 2010 18:35:35 -0000</pubDate></item><item><title>Re: How to use Amazon&amp;#8217;s S3 web service for Scaling Image Hosting</title><link>http://blog.teachstreet.com/building-teachstreet/how-to-use-amazon-s3-scaling-image-hosting/#comment-62285156</link><description>&lt;p&gt;Instead of managing the cache yourself you could store these in memcache and retrieve them with the nginx memcache module. You could also do something similar with Varnish.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">waloeiii</dc:creator><pubDate>Wed, 14 Jul 2010 18:17:10 -0000</pubDate></item><item><title>Re: Simple daily git workflow</title><link>http://nakedstartup.com/2010/04/simple-daily-git-workflow/#comment-44688297</link><description>&lt;p&gt;Recently wrote up how we do this at &lt;a href="http://onehub.com" rel="nofollow noopener" target="_blank" title="onehub.com"&gt;onehub.com&lt;/a&gt;, we wrote some tools around the Lighthouse, Github and Hoptoad APIs to script some of this to make deploying super easy.&lt;/p&gt;&lt;p&gt;&lt;a href="http://leigh.onehub.com/buildmeister-talk" rel="nofollow noopener" target="_blank" title="http://leigh.onehub.com/buildmeister-talk"&gt;http://leigh.onehub.com/bui...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">waloeiii</dc:creator><pubDate>Tue, 13 Apr 2010 23:32:10 -0000</pubDate></item><item><title>Re: Consuming the Twitter Streaming API</title><link>http://adam.blog.heroku.com/past/2010/3/19/consuming_the_twitter_streaming_api/#comment-40584227</link><description>&lt;p&gt;Yajl-Ruby will do this very well.&lt;/p&gt;&lt;p&gt;&lt;a href="http://github.com/brianmario/yajl-ruby" rel="nofollow noopener" target="_blank" title="http://github.com/brianmario/yajl-ruby"&gt;http://github.com/brianmari...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;This is even one of the examples.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">waloeiii</dc:creator><pubDate>Fri, 19 Mar 2010 15:23:14 -0000</pubDate></item><item><title>Re: #yerdoinitwrong episode 1: logging with syslog</title><link>http://smartic.us/2009/09/16/yerdoinitwrong-episode-1-logging-with-syslog/#comment-17153091</link><description>&lt;p&gt;host = &amp;lt;%= hostname %&amp;gt;&lt;br&gt;index = &amp;lt;%= environment %&amp;gt;&lt;br&gt;_blacklist = \.(tgz|gz)$&lt;/p&gt;&lt;p&gt;[monitor:///var/log]&lt;br&gt;disabled = false&lt;/p&gt;&lt;p&gt;[monitor:///data/onehub/shared/log]&lt;br&gt;disabled = false&lt;/p&gt;&lt;p&gt;[monitor:///data/onehub/shared/pids]&lt;br&gt;disabled = false&lt;/p&gt;&lt;p&gt;[monitor:///vol/log/mysql-slow.log]&lt;br&gt;disabled = false&lt;/p&gt;&lt;p&gt;[monitor:///vol/log/mysqld.log]&lt;br&gt;disabled = false&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">waloeiii</dc:creator><pubDate>Tue, 22 Sep 2009 20:13:28 -0000</pubDate></item><item><title>Re: #yerdoinitwrong episode 1: logging with syslog</title><link>http://smartic.us/2009/09/16/yerdoinitwrong-episode-1-logging-with-syslog/#comment-16740152</link><description>&lt;p&gt;I should also point out that you can configure the forwarders to send data to different indexes. Set the index variable in inputs.conf to coincide with the RAILS_ENV on the machine you are deploying to. Searching through splunk defaults to production (I renamed it from main), but if I want to find something on staging just add index=staging to the query. If you aren't sure of the environment you can just search across all indices.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">waloeiii</dc:creator><pubDate>Wed, 16 Sep 2009 13:07:25 -0000</pubDate></item><item><title>Re: #yerdoinitwrong episode 1: logging with syslog</title><link>http://smartic.us/2009/09/16/yerdoinitwrong-episode-1-logging-with-syslog/#comment-16739490</link><description>&lt;p&gt;When using Splunk you don't have to send your logs to syslog, in fact I find it simpler to not do it. Every single one of my machines runs Splunk in Lightweight Forwarder Mode (&lt;a href="http://www.splunk.com/base/Documentation/3.3.4/Installation/InstallSplunkForLightweightForwarding)" rel="nofollow noopener" target="_blank" title="http://www.splunk.com/base/Documentation/3.3.4/Installation/InstallSplunkForLightweightForwarding)"&gt;http://www.splunk.com/base/...&lt;/a&gt; and they all forward to a central Splunk server. The Forwarding instances don't require licenses or anything, they will watch whatever files (or folders!) you configure in inputs.conf and then relay that to your central instance. If the central instance goes down, the Forwarders queue messages (up to a determined size) while waiting for the central server to respond. Forwarding with some aggressive logrotate configs keeps my log volume down on the working instances, and I now have 18 months of logs from 17 machines in one nice organized index.&lt;/p&gt;&lt;p&gt;@joegrossberg Splunk 3.x has a live-tail feature that I find is only ~2 seconds off real-time. Splunk 4.x is considerably faster and the regular search is only ~5 seconds off real-time (but no Live Tail in 4.x yet).&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">waloeiii</dc:creator><pubDate>Wed, 16 Sep 2009 13:04:39 -0000</pubDate></item><item><title>Re: Sumo: One-off EC2 Instance Lanching</title><link>http://adam.blog.heroku.com/past/2009/8/28/sumo_oneoff_ec2_instance_lanching/#comment-16226655</link><description>&lt;p&gt;I think the best is to use as simple of an image as possible and use the EC2 Metadata API to have instances load the appropriate recipes based off of that.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">waloeiii</dc:creator><pubDate>Wed, 09 Sep 2009 00:39:22 -0000</pubDate></item><item><title>Re: A grand piano for your violin</title><link>http://robots.thoughtbot.com/post/163627511#comment-14923791</link><description>&lt;p&gt;The query_reviewer (&lt;a href="http://github.com/dsboulder/query_reviewer)" rel="nofollow noopener" target="_blank" title="http://github.com/dsboulder/query_reviewer)"&gt;http://github.com/dsboulder...&lt;/a&gt; plugin is perhaps the most useful tool for this.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">waloeiii</dc:creator><pubDate>Sun, 16 Aug 2009 20:03:31 -0000</pubDate></item><item><title>Re: A grand piano for your violin</title><link>http://robots.thoughtbot.com/post/163627511#comment-14923683</link><description>&lt;p&gt;MySQL does some very weird things with indexes.&lt;/p&gt;&lt;p&gt;&lt;a href="http://dev.mysql.com/doc/refman/5.0/en/mysql-indexes.html" rel="nofollow noopener" target="_blank" title="http://dev.mysql.com/doc/refman/5.0/en/mysql-indexes.html"&gt;http://dev.mysql.com/doc/re...&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Its especially important to recognize the order of the columns in a WHERE is significant.&lt;br&gt;"MySQL cannot use an index if the columns do not form a leftmost prefix of the index"&lt;/p&gt;&lt;p&gt;Using hash notation for the WHERE does not guarantee order (unless you are on Ruby 1.9) so your query could ask for the columns out of order, use the Array conditions syntax if you need to guarantee this or use some Hash that retains order.&lt;/p&gt;&lt;p&gt;When creating composite indexes, its very important to use the more selective element first, for example with a Polymorphic do other_id, other_type since id will be more selective than type (you probably only have a fewer Models than entries.)&lt;/p&gt;&lt;p&gt;On the topic of indexing created_at, why would you when your PK (id typically) is already extremely likely to be in the correct order? There is a small chance if you are looking at the global list, that because of transactions a few ids could be out of order relative to created_at, but its much more common that you are showing me my comments sorted chronologically in which case odds are extremely slim that I've created two that overlap, the id of the comments is more than sufficient and frees the database from maintaining another index.&lt;/p&gt;&lt;p&gt;As another gotcha, MySQL isn't very good at using multiple indexes per table per query, be sure to check your EXPLAIN statements carefully to see query plan.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">waloeiii</dc:creator><pubDate>Sun, 16 Aug 2009 19:58:22 -0000</pubDate></item></channel></rss>