Re: AbstractSelectableChannel
Jean Rodrigues <[email protected]> Wed, 24 Nov 2004 07:46:13 -0300 (ART)
| Newsgroups | gmane.comp.java.seda.user |
|---|---|
| Message-ID | <[email protected]> |
Hum, perhaps we should try a async emulation layer instead of using nio. There is a true async implementation from IBM that could solve the known problem of scalability (C10K problem). But I dont think we can use on this project (maybe because of licensing issues, but need to check it anyway). And, we can try Coconut AIO emulation layer. It seems to be pretty interesting implementation that could enhance seda performance. See: http://coconut.codehaus.org/Coconut+AIO There is only a concern: It must be run on JDK 5. []`s --- Quartz <[email protected]> escreveu: > > If what you are saying is true, how would you > handle > > 3000 connections like this: > > > > 3000 connections --> stage 1 --> stage 2 > > > > Stage 1: accepts connections and delegate its > > processing to stage 2 > > Stage 2: this stage can`t swallow the produced > > channels so will you make a bloquing enqueue here? > I > > did it ... my result was a BrokenPipeException > because > > network queue got full. > > > I'm not familiar with selectable stuff. > Like I said, I would 'trust' the kernel to back > pressure. > I might be a fool thinking that. Hope not. > > But if I have to do something about it, I would > start with > AbstractSelectableChannel.configureBlocking(boolean > block) > It seams it can be changed on the fly. > > Otherwise, > http://java.sun.com/developer/JDCTechTips/2004/tt0914.html#1 > or > http://java.sun.com/j2se/1.4.2/docs/guide/nio/ > > > > > __________________________________ > Do you Yahoo!? > The all-new My Yahoo! - Get yours free! > http://my.yahoo.com > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT > Products from real users. > Discover which products truly live up to the hype. > Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > SEDA-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/seda-users > _______________________________________________________ Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com/ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/