Aug 17

One month ago I said that I have moved back to Media Temple’s grid server. My previous experience with Media Temple as a company was great, but my experience with the grid server was horrible. The MySQL server was down during peak times, and the service as a whole just felt “new”. I moved back to Dreamhost for about 5 months watching (gs) grow month after month. Suddenly last month I realized that some of the projects were growing quite fast and that a move back to the grid server would be great. The grid seemed to be very stable and some of the new features like the MySQL container made it very compelling. So I picked up a coupon and paid $17 for one month of service.

The Movement of Data

Moving everything back to Media Temple was so easy. Last time I moved data to Media Temple was during the shared server (ss) days when they were using an extremely old version of MySQL, thus forcing me to convert all of my databases and downgrade to the older version. It just didn’t feel right. This move was super easy. For the data I simply compressed all of my domain directories on Dreamhost, threw it into a web accessable directory, downloaded it via SSH on Media Temple (using real 12MB/s download speeds!), and then distributed the data amongst the domains. As for databases I simply exported the databases as .sql and then imported it via SSH on (mt).

GPUs (Grid Performance Units)

Since right now my sites aren’t terribly large I knew that I would now go over the 1000 GPU limit. I was very curious as to how many GPUs my site would use. As I mentioned a few weeks ago I have optimized my site greatly. Some of these optimizations included removing plugins from Mint and Wordpress, making sure that lost files and pages were not being redirected to the 404 page, thus burning useless GPUs.

I usually get about 4000 to 8500 hits on Thursdays, which is by far my busiest day. Other than Thursday my traffic is generally a lot lower than that. These Thursdays use about 7 GPUs which is almost nothing. 1000/31 = ~32 allocated for a day. I still have a lot of room to spare. I began to do some tests so I added polls and a photo gallery. Surprisingly these did not add much to the GPU total. It really does take a lot to burn thru 1000 GPUs. Today, being Thursday I really wanted to use as many GPUs as possible to just see what would happen. In order to test I added an include to 10 javascript files that do not exist. Since I have wordpress, these would spawn the generation of a 404 page, which involved database queries. In the first full hour 20 GPUs were burned. In the main and busiest hour of the week, the GPUs still have not been calculated. My best guess would be that I used ~30 - 40 GPUs in that hour! We will have to see. So in all I probably used ~120 GPUs in the month. 12% of my GPUs is not a lot considering my major tests that made up about half of the usage.

So if you are wanting to start or move your blog to Media Temple’s grid server you should be fine. They offer a ton of resources for the low cost of $20 per month. There are tons of hosts that are cheaper except you just can’t beat the reliability of Media Temple along with their amazing customer support. What a great company.

Containers

Right now there are two grid containers available the Ruby on Rails container and the MySQL container. You get a free 64MB of RAM RoR container with every grid server account. If that isn’t enough then you can upgrade for a small monthly charge. If you outgrow the default MySQL SmartPool then you can purchase a container starting at $20 per month for $128 MB of RAM, but there are options up to 512MB of RAM. These are very powerful and not many blogs would ever need more than this.

Media Temple is also beta testing a Django container. Since I am getting into Django I am really hoping that I can get in on the beta testing. It would be very cool to get a Django site out the door and it would be even better to have it on the grid.

Bandwidth

I am really happy that they give you 1TB of bandwidth. It really goes a long way. For large images and standard assets on my sites I usually use Amazon’s S3. Aside from the fact that there is only one data center, the “bandwidth” is great. I didn’t even use 10GB this month.

When downloading files via SSH you are able to use the super fast connection available to the grid servers. I have only downloaded one file from SSH and it was downloading at 12 MB/s, thats 12 real MB per second. Thats a 100MB file in 8.33 seconds! My home connection is only a tiny fraction of that to say the least. I still want to test using the grid as a video server where there are tons of concurrent connections downloading large video files just to see how (gs) can handle it.

Disk Space

They give you 100GB of disk space on (gs). This isn’t your run of the mill, crappy disk space either. They use lightning fast SAS disks. With day to day usage you may not see a major difference but if you ever get Dugg then you will deeply appreciate it. I only used about 4GB since I host large files on Amazon S3.

Overall

I really love Media Temple now. Not only do they offer very high quality service but they are so reasonably priced. They have such innovative products and also seem to be updating the grid service product all of the time, thus taking advantage of the newest technologies.

If you have a large or small website or blog then I really suggest you look at Media Temple. They not only cater to the small guys but can also handle huge sites like Techcrunch. Why not try them out?

Aug 3

