HNHacker News
TopNewBestAskShowJobs

WALoeIII

277 karma · joined September 25, 2008

https://www.andrewloe.com/

[ my public key: https://keybase.io/waloeiii; my proof: https://keybase.io/waloeiii/sigs/YA7PZUiF1uBYwXHp5NaXW6-noq_6l5IGSJxVxnCacqY ]

submissionscomments
WALoeIII··on Amazon EC2 gets statistics, auto scaling and elastic load balancing
From the Amazon page its $0.015/hr:

With Amazon CloudWatch... at a rate of $0.015 per hour for each Amazon EC2 instance you choose to monitor...

As an example, a developer may want to monitor 10 Amazon EC2 instances 24×7 for a 30-day period. The Amazon CloudWatch cost would be $108 (or $0.015 per Amazon EC2 instance hour x 10 Amazon EC2 instances x 24 hours per day x 30 days)...

That is close to what it costs to run a single instance to collect all your statistics (75$ if its small + your time is worth something!).

WALoeIII··on GitHub releases integrated issue tracking
This solves 80% of Open Source project needs. More robust ticketing ala Lighthouse will still have a place for bigger projects.

Good work Logical Awesome.

WALoeIII··on Ma.gnolia.com crashes hard -- no backups?
This is not totally accurate. EBS snapshots are basically instantaneous, its just the copy to S3 that takes time, but Amazon performs this in the background. We use XFS on our EBS volumes (running MySQL 5 innodb) and then have a little perl script (http://ec2-snapshot-xfs-mysql.notlong.com/) that does FLUSH TABLES WITH READ LOCK -> xfs_freeze -> snapshot -> xfs_thaw -> UNLOCK TABLES. The whole process takes a fraction of a second, and it also logs where in the binlog the snapshot was made (handy since we create new slaves based off snapshots and reduces how much data we shuttle around).

We snapshot a slave every 10 minutes and the master once a night (just in case something totally weird happens to the slave and the sync isn't right). This is a multi-gig DB and we've had no problems.

Here is a link to a full tutorial about running MySQL on EC2 with EBS: http://developer.amazonwebservices.com/connect/entry.jspa?ex...

I wanted to also point out that a live slave is NOT a backup scheme. If someone hacks your database and runs DROP ALL FROM PRODUCTION_DATABASE you've now got a perfect copy of nothing.

WALoeIII··on Ask HN : What killed ICQ?
114248050
WALoeIII··on Ask YC: Cars?
Subaru STi (Hatch) or Mitsubishi Evo X (Sedan).

I went with the hatch for the extra space. Cheap (30k), Fun, and Fast.

WALoeIII··on Suppose I wanted to write a C++ based web application...
Premature Optimization FTL.
← PreviousPage 5 of 5