GumletGumlet logo
Pricing
Login
Book a Demo
Signup

Technology

3 min read

We decided to host our GPUs

We decided to move off the cloud and host our GPUs. Here is the story of why and how we did it.

Internal look of our GPU server

Aditya Patadia 

Updated on Sep 17, 2024
We decided to host our GPUs

Share this Article

💡
We're Gumlet, a simple, fast and affordable SaaS for image and video processing, storage and streaming.

Why own GPU

At Gumlet, we process images and videos and we process them a lot. Currently, we serve more than 2.5 Billion images and videos in a single day. While our images are still processing on CPUs, we decided to take a different path for videos.

Right from 2020, we started using GPUs for our video processing needs. We knew early on that GPU's FLOPs per dollar are much higher than CPUs and GPUs are getting better and better.

Our entire software stack is built on CUDA and takes advantage of GPU processing when transcoding videos. The cherry on top? we can run ML models on the same GPUs which are processing videos.

Initially, the GPUs were rented in the cloud and we ran pretty fine with them. 2024 is however different and our GPU demand increased 8x since January! We had to seriously think about how we are going to run this operation in a cost-efficient manner.

Moreover, Ahrefs and DHH inspired us about the cost-effectiveness of self-hosting servers and ever since I read the book The Google Story, I was excited to put together our own server.

What did we deploy

After evaluating options, we decided we were going to build our machines down to our exact specifications. Here is what we finalised:

  • AMD 5700x processor
  • ASUS B450MA motherboard
  • 64 GB DDR4 RAM
  • 512 GB NVMe SSD
  • Nvidia RTX4000 ADA SFF GPU
  • 2U rack mount with redundant power supply

You can check one of the servers in the cover image. Now, you might probably be thinking that these specs are not from a server lineup and you are correct. We took a little inspiration from the early days of Google and built our machines from commodity hardware. A single machine like this costs close to $2300 (a comparable machine g6.2xlarge costs $703 a month on AWS). Now, that's a bargain.

Nvidia RTX 4000 ADA SFF

The choice of graphics card was a big factor. We chose this card because it was the only SFF (small form factor) card on the market and it was the only one which would fit in the 2U rack. Another factor is that this card has enough GPU memory to do our video encoding tasks and also handle the ML workloads. We never went to data-center grade cards like L4 as they get much costlier and our FLOPs per dollar ratio will drop.

This was not without challenge though. We needed a relatively high quantity (20+) and these cards are not available in India. We had to go through our supplier and they helped us import these cards in a month.

What about hosting

Now this one is exciting. Generally, we would put our machines in a data center but due to the small quantity (one rack), no good data center was ready to help us quickly.

We however found that our co-working space - WeWork has an excellent server hosting solution. We could put the servers on the same floor as our office and they would provide redundant power supply, cooling and internet connection. This entire package is available at a much cheaper rate and we immediately jumped on this. Right now all servers are securely running in our office.

Monitoring and Deployments

This can be an uphill battle if you rely on the public cloud for these. Fortunately we always deploy on Kubernetes and use Grafana for monitoring. Both of these make sure we never have to worry about monitoring and deployments.

Closing thoughts

In the coming months, we will expand our racks and mostly move to a data center to host our servers. Meanwhile, ping us if you have some exciting self-hosting stories.

Similar readings

image-66c0b7320b770b000ef0d3bc
SaaS products we use to build our SaaS - '24 edition
Posted on Aug 17, 2024
image-64f8ed3d6de0d4000e01d7a0
JPEG-XL: Our next 20 year bet
Posted on Sep 06, 2023
image-63d27ea7e394c3000f5a4abc
SaaS products we use to build our SaaS
Posted on Apr 21, 2022
Need a better Video Hosting?

Get an all-in-one secure video platform at an excellent value.

Try for free

Need a better Video Hosting?Get an all-in-one secure video platform at an excellent value.  Try for free →

Ready to get started?

Sign up and start optimizing your videos by up to 57% with Gumlet. No credit card required. Reach out to contact sales or to get a custom pricing estimate that fits your needs.

Start now Contact sales →
Optimizing videos is hard, but our pricing is not
Simple per-minute pricing with no hidden fees.
Pricing details →
Effortlessly integrate Gumlet into your existing stack
Upload with API and set webhooks for output in minutes.
Integragtion guide →

Footer

Gumlet Company logo
USA

Gumlet LLC
8 The Green, Dover, DE 19901

Singapore

Gumlet Pte Ltd
20A, Tanjong Pagar Road, Singapore (088 443)

Gumlet aicp logoGumlet soc2 logoGumlet iso logo
PRODUCT
  • Video Overview
  • Video Analytics
  • DRM Video Protection
  • Video CMS
  • Video Protection
  • Video Player Customization
  • Video Streaming
  • Video Transcoding
  • Video DRM
  • Online Video Hosting
  • Image Optimization
  • No-code Integration
  • Wordpress
  • Vimeo Alternative
  • Cloudinary Alternative
  • Imgix Alternative
  • Wistia Alternative
  • ImageKit Alternative
  • Mux Alternative
RESOURCES
  • Blog
  • Learn
  • Glossary
  • Tools
  • Startup Credits
  • Why Gumlet
  • Webinars
  • Documentation
  • Howdrm.works
SUPPORT
  • Product Updates
  • Feedback
  • Community
  • Become an Affiliate
  • Contact Us
  • Service Status
COMPANY
  • Pricing
  • About Us
  • Customers
  • Careers
  • Press Kit

© 2025 Gumlet Pte. Ltd.

Privacy Policy

Terms of Service