Entries tagged as blogging
Wednesday, February 4. 2009
Part of my webhosting woes of late is that, like Wordpress, my blog software (Serendipity) is horribly dependent upon massive amounts of database interaction. A few hits and suddenly your server starts leaking smoke and your webhosting provider shuts you down. This is obviously not optimal, and a big part of the reason I made the switch to Dreamhost’s Virtual Private Server platform in the first place. Dreamhost’s VPS came with its own host of problems, but needless to say, database server overloading was still somewhat of a problem there. (Actually, I maintain that it is MORE of a problem, but that’s something you’ll have to take up with your helpful Dreamhost Support staff — you know, if they ever get back to you.)
Because this is such a problem on Wordpress there are quite a number of different plugins to alleviate this, all of which have pros and cons, meaning that it takes some research to determine how best to go about caching your content. Being a lesser-used platform than Wordpress, Serendipity doesn’t have quite the number of solutions to help cache the content and relieve the database server from some of its tireless work, so I set about trying to come up with a solution.
While reading up on some of these plugin-based solutions on Wordpress’s platform, trying to see if there was some technique I could move over to Serendipity, I stumbled across an ingenious idea:
Run a squid web proxy in reverse.
Squid is designed to sit between your browser and the rest of the internet, efficiently caching content so that your browser doesn’t have to re-download it all the time, effectively “speeding up” your internet connection. This is especially helpful in a network situation where you have a number of people using the same internet connection. When Bob loads up the day’s LOLcats, squid will cache them locally so that Steve’s computer doesn’t have to download them yet again. Pretty common setup, and very effective at what it does.
Anyway, someone far cleverer than I realized that one could use squid the other way ‘round: by running it on your web host, intercepting every incoming request seeking content from your site. Squid will happily pass requests through to the web server, where content will be fetched from your database. But if squid knows it has a recent copy in memory, it will send that back to the browser instead, never letting it touch your webserver — and thus any databases — saving yourself some pretty significant amount of RAM and CPU.
I’m here to report that it works like a charm. Granted, there are quirks — like comments not immediately displaying — but that’s a trade-off I’m more than willing to make.
If you’d like more information, here are the instructions I followed to get this setup running on my new host: Reverse Proxying with Squid.
Wednesday, April 2. 2008
If you’re out of the loop — and I suspect that you are — then you’re not aware of the big Johnson & Johnson “Camp Baby” conference that’s taking place this weekend in New Jersey.
Essentially, Johnson & Johnson is hoping to get some good “blogblicity” from some high-profile “mommybloggers” by flying them out, putting them up in fancy hotels, picking them up in fancy GM SUVs and presenting all sorts of mom-related forums and panels and things. I guess they’ll probably show off some new products and whatnot, and hope to recoup all the costs of putting on such a shindig by the word-of-mouth that will inevitably spread around the various mommyblogger circles. Or spheres. Or whatever we’re calling it now.
There are several funny things about this though:
1) Johnson & Johnson made quite the snafu when they announced that mommybloggers would not be able to bring their babies to “Camp Baby.” This resulted in spheres of fury the likes of which the world has never seen, with wave after wave of interconnected communities of high-profile mommybloggers vowing to not only not participate, but to never again buy a Johnson & Johnson product. And worse: to recommend to their faithful readers that they not do so either. The jury is still out on the possibly irreparable damage to the mommyblogosphere; it was neatly cleaved in twain by the rift between those bloggers participating and those that aren’t.
2) A good number of these mommybloggers are a members of the BlogHer ad network, which has a rule stipulating that you can’t blog about things if they happened as a result of payment or promotional material by a corporation. Meaning: none of these BlogHer mommybloggers can actually blog about any of the things that they saw or did with Johnson & Johnson unless they specifically disable the advertisements on their sites for those blog articles/feeds. And they are GIRLS, so you know they don’t know how to do that, right? ;)
Anyway, I’ve been seeing reports of all the fun times the mommybloggers are having via some of my contacts on the inside, and it sounds like Johnson & Johnson have gone all-out to make this bloggy get-together a great time that will be shared by all involved. The rest of the world just probably won’t get to hear much about it. Now that’s what I call planning.
Friday, May 4. 2007
[still not suposed to use my wrist, but I’m typing a little anyway… typos ar enow a combination of physical and mental handicap rather than just a physical one]
A while back Matthew Jabs took part in the Simply Successful Secrets meme and tagged me to participate as well, seemingly under the assumption that I’d have anything helpful to say. Let’s see if he was right.
1. You create things because you want people to see them. Rather than expending energy trying to prevent some people from using the things you create in some way you don’t like, just look at it as it really is: people are seeing your work. Whether they’re hotlinking your images, stealing your post content, or sharing clips from your tv show on YouTube, eyes are seeing your work. Isn’t that the entire point?
2. Encourage people to use your work. Creative Commons licensing anything you create is the best and most-effective way to get large amounts of people to see it. If you’re a photographer, consider licensing your images such that bloggers, painters, filmmakers, artists, etc can use them without having to jump through hoops.
3. Don’t sweat the numbers. Many of the blogs I read have lately been almost completely devoted to talking about how great their Technorati score or their Google PageRank or whatever is. Why does this matter to you, and why do you think it would matter to anyone reading your post? Sure, it’s good having a high-profile site, but if all anyone can ever find on it is stuff about how high-profile it is, nobody wins.
4. Ads (almost always) make you focus your content on getting more readers and/or selling more ads. If you want to create things and get people to see them, then great… that’s what blogging is for. Sure, you might be able to make alittle cash by adding advertising, but I submit that pretty much every blog I’ve subscribed to that has added advertising has turned into a blog about how to get more readers to read, how to get more backlinks, how to get higher in search rankings, etc. In short: making money with your blog (almost always) turns your blog into a blog about making money with blogs about making money with blogs… I was interested in what you had to say before, but you’re losing me with all this making money stuff.
5. Every so often, tell people about it when you like what they’re doing. A few years back I got an email from someone I really looked up to telling me really nice things, and it really meant the world to me. When you get an email or a comment or something from someone who has been inspiring you, it can really make a difference in someone’s life. That sounds really sappy and silly, but when the person in question spends a bunch of time on a blog or something, it’s obviously important to them. I’d consider that part of their life.
6. Don’t participate in memes. You just end up with posts like this one.
Success is a hard thing to measure; many people who blog seem to be under the impression that having high rankings and making more money is the important metric for how successful they are at what they’re doing. Me? I don’t have a lot of readers, I’ve never done anything with the intention of increasing any rankings, I post almost entirely stupid things — yet I get feedback from people all over the world, have forged quite a number of internet friendships as a result, and am consistently blown away at the number of people out there that I’m reaching (I don’t even really know how many it is, but I do know it’s a heck of a lot more than I ever expected it would be).
So yeah, I’d call that successful. Those 6 “secrets” are the most important ones to getting me to where I am, so I hope this is what Matthew was looking for.
Sunday, April 29. 2007
[still one-handing it, but i’m getting slightly more accurate and a litttle faster… maybe soon i’ll tackle the shift key]
ive got lots of friends in the blogging business, and it seems not a day goes by that someone doesn;t come up with a new crazy scheme tto raise the profile of their blog so thatr their ads are worth more.
one of the most popular of these schemes is a recent one involving technorati ‘favorites’ exchanging. people post an entry begging people to favorite them on technorati, prmosing that they’ll then reciprocate the favor.
in theory this is an interesting idea, except for the fact that it is manipulating technorati’s ranking system. technorati is going to catch on to it pretty quickly, but in the meantime your blog’s profile can skyrocket. except for one little thing: the ranking is done as a percentile. as you start helping to increase the rankings of all the people helping you incerease your rankings, your standing us going to actually suffer for it. you’ve moved up — but so has everyone else.
so in the end you may get some new friends out of it, but really you’ve just wasted a bunch of time and effort — and corrupted technorati’s valuable ranking algorithm in the process. if everyone is manipulating the system, the system becomes worthlkess.
don’t break good things just because you might get something out of it. internet curmudgeon out.
Saturday, April 7. 2007
Two years ago I decided that I needed to switch out my archaic “category” system on this site for a more dynamic “tag” system. Adding categories is a pain, meaning I never have an appropriate one for anything I post. Tags make all sorts of amazing stuff possible. In short, it was a “no brainer,” really.
The only problem was that I had a wealth of posts back then, and I didn’t look forward to having to go through and tag them all. So I didn’t switch over. Because it would be too much work.
It’s now been two years and like 600+ posts later, and I actually got around to doing the bulk of the work today. I got it to automatically populate my existing categories into tags, so every post has at least one tag it belongs to, but I’ve been going through and adding more appropriate tags as I find them. This is a real pain in the butt, but I feel it is well worth it.
The moral of this story? If you think it’s going to be too much work to do something now, just imagine how much more work it will be when you actually get around to it.
UPDATE: A lot (most) of my old posts are very poorly titled, so as I go through tagging them I’m trying to fix those as well. This will probably cause them to come through your feed reader again, so I apologize if you’ve seen them before. Many of you haven’t, though, so I don’t feel too badly about it.
|
|