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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:54:53+00:00 2026-05-26T11:54:53+00:00

I am writing a distributed application involving several front-end node that need to deny

  • 0

I am writing a distributed application involving several front-end node that need to deny action to the user unless they are part of a list.

Right now we have more then 4 of those noded but only a single database server running DB2 which is often down for maintenance.

Right now we are polling the database to update an in memory list so that if a user is removed from the list the change get reflected to all 4 nodes. But if one of the node is rebooted while the database is down we would end up with an empty list which will deny all user request which we dont want. We can accept request from user even if the database is down as we buffer them in a message-queue but we want to reject them immediatly if they need to be rejected!

Does it make sense to run a Zookeeper instance on each of our 4 node and store the user permission in Zookeeper. Reading should thus be fast and the data highly available and consitent. We would not have to do polling anymore and even if we restart the database the node will be able to get their config from zookeeper!

  • 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-26T11:54:53+00:00Added an answer on May 26, 2026 at 11:54 am

    Yes, the way you’ve described your problem, Zookeeper should fit the bill perfectly. There are few questions though that needs to be answered:

    • How much data are we talking about? Zookeeper persists data to disk, but works only if data fits RAM.

    • How often is data changed? Zookeeper will assure that more than half nodes received the update, so writes aren’t exactly performant.

    • How much data should be read at once? Zookeeper has limit of 1MB response size, but their recommendation is to keep data well below that limit. Note that this limit can also be reached if you are listing a node with lots of children, as children names count as data.

    Considering that data is served from RAM, reading it shouldn’t be much of a problem, but you can always cache results, and set watch on appropriate nodes to invalidate local data.

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

Sidebar

Related Questions

I am writing a distributed DB Application with an Access Front end. Essentially an
I am writing a distributed application in Scala that uses Akka actors. I have
I'm writing a package that is a small application. It is distributed with portable
I am writing a distributed Java application that will make heavy use of networking,
I'm writing my first distributed erlang application, and I notice that I have to
I'm writing a simple distributed java rmi application and I have a bunch of
I am writing an application to do some distributed calculations in a peer to
I am writing a distributed application framework in C++. One of the requirements is
I am writing a web application (in PHP) at the moment that holds sensitive
I am planning on writing a rails application which will distribute tasks to several

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.