Introducing Dreamhost’s “Private Server” or PS for short. Dreamhost, my old web host, just launched a new and innovative product which combines the benefits of Amazon’s EC2 with the ease of use of shared hosting. Shared Hosting is what the majority of people use to host their blogs, sites, and small web apps. The problem is that these sites can grow very quickly and outgrow the shared hosting environment. This forces the creators of these websites into a predicament. They either have to pay big bucks to get a fully managed server or take a significant amount of time to learn how to properly run a server. Some opt for the fully managed route and get faced with huge bills which hinder the future of their website. Others choose to run their own server, that is located at a data center, but often run into problems with security. There has to be a better and easier way to scale your website beyond shared hosting.

What is “PS”?

Dreamhost PS is our new invite-only premium shared hosting service, available only as an add-on to a current DreamHost hosting plan. DreamHost PS uses Linux-VServer to give you your own “virtual machine”, thereby protecting your CPU and RAM from all other users on your physical machine.

Essentially you can simple drag a slider to scale your site up to an additional dedicated 2300 MB of RAM and 2.3 GHz of CPU. Dreamhost makes it very easy for you manage your website thru the same control panel that you have been using prior to this new add-on.

What Makes This Better?

Unlike other virtual dedicated servers where you have to pay for additional features such as backups and performance stats, Dreamhost continues to offer their amazing disk space and bandwidth along with full automatic backups and performance stats. If you are running a single dedicated virtual server at a competitor then you are forced to run not only Apache (if you use Apache as your web server) but also MySQL, and your email server on the same “box”. With PS you still continue to run your MySQL databases on other dedicated servers and you still get the load-balanced email.

Ideal Situation

PS is perfect for many situations but I can think of one right now that it would be excellent for.So you run a website to promote a yearly event. The event happens in August so your traffic spikes around August. When it comes to August you need the full 2300 MB RAM and 2.3 GHZ CPU, but in November you only need standard shared hosting since your traffic is relatively small. The old solution would be to build around the August traffic. You maybe would need to purchase 2 servers, pay for the hookup at the data center, and also pay for the bandwidth. Your total money spend would be very high and although you would get the full potential out of the servers during August, your setup will be fairly overkill for November.With PS you can simple adjust your server resources based on your projected traffic. When you approch your busy season you can boost the resources and when it comes time that traffic slows down, you can scale back to a cheaper solution. Rather than spending several thousands of dollars you would only spend hundreds.

  • You get your own protected CPU and memory!
  • You can still burst up to the full 2.3 GHz cpu and double the memory!
  • It works just like your current shared service!
  • We’ll never kill a persistent process / cronjob you run!
  • You can name your own “server”!
  • You get 2 unique IPs (a $9.90/month value)!
  • You can change your memory and CPU on the fly… no reboot needed!
  • You can reboot your own server from our panel instantly!
  • You get historical memory / load graphs on our panel!

What’s Bad

  • It’s currently invitation-only.
  • It’s $1.50/month ($1.00/month forever if you pre-order now!) for each 10 MB and 10 MHz.
  • There’s a $100 (waived for now!) one-time set up fee.
  • You don’t get root access… remember, it works just like our regular hosting.
  • (But hey, no root means no breaking things… and our hosting is already super flexible!)

I first have to say that this was just launched and I nor anybody that I know has used the service. The main problem is that their is no root access. I suppose that this is a major drawback except for the fact that if you read thru the Dreamhost Wiki you will see that the users have made work arounds to install almost anything. The fact that their is no root access I suppose just emphasizes that fact that this service is designed for users with little to no experience with servers, except the product is so strong that it is also ideal for people with some knowledge and experience. It is very early to weight in all of the cons but I would have to say that the concept looks very strong.

How Much Will I/You Need?

It is always hard to guess how much you will need but I suggest starting out with the lowest 150MHZ and 150 MB of RAM, unless you know for sure that you will need more. Once you run your site off of this for a day or two then you can see how much you actually need. If you are usually the majority of your resources then I suggest boosting it up. If you know of an event like a digg then you an always adjust on the fly in order to get the most out of the digg effect and not lose traffic due to a bad host.Dreamhost also listed some of their websites and how much resources they would need to run on PS:

  • 150 MB / 150 Mhz: 99% of all predominantely static sites. (e.g. www.dreamhost.com)
  • 300 MB / 300 Mhz: A top 100 blog. (e.g. blog.dreamhost.com)
  • 515 MB / 515 Mhz: A busy forum. (e.g. discussion.dreamhost.com)
  • 2300 MB / 2300 Mhz: A very popular web app. (e.g. panel.dreamhost.com)

Will I Use It

I will have to be honest and say that I will probably not use PS. I am currently using Media Temple’s grid server and I love it. Not only does it never go down but when I get sudden traffic spikes it handles the traffic very well. They give out 1000 GPUs which is about 32 per day. Currently, my highest day since I switched was around 7.5 GPUs in one day. I must say though that my site is heavily optimized, and I try to make it as simple as possible for the server to serve m site. I still have a lot of room to grow though.

