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

[REBOL] Re: Rugby: Number of Connections

From: mattsmac:hot:mail at: 17-Nov-2003 10:44

Allow me to elaborate, Because Rugby only does 1 thing at a time, I want to have multiple servers so that then they could do multiple things at a time. The system I am developing has the potentional to have several hundred users, so processing each connection 1 at a time is not really an option. Matt
>From: "Matt MacDonald" <[mattsmac--hotmail--com]> >Reply-To: [rebol-list--rebol--com] >To: [rebol-list--rebol--com] >Subject: [REBOL] Re: Rugby: Number of Connections >Date: Mon, 17 Nov 2003 10:32:14 -0500 > >What I'm trying to do is have more than 1 server running at one time and >allow the client to connect to the least loaded one. Is this not neccesary >with Rugby? >Matt >------------------------------------------------- >Your doing the right thing, but.... Rugby exectues the message once it >has arrived completely, returning the result and cleaning up >immediately. There is always one thing happening at one time. > >You're probably looking at efficient networking (and buffering in >REBOL), especially with small message sizes, whih Rugby typicall has. >The first connection you see (the blank one) is the server port. > >--Maarten > > >-----Original Message----- > >From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]] On Behalf >Of > >Matt MacDonald > >Sent: maandag 17 november 2003 15:48 > >To: [rebol-list--rebol--com] > >Subject: [REBOL] Rugby: Number of Connections > > > > > >I'm trying to get the number of connections on a rugby server. >Looking at > >the source code, I should be able to do something like this: > > > >num-conn: length? rugby-server/port-q > > > >but this only ever returns 2. after probing port-q I find that the >first > >object in it is a blank connection and the second is the last >connection > >made. So it looks like port-q does not hold all of the ports on the > >server, > >just the last one. Any idea how to find the number of total >connections? > > > >Matt > >_________________________________________________________________ >MSN Shopping upgraded for the holidays! Snappier product search... >http://shopping.msn.com > >-- >To unsubscribe from this list, just send an email to >[rebol-request--rebol--com] with unsubscribe as the subject. >
_________________________________________________________________ MSN Shopping upgraded for the holidays! Snappier product search... http://shopping.msn.com