Posted March 7, 20223 yr You're posting a super cool post with several pictures uploaded, hit refresh and you hover over your newly uploaded picture and see. https://cdn.urbanohio.com/monthly_2022_03/IMG_3770.thumb.jpg.d96d810c4b32ea2f847b4dfc31871afb.jpg - As taken from Mayday's Cleveland - Get Out thread. But what is this all about?!?!? Long story, short - Those images are being uploaded to UrbanOhio but never actually touch our server! You see, most website servers come with a limited amount of disk space and uploading thousands of images or other files will use up your space in a hurry. On our server, we have 160GB of Nvme SSD storage (think really fast)! This is plenty of storage for the website and all that is required but we'd like to keep plenty of super fast storage available to keep things growing smoothly. When it comes to uploaded images/videos/avatars, etc, we decided to offload that to a 3rd party provider. This provider is Wasabi. Wasabi offers 1TB of storage for $6 per month. If we wanted that much storage on our server, it would cost probably $50 or more per month, every month! So below is the actual website address of the image previously shown above, and through a little DNS magic, we serve it through cdn.urbanohio.com. This is actually referred to as s3, which is an AWS term but now widely used throughout many other service providers. https://s3.us-east-2.wasabisys.com/cdn.urbanohio.com/monthly_2022_03/IMG_3770.thumb.jpg.d96d810c4b32ea2f847b4dfc31871afb.jpg https://cdn.urbanohio.com/monthly_2022_03/IMG_3770.thumb.jpg.d96d810c4b32ea2f847b4dfc31871afb.jpg To keep speeds high and latency down our server and the wasabi data centers are within 10 miles of each other in Virginia. This setup would obviously not be geographically ideal for everyone, but is perfectly okay for the majority of our users. All of your images uploaded via our site are made public and can also be linked elsewhere. That's all for now. Hopefully a few of you are somewhat familiar with this technology and have used it to some extent.
March 7, 20223 yr Very cool. At one point I created a similar setup on UrbanCincy where images were uploaded to S3 and served from cdn.urbancincy.com. It was more of a technical experiment than an actual need though, as we had plenty of space in our hosting plan.