World: r3wp
[!Cheyenne] Discussions about the Cheyenne Web Server
older newer | first last |
Dockimbel 14-Oct-2008 [3097] | RSP session corruption should have been eradicated since a year at least. |
Graham 14-Oct-2008 [3098] | I think I have no updated my app for over a year! |
Dockimbel 14-Oct-2008 [3099] | If you notice such issue with the latest version, please report it asap, that's the worst thing that can happen. |
Graham 14-Oct-2008 [3100] | have you tried encapping Cheyenne with the webapp? |
Dockimbel 14-Oct-2008 [3101x2] | Don't remember trying that. |
Not sure that it can work with the current version. Cheyenne is using READ to get static and RSP files, I have to change that to use the virtual file system in memory. | |
Graham 14-Oct-2008 [3103] | I see |
Dockimbel 14-Oct-2008 [3104] | I thought about doing that once, then I found that it requires some redesign work first on the virtual file system (%encap-fs.r) and also being sure that it won't affect performances when reading files from the filesystem in normal usage. I've planned to work on such feature for v1.0. |
Graham 14-Oct-2008 [3105x2] | RESTfull systems use virtual pages don't they? |
I guess that's different ... you're talking about having real pages stored in a virtual filing system | |
Dockimbel 14-Oct-2008 [3107] | Precisely. |
Terry 14-Oct-2008 [3108] | Doc.. Im just thinking scalability / benchmarking. I plan on spending my spare time over the next number of months building a next gen webserver using Cheyenne as the core, and I want to make sure I don't hit a game killer 3 months in. i posted earlier in the Rockstar group how superior Cheyenne is compared to vhosts and .htaccess.. night and day. |
Dockimbel 15-Oct-2008 [3109] | With R2, there's not much that can be done. The performances can be improved a little, that's all. You can still build clusters of Cheyenne server to sustain a higher load (obviously the front-end dispatcher would have to be done in C, there's several good ones in open source, or if you can afford, using an Alteon-like box). With a completed R3 (w/multithreading), Cheyenne could be a real competitor to Apache 2. |
Terry 15-Oct-2008 [3110x2] | It is my personal belief that the HAL 9000 started life as a Cheyenne web server. |
Yeah, you can round robin.. all sorts of options.. I think Apache handles 4000 concurrent connections? | |
Graham 16-Oct-2008 [3112x2] | Just a question about webapps... can we provide access to these also by basic authentication? |
Suppose I implement the rest-mod, I want it be stateless so no cookies. I want to pass the userid and password each time. So, with no cookies, the user won't have access to the webapp. So, does this mean I can't use a webapp with rest-mod? | |
Dockimbel 16-Oct-2008 [3114] | Basic auth: it's not built-in but can be added in your RSP script. |
Graham 16-Oct-2008 [3115] | or in mod-rest ? |
Dockimbel 16-Oct-2008 [3116x2] | right |
If you're stateless, you don't need to use webapp (<=> session), simple RSP scripts would be enough, no ? | |
Graham 16-Oct-2008 [3118x5] | ok |
yes, I think so. | |
just thinking thru the issues :) | |
included files can't contain RSP can they? | |
they're just processed as straight text ... | |
Dockimbel 16-Oct-2008 [3123x3] | no cookies => no access to webapps (unless you inject them in mod-rest...;-)) |
http://cheyenne-server.org/docs/rsp-api.html#def-21 | |
you can include either RSP (will be executed) or static files. | |
Graham 16-Oct-2008 [3126x3] | oh ... |
I'm sure I read somewhere that included files are just processed as text. Must have changed? | |
mutualize => share | |
Dockimbel 16-Oct-2008 [3129] | More than a year ago. |
Graham 16-Oct-2008 [3130x2] | not such word as mutualize |
Ok .. I'm out of date! | |
Dockimbel 16-Oct-2008 [3132] | oh, thanks, fixing that. |
Graham 16-Oct-2008 [3133] | and I need to re- RTM |
Dockimbel 16-Oct-2008 [3134] | Fixed. |
Graham 16-Oct-2008 [3135] | can I have an account on the wiki please |
Dockimbel 16-Oct-2008 [3136] | sure |
Graham 16-Oct-2008 [3137x4] | my email is good ... |
value: request/posted returns a binary! value. is incorrect I think | |
From memory, it returns a binary! or string! value | |
If it's a file saved to the web server as it's too large .. it's a string! holding the file name in %incoming/ | |
Henrik 16-Oct-2008 [3141] | Are there any instances where Cheyenne would redirect back to the previous page if there was an error? |
Graham 16-Oct-2008 [3142x2] | Your API reference is not part of the wiki .. I can't amend it! :( |
Henrik .. why would you want that? | |
Dockimbel 16-Oct-2008 [3144] | Main Menu / Using RSP ;-) |
Henrik 16-Oct-2008 [3145x2] | Graham, I don't. Cheyenne is doing that right now on a new page I just created. The first version had a flaw that would not let it include a specific rebol include. Now I fixed it, but it keeps "bouncing away" from the page. |
older rsp pages work fine | |
older newer | first last |