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

World: r3wp

[!Uniserve] Creating Uniserve processes

Graham
4-Sep-2006
[353]
bots
Oldes
4-Sep-2006
[354x2]
Just one - I'm sending it from my computer to the server
At this moment I'm able to connect it event with IRC servers, but 
I do it know just from home
Dockimbel
4-Sep-2006
[356]
Oldes, cool design !
Oldes
4-Sep-2006
[357]
I want do do more with it - this is just a test
Graham
4-Sep-2006
[358x2]
Doc, any updates on sending encrypted files ?
new flags on signalling end of file transmission?
Dockimbel
4-Sep-2006
[360]
I've added a new event : 'on-write-chunk to allow modification of 
the chunks of big files just before they are sent. This can be the 
hook to implement compression or encryption when sending big files.
Graham
4-Sep-2006
[361]
Great.
Dockimbel
4-Sep-2006
[362x2]
Adding an appropriate header and decoding it on the other end is 
still up to the programmer. (Same for adding some flags to signal 
start / end of transmission).
Btw, this new event is untested yet. I should be able to provide 
you a small prototype service and client protocol to show you how 
to use it.
Graham
4-Sep-2006
[364]
that would be necessary :)
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 !)