![]() |
Write Text To Image use much CPU ?
Hello mates,
I have a question. I am gonna write a script that writes text to image. It will like site.com?image=hello+talkphp Everything is ok but, one of my friend told me that if it run with a lot of users in a short time, it may encourage some cpu reduce on server. He means it uses so much cpu or ram on server if it has been run by lots of visitors. So I decided to tell this to you. I am waiting your comments on this, thanks... |
And the question is ? the problem is ?
Offcourse it will use more and more, but so what ? The chance for the computer to be unable to handle your users putting a text on an image is so incredibly small that I wouldn't worry a second about it. *Unless you loop some code a few thousand times per user and whatever ...* |
The question is > Is it true that write text to image is a complex php function which reduces cpu when too many users are using that ?
The Problem is > Your angry comment. |
Quote:
Quote:
|
just set your server to handle the traffic, for example at a point when there are a lot of request's on this script. Make a max-limit for the script to be run and redirect -> to offload page after the max-limit has been reached.
you can do a lot of Server/user/etc mangement To handle this kind of scripts, You should google it. -CF PS: Most servers are already setup to give a offload,page when the traffic is to high, But you could make a side, script for extra(mangement) |
| All times are GMT. The time now is 05:39 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0