Programmers I have a question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lucky482
    Confirmed User
    • Mar 2002
    • 252

    #1

    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
    Confirmed User
    • May 2002
    • 1827

    #2
    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.
    Latest MMA news. http://www.mmawrapup.com

    Comment

    • s9ann0
      Confirmed User
      • Sep 2001
      • 4873

      #3
      I think perl is best for that kind of thing

      Comment

      • draude
        Confirmed User
        • Nov 2006
        • 1214

        #4
        try perl or php
        Web Developer

        Comment

        • blogman9
          Confirmed User
          • Dec 2005
          • 1261

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

          Perl is good, but i would use java.
          Adult industry news

          Comment

          • rowan
            Too lazy to set a custom title
            • Mar 2002
            • 17393

            #6
            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)

            Comment

            • brandonstills
              Confirmed User
              • Dec 2007
              • 1964

              #7
              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.

              Brandon Stills
              Industry and programming veteran
              [email protected] | skype: brandonstills | ICQ #495-171-318

              Comment

              Working...