Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ServerSocketChannel and SocketChannel implementations #19

Open
CarlAmko opened this issue Aug 1, 2023 · 1 comment
Open

Add ServerSocketChannel and SocketChannel implementations #19

CarlAmko opened this issue Aug 1, 2023 · 1 comment

Comments

@CarlAmko
Copy link
Contributor

CarlAmko commented Aug 1, 2023

Supporting socket channels will allow better concurrent access to the socket's backing data stream. We can better support asynchronous workflows by providing a non-blocking mechanism for reads and writes.

To complete this, an end user should be able to:

  1. Have access to a comparable SocketChannel / NativeSocketChannel implementation that closely mirrors our blocking socket behavior,
  2. Use a ServerSocketChannel in a similar manner to a ServerSocket (Java17+)
@CarlAmko CarlAmko self-assigned this Aug 1, 2023
@CarlAmko CarlAmko removed their assignment Aug 10, 2023
@CK-Ward
Copy link

CK-Ward commented Sep 12, 2023

We anticipate that Java 21, with the introduction of virtual threads, will impact our approach to solving this issue. See: https://openjdk.org/projects/jdk/21/

cc @nikolay-ngrok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants