Hi Daniel, Please let me know how to tune the CXF' work queue ? what is the size of queue in CXF (UDP transport) ?
Regards, Tho, 2015-04-10 19:54 GMT+02:00 Daniel Kulp <[email protected]>: > > > On Apr 8, 2015, at 8:44 AM, tho huynh ngoc <[email protected]> > wrote: > > > > Hi, > > > > I have developed a JAX-WS server with UDP transport. Supposing i have N > > client. > > > > At the same time, the N client send n packet (the size of packet is M > > bytes). > > > > My question: the maximum value of N is how many without packet loss? > > > > Thanks in advance for your response > > Would likely completely depend on the network, the speed of the machine, > etc... I doubt you can get an solid number for "N". > > We use the mina NioDatagramAcceptor with an acceptor that just takes the > datagram and then sticks the "work" onto a work queue to process and then > goes back to listening. Thus, it should be fairly efficient. The default > work queue uses 25 threads, but that can be tuned using CXF's work queue > settings. > > -- > Daniel Kulp > [email protected] - http://dankulp.com/blog > Talend Community Coder - http://coders.talend.com > >
