Following a link from the High Scalability blog, I found this really great article about scalability practices, as told by Randy Shoup at eBay. Randy is very good at explaining some of the more technical aspects in more or less plain English, and it even helped me find some wording I was looking for to help me explain the notion (and benefits) of functional partitioning. He also covers ideas that apply directly to your application code, your database architecture (including a little insight into their sharding strategy), and more. Even more about eBay’s architecture can be found here.
We’re looking for experienced OO-PHP programmers. Read all about it here (in Danish only; sorry ’bout that).
Quick 'n' Easy LAMP Server For CentOS/RHEL
This tutorial shows a quick way of installing a LAMP server (Linux + Apache + MySQL + PHP/Perl together commonly known as LAMP Server.) on CentOS and RHEL server systems.
So, I was asked in IRC today about the proposed short array
syntax for PHP. For those that don't know, I mean the same syntax
that other languages (javascript, perl, python, ruby) all have.
Currently in PHP we have this:
$var = array(1,2,3);
The proposed additional syntax is:
$var = [1,2,3];
So, I voted +1 for this feature on the PHP Internals list. A
colleague asked me why I voted +1. At first I had no good answer
other than it was just a gut feeling. It just feels like a good
addition to the language. It is common among web languages and
therefore users coming into PHP from other languages may find it
more comfortable.
The best thing I could tell him was that it would make arrays
fall in line with other data types in PHP. For example, you never
write:
$var = int(1);
$var = string(foo);
So, why oh why do we have to have what …
Startups are pretty fascinating. I work for a startup, and one of my good friends works for another startup. I’ve also worked for 2 other startups, one during the first “bubble”, and another one a few years later. Oh my, how the world of web startups has changed in that time!
1999: You must have funding
The first startup I was ever involved in was a web startup. It was an online retailer. They were starting from nothing. My friend (a former coworker from an earlier job) had saved for years to get this idea off the ground. He was able to get a few servers, some PCs for the developers he hired, and he got the cheapest office space in all of NYC (but it still managed to be a really cool space, in a way that only NYC can pull off), and he hosted every single service required to run the web site in-house. If I recall correctly, he had a web and database server on one machine, and I believe the primary DNS server was on an old …
[Read more]I've been reading a few blog postings such as Kore Nordmann's ActiveRecord sucks and Mike Seth's ActiveRecord sucks, but Kore Nordmann is wrong.ActiveRecord is fine. It is a tool that does just what it's designed to do. What sucks is when developers try to make it do other things than what it's intended to do.I worked for Zend, managing the Zend Framework project through its 1.0 release. I
If you’re an advanced MySQL person, you might already know these,
in which case, please read anyway, because I still have some
questions. On the other hand, f you’re someone who launched an
application without a lot of database background, thinking “MySQL
Just Works”, you’ll eventually figure out that it doesn’t, and in
that case, maybe these tips will be of some use. Note that I’m
speaking specifically about InnoDB and MyISAM, since this is
where most of my experience is. Feel free to add more to this
content in the comment area.
InnoDB vs. MyISAM
Which one to use really depends on the application, how you’re deploying MySQL, your plans for growth, and several other things. The very high-level general rule you’ll see touted on the internet is “lots of reads, use MyISAM; lots of writes, use InnoDB”, but this is really an oversimplification. Know your application, and know your data. If all of …
[Read more]
Well, it has been almost a month. I know I am late to the
blogosphere on my thoughts. Just been busy.
Again this year, the Phorum team was invited to be a part of the
DotOrg Pavilion. What is that? Basically they just
give expo floor space to open source projects. It is
cool. We had a great location this year. We were
right next to the area where they served food and drinks during
the breaks. We had lots of traffic and met some of our
power users. IMVU.com is getting 1.5 million messages per month
in their Phorum install. They did have to customize it to
fit into their sharding. But, that is expected. A guy
(didn't catch his name) from Innobase came by and told us that
they just launced InnoDB support forums on their site using
Phorum. Cool. So now …
A coworker found out how secure Amazon's MP3 store is. Even
big guys like Amazon make errors in their web site
security.
So, I clicked purchase and the album immediately started
downloading. It was at this point that I had the thought cross my
mind: "Did I update my credit card info?"
Well, no, I didn't. Before the album finished downloading, I was
trying to change the method of payment. Turns out, for a digital
purchase, you can't do such a thing. So, I waited and wondered
was was going to come of this...
While I was at the MySQL Conference, I sat down with Michael
Kimsal of WebDevRadio and recapped the two talks that I gave at the
conference. I have uploaded the slides so you can follow
along if you want.
One to a Cluster - The evolution of the
dealnews.com architecture.
MySQL Tips and Tricks - Some simple tips and some
of the more advanced SQL we use in Phorum.
Thanks Michael. Any time you need a guest, just let me
know.