• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

need to recieve 100 000 of packets per second

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
friends , here i am in trouble with the problem
that i have to recieve lacks of upd message coming from different sources
every second .The best i could manage is 3800 traps per second .
The problem i feel is some of the packets get dropped because ,no of packet in the queue in DatagramSocket,
I need to increase the size of queue how should i do that
bye
 
Ranch Hand
Posts: 283
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by jhon Reader:
Hi
friends , here i am in trouble with the problem
that i have to recieve lacks of upd message coming from different sources
every second .The best i could manage is 3800 traps per second .
The problem i feel is some of the packets get dropped because ,no of packet in the queue in DatagramSocket,
I need to increase the size of queue how should i do that
bye




Hi Jhon,
You could check outhis sun article on changing from DatagramSocket to DatagramChannel - being non-blocking might suit your purpose:
http://access1.sun.com/techarticles/CharBasedIO/CharBasedIO.html
Ed
 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm just curious, what hardware do you use?
 
reply
    Bookmark Topic Watch Topic
  • New Topic