• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How are your servers keeping up?

 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is not a post to request changing to Java or anything. BUt with CGI how are servers keeping with this ever growing site? don't your servers ever run out of memory with each new request? Also out of curiosity have you noticed anything that CGI offers that isn't or could be better offered withs servlets and jsp? or anything that you like about CGI?
 
author and jackaroo
Posts: 12200
280
Mac IntelliJ IDE Firefox Browser Oracle C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Tontang,

I don't really understand the first part of your question. You seem to be implying that CGI is (memory intensive / has memory leaks / is slow / ...?). However CGI stands for Common Gateway Interface - it describes an interface, not an implementation. How that is implemented, and the language that the clients are written is, is not defined (if they were defined, the interface itself may not be required). So it is quite possible to have a CGI compliant application and server which scales well (CPU / memory / TPS / ...). And going to Java (or Ruby, or any other language) does not automatically mean that we are going to get any improvement in scaling.

Which is not saying that CGI is better than Java - just that the fact that it is CGI does not automatically mean that it is bad.

Moving forward though - your question as to whether there is anything that CGI offers that couldn't be done with some other technology, or if there is anything we particularly like about CGI: No on both counts.

However you are sort of getting to a very frequently asked question: why are we using CGI (or why are we not using Java). So you might want to take a look at this.

Regards, Andrew
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Andrew Monkhouse:
Which is not saying that CGI is better than Java - just that the fact that it is CGI does not automatically mean that it is bad.



In fact, CGI and Java aren't even mutually exclusive.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic