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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T18:33:56+00:00 2026-05-14T18:33:56+00:00

Just out of curiosity, for applications that have a fairly complicated module tree, would

  • 0

Just out of curiosity, for applications that have a fairly complicated module tree, would something like sqlite/sql compact edition work well for message passing?

So if I have modules containing data such as:

\SubsystemA\SubSubSysB\ModuleB\ModuleDataC, \SubSystemB\SubSubSystemC\ModuleA\ModuleDataX

Using traditional message passing/routing, you have to go through intermediate modules in order to pass a message to ModuleB to request say ModuleDataC.

Instead of doing that, if we we simply store “\SubsystemA\SubSubSysB\ModuleB\ModuleDataC” in a sqlite database, getting that data is as simple as a sql query and needs no routing and passing stuff around.

Has anyone done this before? Even if you haven’t, do you foresee any issues & performance impact? The only concern I have right now would be the passing of custom types, e.g. if ModuleDataC is a custom data structure or a pointer, I’ll need some way of storing the data structure into the DB or storing the pointer into the DB.

Thanks,

JW

EDIT

One usage case I haven’t thought about is when you want to send a message from ModuleA to ModuleB to get ModuleB to do something rather than just getting/setting data. Is it possible to do this using an embedded DB? I believe callback from the DB would be needed, how feasible is this?

  • 1 1 Answer
  • 2 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-14T18:33:57+00:00Added an answer on May 14, 2026 at 6:33 pm

    As hinted at in my comment, this looks a bit like the idea of Tuple Spaces, i.e. a sort of shared, persistent “whiteboard” where different processes can read or update data.

    This is usually part of some distributed system, so that disparate threads, processes, entities can share and coordinate work through the tuple space.

    Using it “inside” a single program is a bit of overkill, in my opinion, but considering that you are apparently approaching this as a sort of Gedanken Experiment it may very well worth it.

    The model is quite simple, so you can probably create your own version using sqlite or any other embedded DB.
    There is an SQL-based version which is free but this looks like it’s not embeddable and requires separate clients/server processes, so it’s probably an overkill for your situation.

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

Sidebar

Related Questions

This is just out of curiosity. We know that for cryptology applications two large
Just out of curiosity: if I have nested scopes, like in this sample C++
Just out of curiosity, how does iostream access the input-output system. (I have a
Just out of curiosity, asking this Like the expression one below a = (condition)
Just out of curiosity. It doesn't seem very logical that typeof NaN is number.
Just out of curiosity i wanted to make something similar to what pretty much
Just out of curiosity, anything like this possible in JavaScript ? var c, flag
Just out of curiosity, I wanted to do this and created some shapes like
Just out of curiosity: if I have a class operator (or function or the
Just out of curiosity, is it possible to parse a string that is totally

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.