Pass off Processing To Another Server?

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
JakeJ
Forum Regular
Posts: 675
Joined: Thu Dec 10, 2009 6:27 pm

Pass off Processing To Another Server?

Post by JakeJ »

My app is about to go live and I'm going to have some resource issues as soon as my user base increases significantly.

The main part of my app generates a significant PDF file using TCPDF.

What I would like to do is pass off processing of the PDF form to another physical server so that it doesn't kill the processing ability of my web server but I have no idea how to go about that.

How do I pass off processing duties to another server with php?

Thanks!
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Pass off Processing To Another Server?

Post by Christopher »

(#10850)
JakeJ
Forum Regular
Posts: 675
Joined: Thu Dec 10, 2009 6:27 pm

Re: Pass off Processing To Another Server?

Post by JakeJ »

Thank you very much, I'll look in to that!!!
dirkers
Forum Newbie
Posts: 4
Joined: Thu Apr 15, 2010 10:01 pm

Re: Pass off Processing To Another Server?

Post by dirkers »

If you don't want to be dependent on a single central server to dole out the work, you might want to look at a cloud-based queue implementation, such as Amazon's SQS.

Just add a request to the queue and have one or more processing servers check the queue periodically. This will make for a very scalable solution.
Post Reply