World: r3wp
[!Cheyenne] Discussions about the Cheyenne Web Server
older newer | first last |
Kaj 23-Aug-2008 [2697x5] | Cheyenne is an independent web server, only aiming to match Apache's abilities |
That said, I think it is possible to run different web servers on the same web site. For example, it is possible to have a leaner web server handle static content and have Apache handle dynamic content | |
You'd somehow have to configure one of your Apache virtual host for that, but I have no idea how to do that | |
Otherwise, you'd have to replace Apache and run Cheyenne instead, but I don't know if your particular GoDaddy plan supports that, and of course it would take down any other virtual hosts you are running | |
You could run all your virtual hosts on Cheyenne, but that depends on how complicated they are and if Cheyenne supports those configurations | |
kcollins 23-Aug-2008 [2702] | You can run an HTTP proxy server on port 80 and run multiple instances of Cheyenne or other HTTP servers on other ports. The proxy server can route traffic to the appropriate Cheyenne instance based on configuration. nginx is lightweight and fast, and I have used it for this purpose, although my experience with it is limited. You can find more information here: http://en.wikipedia.org/wiki/Reverse_proxy |
Kaj 24-Aug-2008 [2703] | Looks good. I'll make sure to make that available for Syllable Server :-) |
btiffin 27-Aug-2008 [2704] | Doc? Can you post quick download links for some variations of uber cool blue C logo you've created. Perhaps one with a Powered By in your favourite forms? |
Dockimbel 27-Aug-2008 [2705] | Sorry Brian, I don't have that right now. I'll ask my gfx guy to make some "powered by" logos. |
btiffin 27-Aug-2008 [2706] | :) |
Dockimbel 27-Aug-2008 [2707x3] | Robert: How does virtual domains work? |
I'm not sure to understand what you want to know exactly, so I'll start with this : virtual domains are defined in the config file %httpd.cfg. See the default config file for syntax examples. | |
If you want to know how they are handled internally in Cheyenne, like any other web server, the virtual domains are extracted from the value of HTTP "Host" header, then they are matched against the domains defined in the config file. If no one matches, the 'default domain in config file is used. | |
Robert 28-Aug-2008 [2710x2] | I take a look at the config file. |
How about putting the default config file on the website? I haven't found it and it would help people to see how things are configured. | |
Dockimbel 28-Aug-2008 [2712] | The %httpd.cfg config file is in the source archive. If you have the Cheyenne binary only, it is wrote down in the same folder the first time Cheyenne is started. If you started Cheyenne from Window's desktop, Cheyenne will use C:\Documents and Settings\All Users\Application Data\Cheyenne\ to store its files. |
Robert 28-Aug-2008 [2713x2] | Ok, but this requires that I download it, install it and than take a look. |
Before doing all this I would like to be able to "decided" if it fits my needs. | |
Dockimbel 28-Aug-2008 [2715x2] | The wiki, once filled, will be able to give you a deep view on all Cheyenne's features, until that, the source package is the best you can have. |
You can also use this group to explain your specific needs and me or someone else could tell you if Cheyenne is a good fit or not. | |
Maarten 28-Aug-2008 [2717] | The wiki, once filled..... that's so funny. 1) Your code mostly just works 2) once filled.... it's the ultimate programmer's joke. |
Dockimbel 28-Aug-2008 [2718] | Well, unreachable goals are usually more fun ;-) |
Will 28-Aug-2008 [2719x2] | Maarten, I have between 100'000 and 200'000 rsp hits a day, many domains and subdomains, and other special configs, runs like a beautiful woman, no glitches, no problems, full speed, if it can help in your decision I can upload my httpd.cfg somewhere for you to have a look |
ouch, that should have been directed to Robert, not Maarten 8-) | |
Maarten 29-Aug-2008 [2721x2] | But Maarten is happy to know |
One box, what's the CPU load, have you stress tested it (i.e. how far can you take it?) | |
Robert 29-Aug-2008 [2723] | Will, what do you do to get 200.000 hits a day? |
Will 29-Aug-2008 [2724] | travel oriented websites, rebol is generating static pages, cheyenne process dynamic rsp pages and tracks users (so one more rsp hit for every page static and dynamic) |
Dockimbel 29-Aug-2008 [2725] | Will, was it that Cheyenne instance who survived to a slashdot effect this year ? |
Will 29-Aug-2008 [2726] | yes, actually I was reading thru slashdot when I saw an article pointing to our server running Cheyenne, only then I went to look how that machine was doing (xserve 2x2.2GHz G5), I saw a little more cpu usage and about 80 rsp requests/sec . I'd say rock solid! Go Dock Go (like Brian Tiffin like to say) 8-) |
Kaj 30-Aug-2008 [2727x2] | Good to know |
I've been steering towards a similar architecture for web serving | |
Henrik 30-Aug-2008 [2729] | Well, if Will can get his Cheyenne running so stable, I gotta figure out what the problem is here. I did mention before that I could make it crash (or is it just quitting?) by clicking a specific link on my website, but unfortunately it's not always repeatable. But it does crash regularly. |
Dockimbel 30-Aug-2008 [2730x2] | Does it output any %crash.log or %rsp-errors.log files in Cheyenne's working folder ? |
If you link is pointing at a RSP page, can you send me the page source to ckeck it ? | |
Henrik 30-Aug-2008 [2732x2] | I will check the log first and see if I'm doing something stupid. |
There is only an RSP.log file, which only contains 4 error objects. Should those other log files be in the same directory? | |
Dockimbel 30-Aug-2008 [2734] | yes, they should. |
Henrik 30-Aug-2008 [2735] | well, they aren't there. I will have to monitor disk full situations, because the disk sometimes runs full and see if there is any correlation. |
Graham 30-Aug-2008 [2736] | Noone should run any server with disk near full. The OS and software doesn't like it. |
Will 30-Aug-2008 [2737] | Henrik: what os are you running it on? If you can zip all you server+config+rsp I'd be happy to install it locally and see what could be wrong |
Henrik 30-Aug-2008 [2738] | Will, OSX Leopard. I think I'll wait with external testing until I can open my new website a few bits at a time. |
Will 30-Aug-2008 [2739] | one think comes to mind, if you use the source instead of the binary, after unzipping the download I always have to convert all line endings, I unzip then drag the whole folder on LineBreak.app http://www.versiontracker.com/dyn/moreinfo/macosx/13491 . I remember having strange behaviours like your ones if not done. I'm on os x as well |
Robert 31-Aug-2008 [2740] | Will, that's pretty amazing numbers. I'm currently using lighttpd for my web-sites. It's lean and clean. Maybe I should give Chyenne a test on my production system. What about the memory consumption? |
Kaj 31-Aug-2008 [2741x4] | Hm, I just spent two days getting a REBOL script to run from a graphical launcher in Linux |
One of the many problems was that Linux chokes on the first line of the script, that specifies the REBOL interpreter to run with, if it has a DOS line ending (a CR before the expected LF) | |
I had to use a hex editor to debug this | |
It could well be the same on OS X | |
kcollins 31-Aug-2008 [2745] | Kaj, get the dos2unix utility |
Kaj 1-Sep-2008 [2746] | Don't need it, if I press ENTER in an editor on Linux I get just a linefeed :-) |
older newer | first last |