COUPON CODE!!!

I have an exclusive coupon code for Dreamhost web hosting. Simple use the code “50OFFALLPLANS” to get $50 off any plan or use “5TAGS” to get $30 off. Since you have to have a Dreamhost account in order to use PS, I highly suggest using these codes to get a great deal.

Closing

I still have a Dreamhost account but I can’t see myself using PS in the near future. It is a great concept and I really hope people use it. If you have any comments please make them below.

Jul 19

Amazon offers a great service that allows you to host your files on their servers for a small charge called Simple Storage Service or S3 for short. The fee schedule is as follows:

  • Storage
  • $0.15 per GB-Month of storage used
  • Data Transfer
    • $0.10 per GB - all data transfer in
    • $0.18 per GB - first 10 TB / month data transfer out
    • $0.16 per GB - next 40 TB / month data transfer out
    • $0.13 per GB - data transfer out / month over 50 TB
  • Requests
    • $0.01 per 1,000 PUT or LIST requests
    • $0.01 per 10,000 GET and all other requests*

    If you are strapped for bandwidth, want to speed up your site or want to handle the digg effect like a champ then S3 is for you. It is extremely affordable and their is no minimum fee so you can easily try it out for a period of time and you bill could be as low as a few cents.The problem is that if you want to use the S3 service for hosting files to be served on your website, they give you a hideous URL. This tutorial will show you how to use a sub domain from your own domain to point to your S3 bucket. In short this tutorial takes this

    https://s3.amazonaws.com/5tags/conf_room.jpg?AWSAccessKeyId=1MAQQAHYZFCDAD01MG02&Expires=1184870730&
    Signature=CZnuUaqrqHzvAS9sgDFAEFdse1zw%3D        

    to this

    http://assets.5tags.com/file.jpg        

    What You Need

    Where to Begin

    s3fox.png 

    You will first have to go to S3browse.com to create a new bucket. You can either do a temporary sign in or register at the site. S3Browse is a web based front end that makes uploading and bucket management significantly easier. To sign in you must have your access key id and your secret access key which can be found at Amazon’s Web Services section, under AWS Access Identifiers.Once signed into S3Browse you will be presented with your list of buckets.

     

    acls.png

    What To Do

    • Create a new buckets with the exact same name as your subdomain. In my case “assets.5tags.com”
    • You should have the S3Fox plugin installed. Open S3Fox from the tools menu. Your bucket list should appear.
    • Click the bucket (folder) that you just created once.
    • Click the “pencil on paper” icon directly above to edit the permissions
    • Make sure that read is enabled for everybody. This makes the urls shorter and easier.
    • While in S3Fox, upload a test file into the bucket

    In short we just created a new bucket, and allowed anybody to access it via the web. S3 defaults so that URLS are generated on the fly that include expiry dates, and the unique id. This is so that the rightful owner of the file can generate URLs to give to colleagues that have expiry dates, and random people can’t browse their files.

    Setting Up the DNS

    This is where all of the fun begins if you don’t have a host that supports easy DNS modifications. If you have a host like Dreamhost or Media Temple then it is very simple. There are 1000s of hosts our there and the procedure is generally the exact same. For today I will show how to do it on Media Temple’s grid server as well as Dreamhost.In short you want to create a CNAME record that maps a nickname (your subdomain) to “s3.amazonaws.com.”.

    Media Temple - Grid Server

    mt.png 

    • Go to the domain where you want to create the sub domain in the Media Temple Account Center
    • Go to “Edit Zone” and click “+ Add a Record”
    • For “Name” type the full sub domain you want to use. In my case “assets.5tags.com”
    • Make the “Type” “CNAME”
    • Under “Data” type “s3.amazonaws.com.” make sure you include the trailing period.
    • Save the settings and YOU ARE DONE!
    Dreamhost

    dh.png

     

  • Go to the Dreamhost Panel and go to “Manage Domains”
  • Directly under the domain you want to create the sub domain for, click DNS
  • Under “Name” type the start of the sub domain. In my case “assets”
  • For “Type” select “CNAME”
  • For “Value” type “s3.amazonaws.com.” make sure you include the trailing period.
  • You can leave the comment blank, save your settings, YOU ARE DONE!
  • In The End

    By using Amazon’s S3 for you files on our website you can not only save expensive bandwidth from your web host but you can also make your website load a lot faster. The high majority of the load time of a web page is the images. By serving them from S3 you can count on fast, reliable, service. By having the images under you own sub domain you not only appear more professional but trick people into thinking the files are coming off your own server, which can have several benefits. If you are on a cheap web host and don’t want to take the risk of paying large bandwidth overage bills then S3 is great for you!

    Jul 18

    Everybody wants to eat healthy but they don’t want to sacrifice taste for healthiness. I have found and tweaked the perfect teriyaki turkey burger.

    burger.jpg

    What you need

    • 5 oz ground turkey
    • 2 Tbsp teriyaki sauce
    • 1 slice fresh pineapple
    • 1 thick slice of red onion
    • 1 whole-wheat buns - Toasted
    • 1/4 jalapeño, sliced thin
    • 1 slice of Swiss cheese

    The Procedure

    • Have you butcher grind the turkey into medium grind which will make the juiciest burgers.
    • Take the meat out of the refrigerator 1 hour prior to cooking. When the burger is at room temperature it tends to cooky more even.
    • Use high heat. “If you don’t hear the sizzle when it hits the grill, you’re screwed.” Cook for 3 to 4 minutes a side, the burger should feel soft and springy.
    • Add the slice of swiss cheese at the end of cooking and let the burger sit for about 4 minutes to allow the juices to settle.

    In The End

    I just made this burger last night and it turned out excellent. Please leave comments on your alterations or sauce recommendations. If you have a original recipe that you would like to add to this site please contact me.

    Jun 24
    Price of Gas in 1918
    icon1 Sean | icon2 General | icon4 06 24th, 2007| icon3No Comments »

    Here is a graph showing gas inflation. Please click the image to make it larger. gas2.jpg 

    Jun 23
    Windows Share on OSX
    icon1 Sean | icon2 General | icon4 06 23rd, 2007| icon3No Comments »

    This is the funny easter egg icon on OSX Leopard that the Apple development team put in.apple-windows.jpg 

    Jun 12

    My brand new Apple MacBook Pro with the Santa Rosa chipset just arrived yesterday afternoon. I’ve had a few hours to play with it and it looks great. I really like the convenience of the iSight camera and have quickly learned how much Safari sucks! Don’t get me wrong Safari is good for some things like viewing photos (due to color) and also testing websites but really it just plain sucks. By the way you can get Safari for Windows now at Apple.com. After I get to use this computer a little more I will make a full review.

    Jun 10

    index_ataglance15_20070605.pngindex_ataglance17_20061024.png

    Last Tuesday Apple updated their Macbook Pro laptop computers. Of course I was in the market for a new laptop and had to buy this. Actually I have been waiting for this Santa Rosa MacBook Pro for about 1 year. It is scheduled to arrive at my house tomorrow (Monday). I’ll do a full text review and maybe a video review with the iSight camera.

    The new MacBook Pros utilize the Santa Rosa chipset and come in the following configurations:

    - $1999. 2.2GHz Core 2 Duo. 2GB RAM, 120GB HD, 15″ LED. GeForce 8600M GT 128MB
    - $2499. 2.4GHz Core 2 Duo. 2GB RAM, 160GB HD, 15″ LED. GeForce 8600M GT 256MB
    - $2799. 2.4GHz Core 2 Duo. 2GB RAM, 160GB HD, 17″. GeForce 8600M GT 256MB

    The 15-inch model uses a new LED display, while the 17-inch model now offers a new optional 1920-by-1200 high-resolution display.

    Jun 1

    I just went to Google.com and noticed the logo was an add for a online gambling site. The actual file URL is (http://www.google.com/intl/en_ALL/images/logo.gif).
    Here are some shots:

    googlelogo_change.png

    logo.gif

    May 30
    Bench Press Grips
    icon1 Sean | icon2 General | icon4 05 30th, 2007| icon3No Comments »

    The following article was adapted from Men’s Health Magazine.

    There are many different hand grips when bench pressing but which is the best? Recently Canadian researchers studied the effects each position had on the body. Each position has is positives and negative, use the proper technique to obtain your goals.

    The GripWide, overhand: hands twice shoulder-width apart, palms facing forward.

    The Benefit

    Stresses the lower portion

    of the chest more than the other grips.

    19.jpg
    The GripMedium, overhand: hands just beyond shoulder-width, palms facing forward.

    The Benefit

    Places more emphasis on the triceps than a wide grip

    21.jpg
    The GripNarrow, overhand: hands shoulder-width apart, palms facing forward.

    The Benefit

    Recruits the triceps more than other grips.

    31.jpg
    The GripMedium, underhand: hands just beyond shoulder width, palms towards you.

    The Benefit

    Involves the biceps the most.

    41.jpg
    The GripWide, underhand: hands twice shoulder-width apart, palms towards you.

    The Benefit

    Works the upper portion of the chest best.

    51.jpg

    « Previous Entries Next Entries »