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

World: r3wp

[!Uniserve] Creating Uniserve processes

Will
1-Sep-2006
[332]
and if you want to test for speed, you can ab (apache benchmark) 
http://wwd.francobianchi.ch/words.cgi;-)
MikeL
1-Sep-2006
[333]
Thanks Will - I have uniserve running and can serve up static webpages 
and the sample cgi that Doc provided. How do I allow RSP or ML to 
be loaded so that a page that uses them does not have to run as CGI 
and flag .rsp or .rhtml files as handled by RSP.
Will
1-Sep-2006
[334]
well in the release you dl the rsp support is "basic", I used a customized 
one but now I'm using Dock latest rsp, sorry but you should definitely 
ask Dock for latest version or wait till he release.
Volker
1-Sep-2006
[335]
Is there a good way to contact Doc?
Will
1-Sep-2006
[336]
did you try by email?
Oldes
1-Sep-2006
[337x2]
Hm, it was the hard part of the learning uniserve, but now I know, 
how to do-task. But the question now is - what if I need to do task 
once a day, I don't want the launched helper process to be still 
running in the background. Is there someone who can help?
Found a way - to modify on-received function in the task-master to 
send the task port with data to the service using on-task-done and 
than closing the task if needed from the service:-) If there is some 
other way how it should be done, let me know.
Pekr
1-Sep-2006
[339]
how do you feel about Uniserve so far - nice concept, isn't it?
Oldes
1-Sep-2006
[340]
Yes, I like it. I already transfered my MicroChat server to Uniserve 
kernel and Irc bot as well:-)
Pekr
1-Sep-2006
[341]
I thought that concept like that could be built-into rebol by default 
....
Oldes
1-Sep-2006
[342]
Why, it's good as it is and who knows how will look ports in R3
Dockimbel
4-Sep-2006
[343]
I have a much more recent version of UniServe almost ready to release, 
but docs are not updated and some of the protocols are still alpha. 
But with the current interest in UniServe, I'm thinking about releasing 
a beta version here this week.
Graham
4-Sep-2006
[344]
Not so busy now?
Oldes
4-Sep-2006
[345]
I'm using UniServ as a core for my MicroChat - http://box.lebeda.ws/~hmm/chat.html
:-)
Graham
4-Sep-2006
[346]
cool.
Dockimbel
4-Sep-2006
[347]
Busy, I am ;-). But there's a new version sitting on my hard drive 
which could be useful to some people here.
Graham
4-Sep-2006
[348x2]
no one there though
what are the arrows for?
Oldes
4-Sep-2006
[350]
You can move the yellow boxes:-) and all you say is visible here 
as well - http://www.informacezbrna.cz/
Graham
4-Sep-2006
[351]
yee gods .. .birds attacking me!
Oldes
4-Sep-2006
[352]
And the people talking now are puppets - they are recitating Plato's 
Gorgias
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.