DEV Community

Discussion on: The Hitchhiker's Guide to Laravel Vapor

Collapse
 
andre_adpc profile image
Andre Du Plessis

Thank you for this very insightful post about leveraging Vapor, Vedran. Like some of the other commenters, I too have an aversion to vendor-lock. This being the case, and studying the AWS ecosystem I'm always on the lookout for working solutions that will allow one to move away from one cloud provider to another without to much hassle. And in a more preferable case going solo altogether.

With the costs of dedicated servers around the globe becoming more and more competitive it starts to make sense to investigate ways to minimize risking all of a projects infrastructure on one ecosystem like AWS-Azure-GC and routing it through CDNs like CloudFront-Cloudflare-Bunny.net.

Even these giants fall over or some parts of them fall over, and it's simple why. They are the biggest targets out there. Being mighty as they are, some "snakes" do get in which has before and will again cause havoc.

After reading a great article by Jack Ellis, one of the founders of Fathom, about the question "Does Laravel Scale" I realized that one should always be prepared and plan for "what-ifs", regardless of how big or small you currently are.

Jack's venture uses Hetzner for example in the EU, and yes he states that it's a small part of their business at the moment, but the way Fathom seems to have leveraged themselves, things between them and Google Analytics are going to become interesting. Yes, they are using AWS too as a major component of their IaaS, but how is the Hetzner part done, me wonders?

I'm in the process to see if Jack would respond to a request and teach us, like he did in the mentioned and subsequent articles he wrote about scaling Laravel using Vapor. He has presented several courses on "Going Serverless" and it will be one of my next steps to go and seek out this resource to learn more.

If you or anyone else reading this have more insights, pointers or know of folks that have done so successfully, I'm sure others would be more than interested.

Kevin Ullyott's Cumulus package mentioned in your post's comments is a case in-point to me that people are indeed diversifying and setting up alternatives.

Thanks for a great article and the efforts put into shining some light on an often "tricky path".