GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Programmers I have a question (https://gfy.com/showthread.php?t=802130)

lucky482 01-24-2008 07:01 AM

Programmers I have a question
 
If I need to have a cron script that can build thousands pages, is it better to use perl or php, or it doesn't matter?

What problems would I be expecting when it comes to server resources when running such a cron script?

Thanks in advance.

AcidMax 01-24-2008 07:28 AM

You could use perl, php, c, python etc., it really doesn't matter. As far as resources it depends on how the script is coded and what kind of memory consumption the arrays, variables, etc are going to use. Just need to be diligent and test other than that it doesn't really matter.

s9ann0 01-24-2008 07:30 AM

I think perl is best for that kind of thing

draude 01-24-2008 07:35 AM

try perl or php

blogman9 01-24-2008 08:27 AM

build thousands pages per day ? per month ? per hour ?

Perl is good, but i would use java.

rowan 01-24-2008 08:36 AM

Rather than a flurry of activity at xx:00 then nothing for the next 57 minutes why not write the script so that it paces the updates over the whole hour (or however long)? That way resources will be much less of a concern. (Unless the script hogs a shitload of memory)

brandonstills 01-25-2008 01:23 AM

Perl is generally better for parsing and manipulating text. Actually by a long shot, but php deployments are more common. I would say depends. I actually use Ruby for any text automation stuff. It takes the best of a lot of languages and is very useful.


All times are GMT -7. The time now is 07:11 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123