0

I am wondering about the performance using ServerSocketChannel and AsynchronousServerSocketChannel. In theory, AsynchronousServerSocketChannel should be faster. Do you know which option is better from a performance perspective?

Matrix12
  • 446
  • 8
  • 19
  • Please precise: "performance"/use case/assumptions/circumstances/"benchmark"... otherwise your question appears "too broad" (to me) – xerx593 Dec 12 '22 at 09:18
  • I have an application where I have to handle multiple concurrent requests with a non-blocking approach, using a low number of threads as possible. – Matrix12 Dec 12 '22 at 09:37
  • 1
    Have a look at [this](https://stackoverflow.com/q/25099640/1564218) question, to understand the terms, especially "async", better. This should also clarify where/how you can make performance improvements and when not. – brgr Dec 12 '22 at 10:01

0 Answers0