Apche/Tcl + Rivet = Supa Fast CGI...
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Apche/Tcl + Rivet = Supa Fast CGI...

From: <davidhbigelow@simplifiedlogic.com>
Date: Sun Oct 30 2005 - 15:31:56 CET

Ladies and Gentlemen,

My eyes have been opened to the capabilities of Apache/Tcl+Rivet
recently. It is an amazing package with very cool capabilities for
dynamic Web Sites via CGI.

>>From a performance standpoint, I think Rivet (which is an embedded Tcl
interpreter within Apache - just like php) shows tremendous promise for
mass appeal - especially when coupled with an easy to use, and
extend, language like Tcl.

We setup our environment within Windows XP Pro and Apache 1.3 and found
immediate performance increases (which we expected) just by having Tcl
registered within Apache.

The ability to register our libs and pre-load other libs (e.g. tclodbc
and others) within Rivet on Apache Startup was a pleasant surprise in
capability and results in our being able to make connections to
databases faster and more efficiently than using Conventional CGI
approaches (e.g. entire environment launched and libs loaded with each
page).

The results:

Near instantaneous database calls, page rendering and delivery of
information. Our test environment:

Rivet 0.50
Apache 1.3
Tclodbc 2.3
Oracle 9i database (~0.5 million records)
SQLINT 5.0 (our internal lib for dynamic SQL)

Very, very, cool stuff. And I encourage others to become familiar with
this project and support its continued evolution into Apache 2.0 and
beyond. The framework is very well designed and planned. If your
customers and end-users only permit certain web servers to be ran,
(e.g. Apache, IIS, etc.) - Rivet gives you some interesting options
for building web sites and applications with Tcl - apparently, without
sacrificing performance.

Kudos to the Rivet Team! (and thanks for porting to Windows/Apache)

Dave
Received on Mon Nov 21 00:37:14 2005