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 7492517
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T16:27:18+00:00 2026-05-29T16:27:18+00:00

1) Is there an implementation of the aws sdk which uses asynchronous I/O instead

  • 0

1) Is there an implementation of the aws sdk which uses asynchronous I/O instead of thread pools? I am working on a highly scalable web service and profiling shows that the CPU is wasting a lot of cycles managing network I/O to and from amazon.

2)The current client uses Apache Http Client, if I cannot find an asynch implementation I will fork my own version to implement it. I was thinking of using the Jetty Http Client. Is it bad form to mix Jetty and Apache libraries? Is there a better alternative?

  • 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-29T16:27:19+00:00Added an answer on May 29, 2026 at 4:27 pm

    1) Is there an implementation of the aws sdk which uses asynchronous
    I/O instead of thread pools?

    Not that I know of, and I’d be surprised this to be difficult to find, if it would exist already.

    2) The current client uses Apache Http Client, if I cannot find an
    asynch implementation I will fork my own version to implement it. […] Is there a better
    alternative?

    There is a better alternative indeed – the AWS SDK for Java currently uses the Http Client version 4.x (you linked to the legacy 3.1 version JavaDocs instead) from Apache HttpComponents, which conveniently provides a Async HttpClient as well:

    Async HttpClient is a HTTP/1.1 compliant HTTP agent implementation
    based on HttpCore NIO and HttpClient components. It is a complementary
    module to Apache HttpClient intended for special cases where ability
    to handle a great number of concurrent connections is more important
    than performance
    in terms of a raw data throughput. [emphasis mine]

    As emphasized, it should only be facilitated for respective uses cases, but (as per your comment) you are sending thousands of requests to AWs which means that open requests tend to pile up, so this might help indeed.

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

Sidebar

Related Questions

There is a custom implementation of KSPA which needs to be re-written. The current
Is there some implementation of java.util.Map that does not uses HashCode? I have the
Is there an implementation of container classes for C++ which support notification in a
I was going through a thread in which there was discussion around whether Java
Is there an implementation of a Windows service that can call custom .NET code
Is there an implementation of the java Map interface which utilizes separate chaining as
Is there an implementation of rational interval arithmetic in Python? This uses floats, not
The Amazon Product Advertising API (formerly Amazon Associates Web Service or Amazon AWS) has
Is there any implementation of regex that allow to replace group in regex with
This is just to satisfy my own curiosity. Is there an implementation of this:

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.