• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Scott Selikoff
  • salvin francis
  • Piet Souris

How are your servers keeping up?

 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • 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: 12199
280
Mac IntelliJ IDE Firefox Browser Oracle C++ Java
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
Let me tell you a story about a man named Jed. He made this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!