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

server question

 [1/3] from: m:koopmans2:chello:nl at: 24-Apr-2001 11:49

Hi, I am trying to write a simple rebol based server. I have one problem though: How do I handle a very high load of say, 50 concurrent users continuously. If more than 5 users try to connect before accepting, the backlog is full, but if a task is sufficiently complex then I can't call a 'wait [port 0]' often enough. A problem that may be solved once async I/O is full available (I have tinkered a bit with async clients, but I can't get servers to work). Any ideas? Thanks, Maarten Koopmans

 [2/3] from: m:koopmans2:chello:nl at: 24-Apr-2001 14:03

Well, I kept on tinkering and got the async stuff to work. But I am still interested though... --Maarten

 [3/3] from: ryanc::iesco-dms::com at: 24-Apr-2001 11:35

Currently I use different instances to do the processing, with a manager that justs handles redirecting connections. My manager still bogs at 8 connections--but I am counting on increasing performance. Under the right circumstances you might try busting up your processes so they contain break points--allowing you to stop, process other stuff, then continue where you left off. You possibly might be able to use 'do/next for this. --Ryan [m--koopmans2--chello--nl] wrote:
> Hi, > I am trying to write a simple rebol based server.
<<quoted lines omitted: 8>>
> [rebol-request--rebol--com] with "unsubscribe" in the > subject, without the quotes.
-- Ryan Cole Programmer Analyst 707-468-5400 I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world. -Einstein

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