Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

CraftThatBlock's avatar

Tutorial: Scaling with Forge

I have done a screencast about how to scale with Forge! This is my first Laravel screencast, and I may do more if people like this :)

This is a follow up to https://laracasts.com/discuss/channels/requests/scaling-with-laravel-and-forge

Here it is: https://www.youtube.com/watch?v=Zp-LKI9AS5k

I'd love you hear about you guy's suggestions and feedback (and screencast idea's?)

Thanks to @TaylorOtwell for a demo account for Forge!

0 likes
12 replies
freekmurze's avatar

Nice first video!

I think it misses some info on how to share session data between the servers. That would be a nice subject for a follow up video.

2 likes
SP1966's avatar

Well done, and thanks for the effort! I look forward to further tutorials on this subject!!

bmartus's avatar

Another consideration is sharing file uploads between servers, if you had any.

CraftThatBlock's avatar

@frameworkdnd Great idea. Will add to my list, but I need to learn about it first ;) Do you have any ideas of how that would be made more precisely?

CraftThatBlock's avatar

I think just SFTP'ing the file over would be a smart way to do it.

bmartus's avatar

On other (non-Laravel) projects, I've used a nfs share that's mounted from all of the different web servers, but that leaves you with one point of failure and a potential bottleneck.

I wasn't sure if there was a better way to handle this.

CraftThatBlock's avatar

I'll just use AWS and show how to use it (database, file sharing, etc)

2 likes
mikebronner's avatar

@CraftThatBlock - have you thought about setting up mirrored servers for failover? For example, I have servers in the SF DigitalOcean farm, but would like to set up mirrors in New York, as either place has issues every once in a while, taking the servers down. I'd be interested in a redundant always-on server setup using Forge. :)

Please or to participate in this conversation.