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

  • Home
  • SEARCH
  • 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 8341403
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T05:28:15+00:00 2026-06-09T05:28:15+00:00

Before we develop our custom solution, I’m looking for some kind of library, which

  • 0

Before we develop our custom solution, I’m looking for some kind of library, which provides:

Non-blocking queue of HTTP requests

with these attributes:

  • Persisting requests to avoid it’s loss in case of:
    • network connectivity interruption
    • application quit, forced GC on background app
    • etc..
  • Possibility of putting out all these fields:
    • Address
    • Headers
    • POST data

So please, is there anything usable right know, what could save us whole day on developing this?

Right now we don’t need any callbacks on completed request and neither saving result data, as there won’t be such.

  • 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-06-09T05:28:17+00:00Added an answer on June 9, 2026 at 5:28 am

    In my humble opinion, a good and straightforward solution would be to develop your own layer (which shouldn’t be so complicated) using a sophisticated framework for connection handling, such as Netty https://netty.io/ , together with a sophisticated framework for asynchronous processing, such as Akka http://akka.io/

    Let’s first look inside Netty support for http at http://static.netty.io/3.5/guide/#architecture.8 :

    4.3. HTTP Implementation

    HTTP is definitely the most popular protocol in the Internet. There are already a number of HTTP implementations such as a Servlet container. Then why does Netty have HTTP on top of its core?

    Netty’s HTTP support is very different from the existing HTTP libraries. It gives you complete control over how HTTP messages are exchanged at a low level. Because it is basically the combination of an HTTP codec and HTTP message classes, there is no restriction such as an enforced thread model. That is, you can write your own HTTP client or server that works exactly the way you want. You have full control over everything that’s in the HTTP specification, including the thread model, connection life cycle, and chunked encoding.

    And now let’s dig inside Akka. Akka is a framework which provides an excellent abstraction on the top of Java concurrent API, and it comes with API in Java or Scala.

    • It provides you a clear way to structure your application as a hierarchy of actors:
      • Actors communicate through message passing, using immutable message so that you have not to care about thread-safety
      • Actors messages are stored in message boxes, which can be durable
      • Actors are responsible for supervising their children
      • Actors can be run on one or more JVM and can communicate using a wide numbers of protocols
    • It provides a lightweight abstraction for asynchronous processing , Future, which is easier to use then Java Futures.
    • It provides other fancy stuff such as Event Bus, ZeroMQ adapter, Remoting support, Dataflow concurrency, Scheduler

    Once you become familiar with the two frameworks, it turns out that what you need can easily be coded through them.

    In fact, what you need is an http proxy coded in Netty, that upon a request receival sends immediately a message to an Akka Actor of type FSM (http://doc.akka.io/docs/akka/2.0.2/java/fsm.html) which using a durable mailbox (http://doc.akka.io/docs/akka/2.0.2/modules/durable-mailbox.html )

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

Sidebar

Related Questions

We develop a product which is distributed by our clients to their customers. We
We develop custom survey web sites and I am looking for a way to
I did not develop eclipse plugins before and I do not know how it
I'm starting to develop an application using MySQL and although I've developed apps before
I'm in the process of trying to develop my first rails application and before
I am new to Ubuntu. Before, I used VS in Windows and develop applications
My company is to develop a touchscreen application. We have some prior experience with
I have to develop an android app for which I have to use camera
Before I choose the first / only JS GUI library I know, I'd like
I'm starting to develop a mobile version of a website that we run. Our

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.