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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T21:36:19+00:00 2026-06-16T21:36:19+00:00

Possible Duplicate: fastest (low latency) method for Inter Process Communication between Java and C/C++

  • 0

Possible Duplicate:
fastest (low latency) method for Inter Process Communication between Java and C/C++

I want to ask if anyone could suggest me the fastest way to transfer high amounts of data between two processes on the same machine one built in Java and other in C++

I have to build a business application having a client-server architecture over internet which has a structure like this->

Java Client App —( Java Sockets )—– > Java Servlet—- > C++ Business Logic.

It needs to be highly portable as we can’t say beforehand the target environment of the client, so java will be the best choice for it according to me. It will be interacting with the java servelet through java sockets. The servelet should be interacting with the business logic built in C++.

I will be using java just for the communication part and all the rest of the business logic will be there in C++.

I am an amateur programmer in Java and have a good level of experience in C++.

Any kind of suggestion would be welcomed..

  • 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-16T21:36:20+00:00Added an answer on June 16, 2026 at 9:36 pm

    I would use a Socket over loopback on the assumption that the volume of data doesn’t need be more than you get from Client App or return to it and latency doesn’t need to be many times smaller.

    Using a Socket is the most portable and if you have to run these on different machines you can.

    With Java you can get a few Gb/sec with latencies below 10 micro-seconds over a Socket.

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

Sidebar

Related Questions

Possible Duplicate: Fastest method to replace all instances of a character in a string
Possible Duplicate: Fastest method to replace all instances of a character in a string
Possible Duplicate: Fastest Way to Find Distance Between Two Lat/Long Points I have locations
Possible Duplicate: Fastest method to replace all instances of a character in a string
Possible Duplicate: What is the Fastest Method for High Performance Sequential File I/O in
Possible Duplicate: Parse query string into an array What's the fastest method , to
Possible Duplicate: How can I convert a list<> to a multi-dimensional array? I want
Possible Duplicate: How to do the vector of sets in C++? I want to
Possible Duplicate: check whether internet connection is available with C# I just want to
Possible Duplicate: Get first element of an array What is the fastest and easiest

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.