Peter Zaitsev wrote an interesting item on front-end performance of a website.
I've always tried to look at the front-end from the user
perspective, rather than purely technical. Once you weed out
what's not really necessary for the user, and also deal with
issues like "how important is it that this number is live", you
generally look at a fairly different site already ;-)
Before my time at MySQL, I wrote a little gizmo
called Measly Mouse which leads a modest but still active
life. When reading on from here, please remember it was
designed in 2001 and hasn't really been changed since.
Measly Mouse retrieves a page and deals with redirects, CSS and
other …
This fellow is pretty amazing: http://beta.ivancover.com/wiki/index.php/Eee_PC_Internal_Upgrades. To the already tiny Eee PC, he added (internally!):
- USB hub
- GPS with antenna
- Bluetooth
- Card reader w/ additioal SSD
- Power switch (10 dip) for switching all extra foo
on/off
- Wifi upgrade 802.11n
- FM transmitter
- Modem (admittedly there's design space for that)
- Touch screen
- Temperature sensor
- Heatsink
That's pretty cool...
A bit of advice to anyone wanting to write an article on MySQL that includes setting up users: familiarize yourself with the concept of Least Privileges. That is, only grant those privileges absolutely necessary to do a job and nothing more. I just finished reading an article on how to set up RSyslog to log to a MySQL database. Halfway through the article is a listing showing the grant statement. I’ll share just the fun part:
grant ALL ON Syslog.* …
My first reaction when I see a “grant all” is to ask: why? Why does an application need every database privilege? Well, I finished the article, then went to the RSyslog web site and spent all of 4 minutes researching why the app needs so much privilege. As it turns out, it doesn’t. Right there in blank and white:
“It is sufficient to …
[Read more]|
The buzz of the week is all about books. The second edition of High Performance MySQL has just hit the shelves. In addition to being a complete rewrite of the first edition, this is a sort of community book, where the authors gathered together the official tools and the ones available in the community to explain how to make MySQL fly. Many topics were submitted … |
Tonight, I am attending Startup2Startup Dinner on Dave McClure's invitation (Thanks, Dave!). Chad Hurley, CEO and co-founder of YouTube will be speaking at this invitation only event. I will post more updates on my personal blog or you can follow me on Twitter.
I just got back from 3 days of conferences - 2 days at Velocity
and one at Structure '08. The Velocity Conference was billed as
the 1st conference devoted exclusively to web performance and
operations. And the sessions did live up to this. They had over
700 attendees which is not bad for the first time.
Being a performance person, I chose to mostly attend the performance sessions. What I found was that the sessions were heavily geared towards the client-side. There were sessions on how to tune your javascript, images, reduce network traffic etc. - all trying to reduce the end-user response time.
Our session was of course on tuning the server-side. There was another one on squid/varnish and mysql sharding - but beyond that, client …
[Read more]Zachary Fox (from Alert Logic too) wrote a very good tutorial on how to run Selenium RC to execute unit tests in a team environment.
If you have multiple users running unit tests concurrently against the same Selenium RC server, some nasty things may happen. Zach explains how to properly setup multiple Selenium RC servers, so everyone can work on their own server.
I spent Monday and Tuesday this week on Velocity Conference It was
quite interesting event worth attending and it was very good to
see
the problems in this are going beyond Apache, PHP, Memcache and
MySQL.
A lot of talks on this conference was focusing on what is
called
"FrontEnd". The meaning of Frontend is not the frontend web
server
commonly used in many architectures but rather optimization on
the
client side - how to make a browser to do less requests, make
them
parallel, fetch less data and execute client side code faster.
Steve
Souders mentioned in his talk for Alexa 10 web sites he
examined
typically 80-90% of page response time comes from other things
than
fetching HTML of the main page - fetching CSS, JavaScript,
Images …
A good rule of thumb is that a DBA should not let the size of his/her database grow to much more than 50% of the available disk space. I’m sure everyone has a story of being burned in some way by not following this advice.
Before promoting 5.1 to some beefier hardware, I’ve got a few large tables sitting on a small SATA-based machine. Noticing that a few were growing faster than I expected, i decided to pause my loading and convert another one of them to the archive storage engine to save some space.
I certainly saved space.
By trying to do too much at one time, I had some other temp files lying around on the same filesystem, and my conversion to the archive storage engine failed at about 80% through with my disk full.
mysql> alter table w_stats engine = Archive;
ERROR 1030 (HY000): Got error -1 from storage engine
mysql 5.1 has …
[Read more]
The second edition of the
MySQL 5.1 Cluster Study Guide is now available
through Vervante books. Those of you who have patiently emailing
me to ask when you can order your copy should should get their
order in ASAP.