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

Steeve
22-Dec-2009
[6662]
Rebol group
http://www.onlinegames.com/basketball/?2oisqn74tz
Kaj
22-Dec-2009
[6663]
Won't work on Linux
Dockimbel
22-Dec-2009
[6664x2]
Steeve: "Due to server load private Group Contests have temporarily 
been disabled (sorry)"
Graham: I've upgraded Cheyenne in SVN with an improved logging of 
translated filename from URL. That should help you see what's going 
wrong.
Steeve
22-Dec-2009
[6666]
349
Dockimbel
22-Dec-2009
[6667x2]
That should make you the winner. :-)
Was that your score or your position?
Steeve
22-Dec-2009
[6669]
score
Dockimbel
22-Dec-2009
[6670]
Then you've earned the cup!
Steeve
22-Dec-2009
[6671x2]
i mean, position in the last game
my best position
Graham
22-Dec-2009
[6673]
Doc .. thanks
Will
23-Dec-2009
[6674]
did anyone try the cache service? any suggestions? http://reboot.ch/rebol/cache.r
Robert
23-Dec-2009
[6675]
SVN: Can someone give me a short note how to best get the SVN version 
into a "production environment"? Is it one file I can just run on 
the server? Or do I need to build it myself somehow?
Graham
23-Dec-2009
[6676x2]
What's it best used for?
Just use a svn client to download the repository, run the source 
version once, and then encap it.
Dockimbel
23-Dec-2009
[6678]
SVN r44 - FIX: same webapp virtual name can now be used in different 
virtual hosts.

This should fix the issue raised by Janko.
Terry
23-Dec-2009
[6679x5]
Using Cheyenne and websockets as a backend to Flash, Silverlight 
etc would have it's merits as well.
If there's one thing I always have running on my monitor, it's the 
browser. I don't see much need for another GUI, including /view
I can envision a day when everything will have an "always on" connection 
with everything else that is important.. probably via websockets. 
 ie: my email, chats, voicemails pushed to me wherever i am, and 
on whatever device. The ability to do this is nothing new (SOAP, 
XML-RPC etc), but what is missing is a homogenous catalyst... the 
webserver seems the most likely candidate, as they are the de-facto 
interface to the world's DBs. This is my vision for Cheyenne, that 
of an Uber-server.
Oh, and LFReD driving Cheyenne's business logic :)
Hey Doc, have you seen Node?
http://nodejs.org/#about
Dockimbel
23-Dec-2009
[6684]
I looked at Node a few days ago, interesting choice to see JS at 
server-side. I guess that the included 8k lines of C code help a 
lot having a decent speed. ;-)
Kaj
23-Dec-2009
[6685]
Isn't that the included V8 VM?
Dockimbel
23-Dec-2009
[6686x2]
From Node's sources, no trace of V8 VM, it's the Node network and 
event engine that's built in C for the most part.
It's like if the whole Cheyenne low-level layer (UniServe) was 100% 
built in C.
Kaj
23-Dec-2009
[6688]
Interesting :-)
Terry
23-Dec-2009
[6689]
I thought node was Python?
Dockimbel
24-Dec-2009
[6690]
FYI: I've implemented the web socket protocol in Cheyenne last night 
(not released yet) but I still need to figure out how to properly 
interface incoming data frames with the RSP engine.
Kaj
24-Dec-2009
[6691]
That's really great!
Gregg
24-Dec-2009
[6692]
Very cool Doc.
Graham
24-Dec-2009
[6693]
Is there a dummies for web sockets to explain what this does?
Kaj
24-Dec-2009
[6694x3]
It's the evolutionary endpoint of Comet. It throws in special server 
and client support to enable them to keep an open, stateful connection, 
by switching an HTTP connection to what is effectively a lower level 
TCP connection
So it creates a bidirectional channel with only one connection, with 
good chances of penetrating firewalls
Cleans up the mess of the collection of hacks that is Comet
Graham
24-Dec-2009
[6697x4]
What's the reason why it should be able to penetrate firewalls?
Not familiar with Comet .. except as the name of my dog :)
So, if it opens a stateful connection, then I guess it is less able 
to scale to lots of users
And are people then running BEEP over web sockets?
Kaj
24-Dec-2009
[6701x4]
It opens up the possibility to do similar things, yes, while still 
being able to fool firewalls
It has a good chance of fooling the firewalls because it starts as 
a normal HTTP connection
Since it's being standardised as web technology, there will be a 
big social barrier for firewalls to start blocking it
As a continuous connection, it's less scalable than regular HTTP, 
yes, but it's more scalable than Comet, which needs two connections 
for bidirectional communication, and other hacks
Terry
24-Dec-2009
[6705]
It scales better, as only a single connection is used.. in fact, 
Google is pushing it with Chrome for that very reason.
Kaj
24-Dec-2009
[6706]
Comet is a diverse collection of hacks to create longer-term connections 
with Ajax
Terry
24-Dec-2009
[6707x3]
after the initial http handshake, there's no http headers included
Here's a good primer

http://www.indicthreads.com/3625/html-5-websocket-cracks-the-http-request-response-barrier/
i still need to figure out how to interface incoming data frames 
with the RSP engine

That's where my Cheyenne websockets attempts hit the fan. Not so 
much the RSP, buf from a tcp socket to http and back again.
Dockimbel
25-Dec-2009
[6710x2]
SVN r45 : Web Sockets support


FEAT: experimental Web Sockets support added. (See %www/ws.html and 
%www/ws.rsp)
FIX: regression on bad HTTP request filtering. (Thanks to sqlab)
FIX: minor code clean-ups.
You'll need Chrome 4 to be able to use web sockets (don't know about 
other browsers).