r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!Cheyenne] Discussions about the Cheyenne Web Server

Maxim
11-Oct-2006
[69]
Sorry if this question has been asked before, I do not know... can 
you give me an idea of capacity of the server?  will it scale to 
thousands of connections or is it limited to hundreds (or less).
Maarten
11-Oct-2006
[70]
Doc: I have pinged Carl on the SSL channel on another (very private) 
world.
Terry
11-Oct-2006
[71]
With the four and sixteen RSP demo, getting the following error  
 script error !
Invalid path value: hits
Maxim
11-Oct-2006
[72]
maarten, thanks, I'm needing it too.  if cheyenne can handle big 
loads, and SSL, there is a good chance I'll try to use it.  The release 
commes out at a really good time for me.
Maarten
11-Oct-2006
[73]
Hope it gets faster to 1.0.x then the mysql driver ;-)
Graham
11-Oct-2006
[74x2]
I've been using Cheyenne for the last couple of years.
I've not had any stability problems.
Maarten
11-Oct-2006
[76]
Doc: why not bundle mysql:// with it as well, and add a couple of 
CGI/session/cookie libs?
Graham
11-Oct-2006
[77]
but nor have I subjected it to any heavy loading.
Terry
11-Oct-2006
[78]
Have you tried any benchmarking Graham?
Graham
11-Oct-2006
[79x2]
Nope.
I just use it for webmail.
Terry
11-Oct-2006
[81]
hmm, my Rebol is getting rusty.
Graham
11-Oct-2006
[82x3]
http://www.compkarori.co.nz:8001/index.rsp
source for each of the rsp pages is at the bottom of the screen
userid: test password: account
Dockimbel
11-Oct-2006
[85]
Open source: I see no points in getting it closed source. It will 
remain open source (BSD). And I hope that once 1.0 is out, that developer 
will contribute to bring new modules and extend it capabilities.
Graham
11-Oct-2006
[86]
never got round to writing the code to send mail .. so it just receives 
mail.
Maxim
11-Oct-2006
[87]
thanks doc... just wanted confirmation of what I expected.
Graham
11-Oct-2006
[88]
And thank goodness it's not LGPL or variant
Maxim
11-Oct-2006
[89]
and capacity?  benchmarks?  any measurable (known/REBOL) limits?
Graham
11-Oct-2006
[90]
Will did some benchmarks once ...
Dockimbel
11-Oct-2006
[91]
Maxim: Cheyenne is scalable. I've tested it with 500 simultaneous 
connections without noticing problems. It needs to be tested deeper, 
I dont know the current real limits (It should be limited only by 
available memory and cpu power).
Graham
11-Oct-2006
[92]
Will "Mike, I started using Apache and rebol as cgi, this is not 
suited for performances as on every call to the cgi, a new instance 
of rebol is  initialized, run and closed.

I thought about using fastcgi, but never came to a working solution.
Now I use uniserve as main webserver, here some advantages:

-it is fast! On my local machine I get +- 600 req/sec for static 
pages and a max of 160req/sec for dynamic rsp pages

-it is written in rebol, I could easly(less than 10 lines code) add 
a rewrite engine

-child process are persistent, this mean you can keep state of your 
web applications, implement caching, keep a pool of connection to 
databases open (in apache + rebol/cgi you'd have to open and close 
the connection for every request)
-it is written by Dock whom I may be the biggest fan ;-)

btw I'm running an unreleased version (have bought commercial support) 
 that support http 1.1, stuff like If-Modified etc..

If you have more specific questions, I'll be glad to try and answer."
Maxim
11-Oct-2006
[93]
thanks.  at least I know it does not suffer from the 50 tcp connection 
limit of REBOL which some people have report IIRC.
Dockimbel
11-Oct-2006
[94x4]
I did some bench with Apache 2.0 a few month ago: results were showing 
10% slower than Apache for small files, and 20-30% faster for > 64kb 
files. Theses results are very encouraging given the fact that Apache 
is compiled C while Cheyenne is interpreted REBOL.
If someone is willing to make new benchs, I'll be very glad to see 
the results.
Btw, there's still some space for speed improvements.
Marteen: Thansk for using your "red phone" ;-)
Terry
11-Oct-2006
[98]
Doing a quick ('n dirty) benchmark..
Maxim
11-Oct-2006
[99x2]
dock, is the rebcode test version of rebol compatible with cheyenne?
(sorry, I meant 'doc )
Dockimbel
11-Oct-2006
[101x2]
Marteen: I'll add a small Database abstraction layer for RSP: so 
I'll include both mysql and pgsql drivers once this feature added.
Rebcode: don't know if it's compatible with this kernel version, 
didn't tried.
Maxim
11-Oct-2006
[103]
I'll add a remark module for it  :-)  its adds dialected tags to 
html, sort of a functional approach to web.
Terry
11-Oct-2006
[104]
Running Apache and Cheyenne on my IPOD nano.. 

Using a simple rebol 'read'' loop (10,000 hits) to a 4kb static page 
(localhost).

Apache - 1:41
Cheyenne - 0:52
Dockimbel
11-Oct-2006
[105]
Graham: you did a very good job with your WebMail. I wish the new 
RSP API and features would allow you to finish the work and release 
it !
Terry
11-Oct-2006
[106]
cheyenne nearly twice as fast
Dockimbel
11-Oct-2006
[107]
Good news! Thanks Terry !
Maxim
11-Oct-2006
[108]
does cheyenne handle http 1.0 and 1.1 transparently (expecting yes, 
but need a specific answer)?
Dockimbel
11-Oct-2006
[109x2]
But a more elaborate benchmark may show closer results between these 
too. Size of files and OS have big impacts on the results.
1.0 & 1.1 : yes
Henrik
11-Oct-2006
[111]
dockimbel, I assume the benchmarks improve when caching is used?
Dockimbel
11-Oct-2006
[112x2]
but not exaustively tested yet. The unit tests are still under development
Caching is on, by default, for files < 16kb
Terry
11-Oct-2006
[114x2]
another testapp bug.. now the 16RSP won't fire, sends me back to 
login (previous error message is gone, and works fine with 4RSP)
Ok, working now.. had to clear the cookies
Dockimbel
11-Oct-2006
[116]
Sessions are not yet completly stable.
Maxim
11-Oct-2006
[117]
does fast-cgi need /command license?
Dockimbel
11-Oct-2006
[118]
No, it's a client implementation of my own (/Command implements a 
server-side FastCGI protocol)