HN user

chadr

65 karma

Co-Founder and CTO of Blue Frog Gaming | YC Summer 07 | http://remesch.com/

Posts5
Comments33
View on HN

Semi related to this, is it possible to run multiple CPython interpreters in the same process, but with restrictions on shared memory? The idea being that each interpreter would still have its own GIL, each interpreter would have restrictions on shared memory (like sharing immutable structures only through message passing). Note, I'm not a big Python user so if this already exists, has been discussed, etc I am not aware.

from Wikipedia... "The landing sequence alone requires six vehicle configurations, 76 pyrotechnic devices, the largest supersonic parachute ever built, and more than 500,000 lines of code."

Our artists get to choose the technique that works best for them. A lot of it is done using the computer, but some of it is done by hand and scanned. The coolest bit of art tech is definitely the Wacom Cintiq. It lets the artists draw on top of an LCD panel.

It definitely sounds like you wear multiple hats at your job. Shoot me an email... I'm interested in hearing more about what you do.

I think you're missing the point. Many developers don't know how to develop systems that will work well in production. At the same time, many sysadmins know only about the OS, hardware, and network. Great sysadmins are learning to combine the two skill sets. It's clearly a hybrid role and not a case of one replacing the other.

High quality sysadmins are evolving into what is called the devops role. Trouble shooting, scaling, architecting, and automating production systems are just a few areas where devops people shine. The cloud just provides them another set of tools to work with. It also frees them from dealing with the annoying/repetitive tasks (spinning a CD to install the OS, plugging in the network cables, etc) and allows them to focus on improving the application. A number of devops people I know can easily transition into developer roles when required. Summary: a great sysadmin should know how to code and does so in order to improve the app.

Have you tried contacting the Passenger developers about this? I won't be surprised if they come out with a fix for this.

It seems to me like the Passenger guys could easily add an option so that on a "touch tmp/restart.txt" a set of new worker processes is started before the old ones are killed off. I imagine this would make this slowness a thing of the past. For the record, my apps experiencing this momentary queueing and slowness on restart (5 seconds max).

I'm currently using Tokyo Tyrant with Rails and the Memcached client (in production). It works great for my needs though I don't need to story binary data. Overall, TT has been extremely fast and stable. The dual master replication is a nice bonus.

One last thing... mysqldump has the following option:

-w, --where=name Dump only selected records; QUOTES mandatory!

You can probably use this to backup just the rows you are interested in and then delete them once you are sure the are properly archived.

Here is what I do with mysql 5.1 and my innodb tables on Linux...

mysqldump --single-transaction --skip-lock-tables --all-databases | gzip > "/some/directory/backup-`hostname`-hourly-`date +%H`.sql.gz"

These two options are important: --single-transaction and --skip-lock-tables. At least in mysql 5.1, mysqldump defaults to locking each table before dumping it (not good if you have a busy app and large db).

I run the above in a cron once per hour. It gives me 24 hours worth of hourly backups. I then use rsnapshot (http://www.rsnapshot.org/) to store daily, weekly, and monthly backups offsite.

I also run my backups with a low priority (nice -n 19) so that my application gets higher priority than the backup script.

Dear Joyent 18 years ago

If you are starting out with linode you should be aware of the backup policy. Basically you have to roll your own. Let me know if you have any linode questions. I've been using them for about a year now. I think backups are the only feature linode is missing (compared to slicehost).

Dear Joyent 18 years ago

Just out of curiosity, why did you go with Slicehost instead of Linode? For Rails hosting, RAM seems to be limiting factor if you only want to spend $20/month. On a Linode 360 I'm running 3 mongrels, nginx, and MySQL with some RAM to spare for crons and such. I'm just curious what advantages a Slicehost 256 would give me considering RAM seems to be the main difference between the two.