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

World: r3wp

[!Uniserve] Creating Uniserve processes

Dockimbel
4-Sep-2006
[365]
It could be quite simple in fact (at least in theory) :


1) Send a first message telling the name and size of the file (unprocessed) 
to transmit
2) Send the file in parts (done automatically by Uniserve)

3) Catch the 'on-write-chunk event to process the chunk data (compress, 
encode...) then add a header containing :
     - size of the chunk

     - a sequence ID (an incremental counter starting with 1, 0 would 
     mean last chunk)
Dockimbel
6-Sep-2006
[366]
Please find here : http://softinnov.org/tmp/UniServe0919.zipa snapshot 
version of latest UniServe sources. It fixes some of the issues I've 
been asked about (UDP support for example). It's a beta version, 
no updated docs, no samples. ChangeLog in %uni-engine.r file. Any 
questions ? Ask them here, I'll answer as my available time permits.
Will
17-Sep-2006
[367]
.
Terry
22-Sep-2006
[368]
Hey Nenad..  Any encapping docs would be great.
Oldes
23-Sep-2006
[369x2]
And what exactlu do you want to know, just use #include instead of 
'do' and %prebol.r to build it.
but the modules are loaded when needed, so you should make some more 
improvements to make one-file build
Dockimbel
23-Sep-2006
[371]
Terry, with the release of Cheyenne (soon I hope), you'll get a complete 
working example of encap-fs library usage.
Pekr
23-Sep-2006
[372]
Cheyenne comes with sources? How is it different to Uniserve? Or 
is it just Uniserve based?
Dockimbel
23-Sep-2006
[373]
UniServe is a network programming framework. Cheyenne is web server 
(with lot of features) using UniServe as low layer.
Pekr
23-Sep-2006
[374]
Can I handle virtual domains with Cheyenne?
Dockimbel
23-Sep-2006
[375]
Sure
Terry
25-Sep-2006
[376x2]
soon i hope too, Nenad
Any benchmarks would be helpful as well.
Scot
1-Oct-2006
[378]
Need some help...Can't seem to get Uniserv working on my XP laptop. 
 This is my first try...so I don't have enough experience to see 
what is happening.  Do I have the wrong version of core?

>> uniserve/boot
[uniserve] Async Protocol Admin loaded
[uniserve] Async Protocol DNS loaded
[uniserve] Async Protocol FastCGI loaded
[uniserve] Async Protocol HTTP loaded

** Script Error: change expected series argument of type: series 
port
** Where: install-plugin
** Near: change pos/2 new
>>
Oldes
2-Oct-2006
[379]
what version you are using? and what if you probe the pos value?
Scot
2-Oct-2006
[380x2]
I've tried all the versions with asych...but I haven't probed the 
pos value yet.
Working on something else at the moment, but very interested in the 
Uniserv implementation of MySQL.
Dockimbel
3-Oct-2006
[382x2]
Hi Scott, my fault, the release archive contains a duplicate HTTP 
protocol file, so they collide on loading. Just remove the following 
file : uniserve/protocols/HTTP2.r
The MySQL async driver in this archive is an alpha version. It only 
works with v5+ servers and new passwords format (databases with old 
passwords for users won't work with this alpha driver).
Scot
4-Oct-2006
[384]
Ok...thanks.
Robert
6-Jan-2007
[385]
Doc, do you continue to devleop Universe or is it that matured that 
it's just working?
Pekr
6-Jan-2007
[386x2]
Session is broken, lot's of usefull stuff not released (RPC, rebol-cgi, 
fast-cgi, PHP) ....
it states stable, but it really is not. Doc, before he left scene 
for another few months :-), stated something like that he has new 
reimplemented session handling, which is going to be "soon" released. 
But don't take it for granted, maybe I misunderstood something. But 
really - sessions do not work properly ... There is a demo with multiple 
frames, e.g. Mozilla (but even IE) did not open all boxes, there 
were some errors or timeouts, dunno ...
Robert
6-Jan-2007
[388]
Ok, thanks for the info.
Will
6-Jan-2007
[389]
I'd say the core is actually stable, have it running with quite some 
traffic and no problems, there are indeed problems with sessions.

Had a sign very recently that let suppose Dock will soon be back, 
hopefully 8)
Pekr
6-Jan-2007
[390]
Will, if you have contact to conference organisers, please urge them 
to do something with DevCon preparation. Som of us have to plan our 
plane or bus few months ahead. I would like to see site updated ...
BrianH
6-Jan-2007
[391x2]
Uniserve doesn't do session handling, Petr. You are probably thinking 
of Cheyenne, which is built on Uniserve.
I may be mistaken though...
Will
6-Jan-2007
[393x3]
you are right! Cheyenne is the http 1.1 webserver
Pekr: have forwarded decon07 update request.
wops, devcon07 ;-)
Joe
12-Jan-2007
[396]
see related post wrt async dns in the core group. Is the behavior 
mentioned in the core group possible with Uniserve async dns support 
 ?
xavier
12-Jan-2007
[397]
rebol server pages ? will we have samples of it ?
PeterWood
12-Jan-2007
[398]
Does this help ? http://www.ross-gill.com/techniques/rsp/
Maarten
13-Jan-2007
[399]
Ah.... those were the days
xavier
13-Jan-2007
[400x2]
i just installed cheyenne and tried to explore it ... i found the 
examples
very interesting tool ... i go to do a site on it
Joe
14-Jan-2007
[402]
How does uniserver tcp async compare with a) async://, b) atcp:// 
and c) the new async core that may eventually be released (and was 
available two years ago !)
Maarten
14-Jan-2007
[403]
They are all 3 abstractions of a lower-level rebol async layer, performance 
is in the same range.
Mchean
25-Jan-2007
[404]
I've received an error in starter.r:  ## Error in [uniserve] : Cannot 
open server HTTPd on port 80 !
Pekr
25-Jan-2007
[405x2]
Mchean - if you are using latest demo version, go to uniserve/protocols, 
and remove http2.r file - it was mistake of DocKimbel, who mistakenly 
left the testing file in the archive ...
and if it does not help, you are aparently running some web server 
on port 80 already ...
Mchean
26-Jan-2007
[407]
Thanks Pekr, that would be a suprise if i was running a server somewhere
MikeL
26-Jan-2007
[408]
Easy to check with http://localhostSometimes that gives you the 
home page of the server that is colliding with the one you want.
Oldes
27-Jan-2007
[409x2]
I started to play with the proxy-http service a little bit and found 
that there is a bug: the on-error http-event has args: [reason port] 
not [port reason] !
unfortunately there are still some issues with this service:(
Mchean
29-Jan-2007
[411x2]
Localhost doesn't respond in the browser, and there is no http2.r 
file andy other suggestions?  I'm have very little experience with 
servers so don't know where to startt
I'm using Version : 0.9.9  Date : 11-Oct-2004  is there perhaps a 
later version.
Graham
29-Jan-2007
[413x2]
open Rebol
try : server: open tcp://:80