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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T16:14:55+00:00 2026-05-20T16:14:55+00:00

I want to know which is the best architecture to adopt for this case

  • 0

I want to know which is the best architecture to adopt for this case :

  1. I have many shops that connect to a web application developed using Ruby on Rails.
  2. internet is not reachable all the time
  3. The solution was to develop an offline system which requires installing a local copy of the distant database.

All this wad already developed.
Now what I want to do :

  • Work always on the local copy of the database.
  • Any change on the local database should be synchronized with distant database.
  • All the local copies should have the same data in other local copies.

To resolve this problem I thought about using a JMS like software eventually Rabbit MQ.
This consists on pushing any sql request into a JMS queue that will be executed on the distant instance of the application which will insert into the distant DB and push the insert or SQL statement into another queue that will be read by all the local instances. This seems complicated and should slow down the application.

Is there a design or recommendation that I must apply to resolve this kind of problem ?

  • 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-20T16:14:56+00:00Added an answer on May 20, 2026 at 4:14 pm

    I would recommend taking a look at CouchDB. It’s a non-SQL database that does exactly what you are describing automatically. It’s used especially in phone applications that often don’t have internet or data connectivity. The idea is that you have a local copy of a CouchDB database and one or more remote CouchDB databases. The CouchDB server then takes care of teh replication of the distributed systems and you always work off your local database. This approach is nice because you don’t have to build your own distributed replication engine. For more details I would take a look at the ‘Distributed Updates and Replication’ section of their documentation.

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

Sidebar

Related Questions

I have jboss EAP 5.1 .I want to know which eclipse works with this
I have one Application which has more then 5 Activity I want to know
I have some intialized Property/Fields that are constant and I want to know which
I want to know which component is best to display multiple line of text's(
i want to know which parsing method is best to use among Simple XML
I have to do a comparison and I want to know which will be
I'm creating a web application using asp.net & WCF as 3 tier architecture, which
I'm writing an Adsense style adserver now. Want to know which are the best
I want to know which is the best choice of array implementation in Android
I want to know which is best strategy to aboard the following problem in

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.