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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T14:32:36+00:00 2026-06-18T14:32:36+00:00

I have 2 processes, and I would like one of the processes to talk

  • 0

I have 2 processes, and I would like one of the processes to talk to the other one with a high data throughput. I have tried IPC(boost::iterprocess specifically) and sockets but their performance/throughput is too slow to use.

My fallback option is to launch the 2nd process as an attached child of the first(load its dll, create the ‘tool’, etc), which has the best performance, as they are technically the same process at that point, and passing data is just calling the interface functions with the DLL.

I’m looking for ways to avoid doing it like this but still have that degree of performance. Is it possible to set up a DLL that 2 processes can load and somehow share memory space between? Are IPC and sockets the only options here?

  • 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-18T14:32:37+00:00Added an answer on June 18, 2026 at 2:32 pm

    What is “IPC” in your question? Sockets, pipes, shared memory are all ways to do IPC. And yes, you can use shared memory on Windows, Linux and other general-purpose systems. In C++ you can just declare a memory block as shared (at least on Windows) or you can call Memory Mapped File (MMF) functions. On Linux and BSD you use Memory Mapped File functions as well.
    MMFs are the fastest possible way besides transforming a second process into the DLL. Named pipes and anything else is slower.

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

Sidebar

Related Questions

I have several python.exe processes running on my Vista machine and I would like
As recommended here I would like to have an external processes running that listens
I would like to kill all Internet Explorer processes that have been running more
I have several different processes and I would like them to all log to
I have a process intensive task that I would like to run in the
I would like to have a manager process sharing graphs via shared memory, read-only
Normally if I'd like to have an Erlang process timeout I would use the
I have a database process written in PL/SQL that i would like to test
In my Grails application, I run some batch processes asynchronously, and would like the
For one of my learning projects I have a set of erlang processes (different

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.