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

Terry
14-May-2010
[8255x2]
Well, as Doc pointed out, 1000s of simultaneous users makes for a 
VERY popular website.. take the millions  of $ and work it out as 
necessary.

I'm looking for say 100 users able to work on a very large datasets 
quickly.
Doc, would it be safe to say processing large blocks are non-blocking 
with Cheyenne?
Kaj
15-May-2010
[8257]
What do you mean by that? Cheyenne's UniServe task masters run in 
separate processes, so when one request takes time other task masters 
handle other requests, but within one request your code is executed 
serially, the way you program it. REBOL is single-tasking, after 
all
Dockimbel
15-May-2010
[8258x2]
Terry: you need to be more specific, "processing" is very vague. 
Also are you talking about running code in CGI/RSP or in Cheyenne's 
main process?
Kaj: I keep having big issues starting Cheyenne as not-root user, 
the debug files are created while Cheyenne is stil root...The issue 
is deeper. The UNIX port number <1024 limitation, is a true PIA. 
Does someone know if there's a way for a process not started as root, 
to temporary get root privileges for opening a network socket?
Gabriele
16-May-2010
[8260]
Doc, the way that normally works (eg. apache) is that you start as 
root, open the socket, then drop privileges.
Kaj
16-May-2010
[8261x3]
Yes. However, I had no further problems, because the main Cheyenne 
process keeps running as root, and can thus answer port 80. Are you 
doing it differently, Doc?
Well, that is to say, I couldn't test it to the end, because I currently 
have to use View for the library interface, and my graphical Linux 
doesn't fully support X under non-root yet, so maybe I hadn't advanced 
as far as your problem
I assumed it was just my Linux not being fully configured yet
Graham
17-May-2010
[8264x2]
Is there a core version of cheyenne for windows that can run as a 
service without issues?
Has anyone created any multi-tenanted applications?
Terry
30-May-2010
[8266]
what would cause sudden 403 Forbidden errors on certain pages? Everything 
was fine, restarted the server.. 403
Oldes
30-May-2010
[8267x2]
403 is also Access Restricted, so it depends what's in your settings.
But as I'm checking the sources, in Cheyenne itself there is no code 
forcing 403.
Terry
31-May-2010
[8269]
nvm - i had a rogue apache service firing up on boot.
Graham
31-May-2010
[8270]
Has anyone run pmwiki or any of the other php wiki's with Cheyenne?
Terry
31-May-2010
[8271]
All the buzz in javascript land of late is around  Node.js and Redis.. 
And I've been in a heated debate with the Redis group over the latency 
issues. Cheyenne + Rocket (a Rebol key/value store I've been working 
on) makes the Node.js + Redis throughput look sick.
Why do these inferior technologies always get the buzz?
Graham
31-May-2010
[8272]
anyone used Bernstein's daemontools to control Cheyenne?
Maxim
31-May-2010
[8273x4]
I did my own using SSH and a few server-side scripts and tricks.
I can start/restart the server without it requiring to be setup as 
a daemon.
and without requiring any active ssh session open.
by active I mean persistent.  even when I close the ssh session cheyenne 
remains running.
Will
31-May-2010
[8277]
why not use the embedded remote console? cheyenne/UniServe/services/RConsole.r
Maxim
31-May-2010
[8278x2]
you can use the remote, if the server isn't running ;-)
can = can't
Will
31-May-2010
[8280]
humm... true.. 8-)
Maxim
31-May-2010
[8281]
the usual problem is that when you do a remote login, whenever you 
logout, any application you launched gets killed with the session 
when it quits.
Kaj
1-Jun-2010
[8282]
Cheyenne should just be started by the system's init scripts (or 
whatever equivalent on Windows)
Oldes
1-Jun-2010
[8283]
If you don't want to kill your running apps on session end, use  
"disown" command.
Janko
1-Jun-2010
[8284]
Would it be possible to encap cheyenne with webapp files into single 
exe?
Graham
1-Jun-2010
[8285x2]
daemontools are for keeping things going if stopped, as well as starting 
them.
webapp.exe is on Doc's todo liset
Terry
2-Jun-2010
[8287]
Hey Doc.. I can access a websocket page from the interweb, but the 
socket communcations isn't working at all? However, it works fine 
accessing on the local network? Any ideas?
Oldes
3-Jun-2010
[8288]
Maybe it's some FW issue.
Dockimbel
3-Jun-2010
[8289x5]
Is there a core version of cheyenne for windows that can run as a 
service without issues?

 AFAIK, encaping Cheyenne with enpro should work ok with Windows XP 
 (not sure for Vista/7).
Has anyone created any multi-tenanted applications?
 Could you be more specific?
Has anyone run pmwiki or any of the other php wiki's with Cheyenne?

 Yes, Cheyenne docs wiki is running on pmwiki : http://cheyenne-server.org/wiki
anyone used Bernstein's daemontools to control Cheyenne?

 I think some french reboler did in the past, but not sure it was 
 with Cheyenne, try searching through the french rebol forum.
I can access a websocket page from the interweb, but the socket communcations 
isn't working at all? However, it works fine accessing on the local 
network? Any ideas?

 Is there any HTTP proxy in between? Does it require SSL? Cheyenne 
 current websocket implementation doesn't support HTTPS yet.
Graham
3-Jun-2010
[8294x2]
good to see pmwiki working .... I hadn't realized before when on 
your site that it was a php wiki!
BTW, it looks like your "print" link menu item doesn't do anything.
Terry
3-Jun-2010
[8296x2]
 Is there any HTTP proxy in between? Does it require SSL?
 - No proxy, no ssl.
Seems like a port / FW issue, but not sure why that would be?
Janko
7-Jun-2010
[8298]
can I somehow automatically execute run one file or a pack of code 
before each page load If I am not in webapp? I added do %... to each 
html file now but it's not very elegant.
Graham
8-Jun-2010
[8299x3]
I'm having this issue with the cheyenne binary.
I start it up with sudo under linux and the very first time it works.
I reboot, and then try again, and it just quits ... everytime.

I then use rebol/core and when I do %cheyenne.r it complains it can't 
write the cache efs file.  

I allow it, and then restart the cheyenne binary and then it runs 
okay.
So my question is, does the cheyenne binary need to write the cache 
efs file each time?

What do I need to do to allow Cheyenne to start reliably each time 
...?
Kaj
8-Jun-2010
[8302]
When it doesn't work, are you still starting it under sudo?
Graham
8-Jun-2010
[8303x2]
yes, always so it should have write privs
this is the problem I have after restarting ubuntu
http://screencast.com/t/NDgyYzBlM