A couple of bug fixes pushed into the team trees. It appears that Valgrind can have a race when signalling condition variables while not holding the mutex. I should get some rest - having to stay up for European hours can be quite exausting. The company-wide conf call was mostly uneventful except for a small number of people who seemed unable to mute their connection. Hopefully, next time MGM will use the "lecture" mode and ensure that all other participants are quiet: It was quite hard to concentrate with the errant echos and other noises.
Liberty Alliance Announces openLiberty Project, Liberty Alliance (Press Release)
GroundWork Exits 2006 with Phenomenal Growth in Revenue and New Customers, GroundWork Open Source (Press Release)
OpenClovis Ends Calendar Year 2006 on High Note, OpenClovis (Press Release)
Pentaho Announces Significant Customer Adoption in Q4, Pentaho (Press Release)
…
[Read more]MySQL backups are essential to running a site with MySQL backend. Generally you can get away with doing nightly backups but on our site, due to couple issues we had in past, we are forced to do hourly backups of our db. Intially I was doing backup by using: mysqldump dbname > weekdayHour.dbname.sql hourly. [...]
MySQL AB today announced that OKQ8, Sweden?s largest gasoline vendor, will roll out a MySQL-based payment authorization and collection system during the first part of 2007.
Our sysadmin has a nice blog post with a few tips for using mysqldump, especially if your database is used for more than a basic site, or if you have stored procedures and/or triggers.
Problem:
One of the sites I maintain has been getting more and more traffic everyday. A very good thing for the site, not so good for the solo server which is serving those pages. The site is VERY dynamic with LAMP setup. We only have one server serving our web pages to our users. Since its a dynamic site with PHP and MySQL, it has a lot of load during peak times. Average load time of a page is between 1-2 secs during normal usage, 2-5 secs under average to heavy load.
During heavy load, we started to see our mysql stop responding to requests which is a big concern for us since we don’t show content if there is no db connection. We had to come with a solution, fast, to prevent this issue from appearing.
Solution:
So here are couple things I ended up doing on the server side to reduce load on this server without having to do much code change.
- We have couple other …
The Wall Street Journal and the San Francisco Chronicle have both written about how high tech companies in Silicon Valley are being much more frugal with investors' money than during the internet boom of the late 1990s. Not surprisingly, just about every startup I know is using open source, whether it's well known companies like Digg, FaceBook, Linden Lab, or newer entrants like YouSendit, Soonr, …
[Read more]Werner pointed us to Media Temple's entry on how to Scale MySQL in a large scale hosting environment. The short summary. Put them all in a virtual container and isolate them.
To make life a little easier at home and work I've put together a
simple enough script that is run by cron to tally up statistics
like: Innodb_data_reads, Innodb_data_writes, Qcache_hits,
Qcache_inserts, Questions, Open_files and Open_tables over time
(I sample every hour) with the ability to easily expand and add
your own `show status` variables.
Next I'll create some nice graphical interface so it's more
obvious how the server or cluster is running. You can grab the
script over at my CV hosting. Note that actual client writes
in a master master environment would be (writes / number of
servers) roughly, very roughly. If you have any ideas for
countering this please let me know.
Enjoy.
--
Copyright 2006-2008 Andrew Rose [rose.andrew@gmail.com] [andrewrose.co.uk]