Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4099918
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T20:29:56+00:00 2026-05-20T20:29:56+00:00

While searching the web for concurrency in jvm I found questions about searching Non-blocking

  • 0

While searching the web for concurrency in jvm I found questions about searching Non-blocking IO library for Scala / Java.

What is the problem about? If I want to send something to file / socket I can launch separate thread which make the job.

I know there could be problem using event based threads – because whole system could be blocked. But does it reference to JVM/ Scala?

ADDED:
Please correct me if I’m wrong:
I think that when you need to call some IO function in asynchronous way it need to go into separate process or system (heavy) thread. Am I right?
So – all the questions about solving this kind of thing in common languages goes into creating and managing separate process or threads. So the only facilitate from the language is to create some pool of threads which will be assigned to IO operations in async.

So my hypotheses is.
Sentence: Language X is better then Y because calling async IO operation dosen’t block the virtual machine is false because in every language that support system threads there is possibility to manage NIO, the only difference is that language X has better support for this through builtin libraries / language features.

  1. Is this hypothese Truth?
  2. Can some language achieve NIO without os system support? (through processes / threads)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T20:29:57+00:00Added an answer on May 20, 2026 at 8:29 pm

    Scala has a bunch of tools for concurrency, and NIO has a few tools for non-blocking IO. So, it should come as no surprise that there are a lot of great libraries that help connect the dots:

    • Finagle

      … a library for building
      asynchronous RPC servers and clients
      in Java, Scala, or any JVM language.
      Built atop Netty, Finagle provides a
      rich set of tools that are protocol
      independent.

    • Akka is a pretty nice, featureful actors/concurrency/services package which also uses Netty for their built-in remoting functionality

    • Naggati2 is another one from Twitter, also built on Netty, not sure if it’s being superseded by Finagle though.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Searching for a while now, but haven't found a suitable answer to my problem.
While searching for a proper way to trim non-breaking space from parsed HTML, I've
While searching a bug in my code today I found a strange thing. When
While searching for some functions in C++ standard library documentation I read that push
I'm searching a while for this and I can't found something that works for
I just want to show text please wait while app is searching for satellite
What is default storage class of a global variable? While searching on web I
I've been searching the web for a while now and still can't seem to
While searching for the solution, I've come across various links which talk about reading
While searching the web, I've encountered a post that shows why the following example

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.