Canned Platypus

Making the world better, one byte at a time.

Archive for the ‘site’ Category

I’ve been on vacation for the last few days, and while I was (mostly) gone a few interesting things seem to have happened here on the blog. The first is that, after a totally unremarkable first week, my article It’s Faster Because It’s C suddenly had a huge surge in popularity. In a single day it has become my most popular post ever, more than 2x its nearest competitor, and it seems to have spawned a couple of interesting threads on Hacker News and Reddit as well. I’m rather amused that the “see, you can use Java for high-performance code” and the “see, you can’t…” camps seem about evenly matched. Some people seem to have missed the point in even more epic fashion, such as by posting totally useless results from trivial “tests” where process startup dominates the result and the C version predictably fares better, but overall the conversations have been interesting and enlightening. One particularly significant point several have made is that a program doesn’t have to be CPU-bound to benefit from being written in C, and that many memory-bound programs have that characteristic as well. I don’t think it changes my main point, because memory-bound programs were only one category where I claimed a switch to C wouldn’t be likely to help. Also, programs that store or cache enough data to be memory-bound will continue to store and cache lots of data in any language. They might hit the memory wall a bit later, but not enough to change the fundamental dynamics of balancing implementation vs. design or human cycles vs. machine cycles. Still, it’s a good point and if I were to write a second version of the article I’d probably change things a bit to reflect this observation.

(Side point about premature optimization: even though this article has been getting more traffic than most bloggers will ever see, my plain-vanilla WordPress installation on budget-oriented GlowHost seems to have handled it just fine. Clearly, any time spent hyper-optimizing the site would have been wasted.)

As gratifying as that traffic burst was, though, I was even more pleased to see that Dan Weinreb also posted his article about the CAP Theorem. This one was much less of a surprise, not only because he cites my own article on the same topic but also because we’d had a pretty lengthy email exchange about it. In fact, one part of that conversation – the observation that the C in ACID and the C in CAP are not the same – had already been repeated a few times and taken on a bit of a life of its own. I highly recommend that people go read Dan’s post, and encourage him to write more. The implications of CAP for system designers are subtle, impossible to grasp from reading only second-hand explanations – most emphatically including mine! – and every contribution to our collective understanding of it is valuable.

That brings us to what ties these two articles together – besides the obvious opportunity for me to brag about all the traffic and linkage I’m getting. (Hey, I admit that I’m proud of that.) The underlying theme is dialog. Had I kept my thoughts on these subjects to myself or discussed them only with my immediate circle of friends/colleagues, or had Dan done so, or had any of the re-posters and commenters anywhere, we all would have missed an opportunity to learn together. It’s the open-source approach to learning – noisy and messy and sometimes seriously counter-productive, to be sure, but ultimately leading to something better than the “old way” of limited communication in smaller circles. Everyone get out there and write about what interests you. You never know what the result might be, and that’s the best part.

(Dedication: to my mother, who did much to teach me about writing and even more about the importance of seeing oneself as a writer.)

You might notice that things look a little different around here. I stayed up a bit later than I meant to last night, tweaking a new theme to give the place a slightly fresher look. If I broke anything too badly you wouldn’t be able to read this, but for minor damage just leave a comment. Thanks!

Jan
22
Site Trends

Just for fun, I decided to spend part of my lunch break generating a graph of my top twenty posts. The first graph I did was total hits vs. date posted. I know this site has become more popular lately, and I wasn’t too surprised to see that the increase in popularity outweighs the effect of older posts having had longer to rack up the numbers. What I thought might be more interesting was a graph of hits per day instead of total hits. Since #20 was a too-recent anomaly, I only graphed the top nineteen. Here’s the result.

hits per day vs. date posted

Not bad. Of course, for this graph the general effect of age is the opposite of what it would be for total hits. I’d like to graph “hits in first month” but that would require a lot more log processing than I can do on my lunch break. The thing I find most interesting is what this tells me about my evolving readership. Eight out of the ten most recent posts to make the list are technical, as are six out of the top ten by total hits and seven out of the top ten by hits per day. While I’ve gone through periods of less technical blogging, and some of the results do make the top twenty, the technical stuff is clearly what people come here for. Most of my family and some of my friends have learned to look for other stuff (including family pictures) on Facebook, and I’ve deliberately cut back on the political stuff in general (my recent blip about the election notwithstanding). As I predicted back in my “Unemployed!” post – #15 total and #8 per day – this blog has become and will probably continue to be more technical than it was during the mid-oughties.

One of the things I’ve really come to dislike about many bloggers is their endless self-promotion. Many people seem to follow up even their most trivial blog post by linking to it on Twitter, on Facebook, on LinkedIn, on several tech-news aggregators (dzone is particularly afflicted by this), and on just as many mailing lists. I don’t see the point. I believe we’ve all become sufficiently well connected that good content will tend to find its audience without such shenanigans. I occasionally write something that gets linked elsewhere, causing a spike in my readership – sometimes well after an article was actually posted. I like that, I take pride in it, but my traffic numbers today are only interesting relative to my own traffic numbers yesterday. Increasing traffic means I’m getting better at writing things that my audience seems to like, and that makes me happy. I feel no need to compare my numbers to anyone else’s, though. If I started pimping my articles everywhere I could, my traffic would start to reflect the effort I put into self-promotion, instead of the effort I put into thinking and writing, and all comparisons to my own historical numbers would be invalid. That seems like a loss to me.

If you like something I write here, and think some other audience would benefit from seeing it, by all means post a link wherever you want. I know some of my readers have already done that many times, and I thank them for it – especially you, Wes, wherever you are. I think such genuine “votes of confidence” from others are worth far more – to me and to readers – than me linking to myself could ever be, which is a large part of why I decline to play that game. I’m opting out of that particular rat race, and any other race that can only be won by the biggest rat. I like my niche.

Nov
6
Back on Top

Google finally has me at #1 for my own name again. Take that, Jeff Darcy!

(Seriously, I couldn’t be in better company. Jeff’s a fine cartoonist whose work I enjoy . . . at least when it’s not too Ohio-specific for a Massachusetts guy to understand. I wish him the best of everything . . . except for the top spot on the top search engine.)

Nov
2
New Records

Last month, this site set some new records. The most obvious one is that Wordpress stats report 8,763 visits for October, vs. 8,701 for previous record holder June. AWStats shows a slightly different picture, though, in particular that September was already beating June in some categories. Here are some highlights:

  • 26,954 visits (September 23,868; June 22,969)
  • 13,524 unique visitors (September 11,609; June 11,950)
  • 69.992 pages (September 62,572; June 57,516)

What I like best about these results is that they’re not the result of a single huge spike like I got for my “Unemployed!” article back in June. (Yay, I’m no longer most famous for having lost my job!) Sure, I wouldn’t have set a record if not for the scary-pumpkin traffic, but there was a pretty consistent level of traffic all through the month. My posts on software cargo cults, consistent hashing, and particularly comparing key/value stores all generated mini-bumps of their own. It’s nice to know not so much that people are reading this site, but that the ideas I’m writing about (most of which I got from elsewhere) seem to be the subject of increased interest. I’m the surfer, not the wave. I know that, and I know these are also trifling numbers compared to the people really generating the wave, but it’s still nice to feel like this site is part of something and not just another personal waste of time. I’m wasting lots of people’s time now!

I was just re-checking prices for some of the various cloud providers, and suddenly realized that Rackspace’s Cloud Server pricing page prominently features a quote from the block I/O performance comparison I did a while back. Cool. I wonder if they also saw my parallel filesystem results. Let me know when you’d like me to re-run that test, guys.

If I mention a public company on this blog, and somebody else posts a link to me on Yahoo! Finance, am I constrained with respect to buying or selling that company’s stock? As absurd as it might seem, I suspect the practical answer is yes. Certainly the person posting to Y!F would be subject to such constraints; there have been many cases regarding that “pump and dump” tactic over the years, and rightly so. I suppose that two unscrupulous people could try to avoid such scrutiny by having the blogger do the trading so that the Y!F poster’s hands appear clean. I’m not even sure it would work, and it would require a far more influential blog than this one to have any effect on price, but it’s certainly not hard to imagine someone trying.

I wasn’t planning to buy or sell anything I’ve mentioned here, but it does irk me a bit that somebody I don’t even know could create that kind of trouble for me. If I ever do start picking individual stocks, I guess I’ll also have to start paying attention to inbound links as well.

Apr
28
Upgrades

I’ve upgraded my version of WordPress, and also updated my list of links in the right sidebar. As always, let me know if anything seems weird.

As I’m sure reading this on the site itself and not in an RSS reader have noticed, the look here has changed. I like this new theme visually, but functionally there some things I’m not sure about – especially the fact that it only shows the contents of only the most recent post and just titles for the rest. Please let me know what you think; if others seem to share these reservations I’ll either fix it or revert to the old theme.

UPDATE: never mind. Other people commented on the same display-one-post issue, confirming my impression that it was a bad idea. That’s a pity, because I like other things about that theme (“sunset”). Instead I’ve switched to another theme (“fall colors”) that I also like, and tweaked it a bit. Let’s see how that works out.