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!
Pass off Processing To Another Server?
Moderator: General Moderators
- 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?
Thank you very much, I'll look in to that!!!
Re: Pass off Processing To Another Server?
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.
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.