Thanks for the info. Dreamhost definitely has the cheapest compute/object hosting out there by a mile (in case any other customers are reading this), although it seems a bit expensive for my situation (compared to Dreamhost VPS). Unfortunately, I’m a little more confused now about DreamObjects. I’m a noob at the whole Cloud/Compute/Objects hosting, so I’m still having trouble wrapping my head around it.
Here is what I’m dealing with: My largest site (online auctions) has about 900,000 different products. There are about 300GB of photos for that one site with each main image roughly about 40kb in size, and I have them in an organized file structure, image file path is referenced in a MySQL database, maximum of 10 images per product, each image has a few smaller thumbnail sizes:
product 1, image 1:
mysite.com/images/2/5/image744352.jpg // main image
product 1, image 2:
mysite.com/images/2/5/image3234.jpg // main image
When a visitor views my category pages (which lists products), there could be 200 different small thumbnails loading all at once - one for each product, and if a product page loads, there could be 10 thumbnails loading, plus about 20 “related products” images loading up. Sellers on my site are uploading images for their products all the time as well, my script automatically produces thumbnails and puts their sizes in appropriate thumbnail directories on the site file system. There’s tons of images and tons more small thumbnails (over a million in all).
I’m sure there is way for DreamObjects to do this, but “should” it be used for this type of setup? I’m not exactly sure how the PUT and GET requests are going to work for this. (Is it like you get a “key” for each image/thumbnail object upon image upload, store the reference key in database, upon page load - do an API call to the image object based on that key to get image file = 200 API calls per pageview to list 200 images?) I would think a disk file system like the one I have set up would be easier and more efficient?
The other option I see is “block storage” on Dreamcompute may work, but $10/mo per 100GB seems a little steep as well (since Dreamhost VPS has unlimited disk space), especially if I ever wanted to back up the images for these larger sites. 1TB would be nice, but it would cost $100 per month just for disk space. Couldn’t Dreamhost just buy a $50 1TB hard drive on NewEgg, plug it in and charge $20/mo?
Note to anyone else reading this: I’m a complete noob at cloud/objects. So, much of what I say about cloud is probably inaccurate or doesn’t make sense.