Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

ANN: Serve-It! (PRE-release)

 [1/8] from: D::Weyand::GMX::De at: 10-Mar-2004 7:40


The PRE-release of Serve-It!, a fast, reliable, multi-threading server-engine featuring several HTTP & PROXY-sever in one smart progamm is available at: http://www.TGD-Consulting.de/index.r or visit http://www.TGD-Consulting.de/Download.html Serve-It! requires REBOL/View. Tested and developed with REBOL/View 1.2.1.1.1 for AmigaOS 68k. But it should work on any other platform. Feedback of any kind is desired. Regards Dirk -- +++ NEU bei GMX und erstmalig in Deutschland: T=DCV-gepr=FCfter Virenschutz +++ 100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz

 [2/8] from: maarten:vrijheid at: 10-Mar-2004 9:45


Nice, but is there an English version of the license available? --Maarten Dirk Weyand wrote:

 [3/8] from: maarten:vrijheid at: 10-Mar-2004 9:47


Ooops.... I just saw it in the source code! Perhaps you could put that license on the website ? --Maarten Dirk Weyand wrote:

 [4/8] from: carl:cybercraft at: 10-Mar-2004 14:24


On 10-Mar-04, Dirk Weyand wrote:
> The PRE-release of Serve-It!, a fast, reliable, multi-threading > server-engine featuring several HTTP & PROXY-sever in one smart
<<quoted lines omitted: 5>>
> 1.2.1.1.1 for AmigaOS 68k. But it should work on any other platform. > Feedback of any kind is desired.
Looks very nice - though I can't test it. (As far as I know - you can't run a server from a typical ISP connection, can you?) But can it be used for testing CGI scripts locally? That I could use. -- Carl Read

 [5/8] from: maarten:vrijheid at: 10-Mar-2004 11:48


I couldn't help but peek at the decompressed source :-) First of all, nice to see somebody building a webserver on top of hipe, my Rugby I/O engine. I always thought it would be possible ;-) Second, in the code you use "async" handlers, but they are in fact non-blocking handlers. Async is more on the tcp level, where you also get the kind of event (connect, close, read, write,resolve). See Gabriele's excellent work on this. Third, threading is co-op threading, so I'd be careful with that advertisement. All in all it is very nice work! Now if you can add CGI-like support (if only for Reblets) like in webserv.r on the rebol.org library and relax the license so we can use it as an embedded webserver.... I haven't had time to test tthe proxy stuff (yet). But, again, very nice work. One question: how do you handle very large files (say 600 Mb)? Buffered or read them in memory all at once? --Maarten Dirk Weyand wrote:

 [6/8] from: D:Weyand:GMX at: 10-Mar-2004 13:40


Hi Maarten,
> First of all, nice to see somebody building a webserver on top of hipe, > my Rugby I/O engine. I always thought it would be possible ;-)
I didn=B4t know that you are the author of hipe. I=B4ve found an old article on rebolforces, where "building a server engine" is described. And I used that info to write the core SSE of Serve-It!. I am sorry for using your work without honoring it accordingly.
> Second, in the code you use "async" handlers, but they are in fact > non-blocking handlers. Async is more on the tcp level, where you also > get the kind of event (connect, close, read, write,resolve). See > Gabriele's excellent work on this.
I know, "async" is not the right name for this handler. My "async"-handler processes all the requests that are initiated by the proxy-handler upon a client request and prevents the proxy-handler to block the hole request-queue. (Until now I didn=B4t found the time to have a look at Gabriele=B4s async-protocol, but thanx for the hint.)
> All in all it is very nice work! Now if you can add CGI-like support (if > only for Reblets) like in webserv.r on the rebol.org library and relax > the license so we can use it as an embedded webserver.... I haven't had > time to test tthe proxy stuff (yet). But, again, very nice work.
To add CGI-like support for Reblets is on the to-do list, but due to lack of time it`s not implemented yet. I would also like to add CGI-support in general, but I am not able to purchase a View/Pro license for AmigaOS from RT=B4s Website to test the shell(CGI) access accordingly.
> One question: how do you handle very large files (say 600 Mb)? Buffered > or read them in memory all at once?
As you=B4ve mentioned, atm large files are buffered in memory all at once.. So, if you want to host large files you have to use a server with at least the same amount of memory. I=B4ll think this will change in one of the next releases of Serve-It!, and the I/O will be fragmented to 32KB in size for the web-server part too. One question for the list: Does anybody know whether it=B4s possible to change or hide the "R"-logo if you are "online" with a View/application? -- +++ NEU bei GMX und erstmalig in Deutschland: T=DCV-gepr=FCfter Virenschutz +++ 100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz

 [7/8] from: D:Weyand:GMX at: 10-Mar-2004 13:59


> Looks very nice - though I can't test it. (As far as I know - you > can't run a server from a typical ISP connection, can you?)
Normally it is not possible to run a server from a typical ISP connection, but with dynamical DNS Services (like DynDNS.org) you should reach your server from outside. Nevertheless it should be no problem to test Serve-It! locally on your computer/LAN.
> But can it be used for testing CGI scripts locally? That I could use.
Atm CGI scripts are not supported! But I am working on that issue and the support of CGI-Reblets will be implemented soon. -- +++ NEU bei GMX und erstmalig in Deutschland: T=DCV-gepr=FCfter Virenschutz +++ 100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz

 [8/8] from: maarten:vrijheid at: 10-Mar-2004 14:16


Hi Dirk,
>>First of all, nice to see somebody building a webserver on top of hipe, >>my Rugby I/O engine. I always thought it would be possible ;-) > > I didn=B4t know that you are the author of hipe. I=B4ve found an old article on > rebolforces, where "building a server engine" is described. And I used that > info to write the core SSE of Serve-It!. I am sorry for using your work > without honoring it accordingly.
Oh , that's OK. I wrote the article :-) I was merely surprised that anybody used it for this. Ironically I just did a partial http 1.0 server (snuffstream) based on Gabriele's async:// stuff, which Andreas just tested. And I have a http 1.1 version *almost* ready, but I doubt I have time for that the next few weeks/months.
>>Second, in the code you use "async" handlers, but they are in fact >>non-blocking handlers. Async is more on the tcp level, where you also
<<quoted lines omitted: 5>>
> (Until now I didn=B4t found the time to have a look at Gabriele=B4s async-protocol, > but thanx for the hint.)
I though you'd knew, but I don't want others to be confused.
>>All in all it is very nice work! Now if you can add CGI-like support (if >>only for Reblets) like in webserv.r on the rebol.org library and relax
<<quoted lines omitted: 4>>
> general, but I am not able to purchase a View/Pro license for AmigaOS from RT=B4s > Website to test the shell(CGI) access accordingly.
Check out the tricks Cal Dixon does in webserv.r on rebol.org. It doesn't need call for "rebol-only".
>>One question: how do you handle very large files (say 600 Mb)? Buffered >>or read them in memory all at once?
<<quoted lines omitted: 3>>
> of Serve-It!, and the I/O will be fragmented to 32KB in size for the > web-server part too.
OK, and then the GUI optional and being able to drive it via a config dialect etc. for embedding in other applications.
> One question for the list: Does anybody know whether it=B4s possible to change > or hide the "R"-logo if you are "online" with a View/application? >
It's gone in newer betas and new versions. --Maarten

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted