dustin.sallings.org
Seriesly - Document Oriented Time Series DB
http://dustin.sallings.org/2012/09/09/seriesly.html
Why so, Seriesly? So, I started writing a document-oriented time-series database. Two weeks ago. It’s really nothing groundbreaking, but it’s been quite fun. My purpose is to have a system that allows me to store arbitrary performance data captured as it’s seen in the wild, and then later come up with ways to look at it. Check out this real life example. Describes in detail all that can be done with it, but the general strategy is the following:. Capture lots of data. The following diagram shows an examp...
dustin.sallings.org
Couchbase OSX
http://dustin.sallings.org/2011/04/04/mac-couchbase.html
About a year ago, Trond. Asked me to build him a GUI tool for running membase on his Mac. I finally got around to it and we liked it enough that we’re making it available. I’ve been on a cocoa development kick lately after doing some work Jan’s. CouchDBX for our Couchbase Server 1.1. Release. It was really quite awesome and easy to get people going. I recommended it to all of my friends who were interested in CouchDB, but it was not something I ever ran myself. Easy start at login. If you have a persiste...
dustin.sallings.org
Presenting - La Brea
http://dustin.sallings.org/2010/12/03/labrea.html
I realize it’s a little lame to have two posts in a row on the same topic. I’ve done a lot of work here and the first one wasn’t very well understood, so let’s just pretend like it never happened. I thought perhaps I can make up for it slightly by using a medium I’m not particularly accustomed to a video slideshow thingy. But we’ve already established that didn’t happen, so allow me to introduce you to La Brea. Raquo; Playing with LEDs. Raquo; Taranis and the Nano QX. Blog comments powered by Disqus.
dustin.sallings.org
Seriesly Internals Tour
http://dustin.sallings.org/2012/09/13/inside-seriesly.html
My previous a blog post. Introduces a documented-oriented time series database I wrote. It’s introductory material that somewhat describes why the software exists and a bit about how to use it. Here I describe how it works. As mentioned before, the bulk of the software was in a useful state in two weeks. I attribute much of this success to go. Itself contains the details of my knowledge, but I’ll highlight some of the parts that helped the most in the coming paragraphs. Also, we place a. Int is a counter...
dustin.sallings.org
Need the INFO
http://dustin.sallings.org/2013/07/04/siginfo.html
Why Isn’t my Program Working Harder? In my efforts to saturate my network with cbfs. I kept noticing lulls in my graphs both the seriesly. And the OSX widget. I use showing me what my computer’s doing. I decided to figure out what the client is doing when it’s supposed to be breaking my networks. The cbfsclient download tool does three passes against the cluster to figure out what to do:. The first translates the path you requested to a tree of filenames and object IDs (typically sha1 hashes). Signals in...
dustin.sallings.org
Maintaining a Set in Memcached
http://dustin.sallings.org/2011/02/17/memcached-set.html
Maintaining a Set in Memcached. This is something that comes up every once in a while. I usually describe a means of doing it that I think makes sense, but I don’t think I’ve ever described it. Well enough. People tend to think it’s complicated or slow or things like that. I’m going to try to try to solve that problem here. In order to be useful for enough applications, we’re going to work under the following assumptions:. Must minimize round trips to the servers. Lock and wait free. To the set and.
dustin.sallings.org
Airing My Dirty Laundry
http://dustin.sallings.org/2012/09/16/wash.html
I set out to solve this problem using my only skills, but I have a problem. How do I program an old washing machine? My first idea was to use a vibration sensor. Attached to the laundry devices to detect when they’re doing something. This is more complicated than it sounds because the vibration can be a bit subtle during some of the cycles and getting reliable signal out of these sensors at the levels I needed seemed just a little too indirect. I know, I’ll just measure the power it’s using. I can’t stre...
dustin.sallings.org
CBFS DNS Service
http://dustin.sallings.org/2012/10/05/cbfsdns.html
This is kind of a silly idea and not necessarily a recommendation for how you should do things. Also, this is not a replacement for DNS-SD. Or any such things. But it’s a fun toy I got working in a couple of hours, so I’m playing with it. If you’re looking at this web page, you’ve probably interacted in some way with the domain name system. It’s pretty convenient as a human to ask for. And not think about what that means. Many of the DNS queries that are tossed about are for. And get the following:.
dustin.sallings.org
Wherefore go-saturate
http://dustin.sallings.org/2013/07/17/saturate.html
In my previous blog post. I wrote about a bottleneck I ran into that caused my application to pause when I felt it should’ve been working hard. My workers were all stuck waiting for data from one source while other sources of the same data were available. This is how I fixed it. First, it’s good to see exactly what the problem looked like. There are four workers and they all need a mix of data of type. Data sets are replicated so any given record can come from one of two of these servers. The scenario il...