Archive
At our company we have a lot of uses for a solid API. We can use it to
distribute config files, have servers report in, let customers edit DNS
records using their own interface, etc.
I still got sites running Apache, but all new projects are launched with
Nginx. I don't need many of the features that Apache offers, and the speed
gain of Nginx is just tremendous. Once you've experienced it, I doubt you'll
want to go back.
If you want to do command-line MySQL administration like restoring databases
or dumping statistics, you need the root account and it's password. Or do you?
Don't know Redis? Think Memcache, with support for
for lists, and disk-based storage.
You can use Redis as a database, queue, cache server or all of those combined.
Let's see how you can use this power in your PHP apps.
Some time ago I was in the situation where I was looking at 200 MyISAM tables
screaming to get converted to InnoDB for performance reasons.
You probably know that MyISAM is better at fulltext searches and such,
but what I needed was this database stop locking entire tables when I was
just doing row-level interactions. Here's how I did in one go.
When you're debugging a tough problem you sometimes need to analyze the
HTTP traffic flowing between your machine and a webserver or proxy.
Sometimes you can use firebug or chrome inspector for that. But here's a
lowlevel alternative that I'm pretty excited about. Meet Tshark.
Here the notes I took during the Dutch PHP conference 2010 (#dpc10). They're not a representative
summary of the event's highlights cause I could only attend 1 of 4 talks at any given time.
I also filtered out things that didn't interest me personally.
Today we are very happy to announce the commercial availability of
transloadit.com.
At transloadit we use
HAProxy "The Reliable, High Performance TCP/HTTP Load Balancer"
so that we can offer different services on 1 port.
For instance, depending on the hostname, a requests to port 80 can be routed to either
nodejs (in case of api.transloadit.com), or
nginx (in case of www.transloadit.com).
HAProxy has been good to us and setting it up was a breeze. But getting HAProxy to log on
Ubuntu Lucid was harder than I thought.
All of the tutorials I found either didn't cover logging, or had deprecated information on it.
Google suddenly stopped being my friend.
If you want to set up Ruby on Rails on Ubuntu Lucid from scratch, there are
quite
some
articles
online to choose from. I found most of them involve compiling,
only highlight 1 aspect, or are a bit outdated.
On top of that, getting it right can be hard as there are a number of
issues related to
Ruby and Debian/Ubuntu.
This is an attempt to put all the sweet info in 1 place.
.svg/200px-Coat_of_Arms_of_Switzerland_(Pantone).svg.png)
When I started this techblog in 2007 and got my first 500 visitors, I was in
the clouds. If you told me then I'd hit the 5,000,000 visitor milestone 3 years later,
I would have probably slapped some sense into you.
Not in my wildest dreams did I imagine my little side-project would take off like this.
Yet here we are.
To celebrate I wanted to give a prize to the exact 5th milion visitor, but all I know
is that he/she is from Swit...
In an attempt to familiarize myself with the unfamiliar, I decided to build
a fun side-project in Ruby and Vim.
Effectively learning a new language, framework, and editor.
Coming from Nano, Quanta,
Eclipse PDT,
TextMate,
Netbeans; I found (Mac/g)Vim is big a step, and
first two weeks you should not expect to be productive.
As a Vim newbie, I'd like my Vim plugins & configuration
to stay in sync between machines at home, office, my servers & a laptop.
If found that a (free)
Dropbox
account works like a charm.