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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T06:56:53+00:00 2026-06-17T06:56:53+00:00

I am currently working on a web app update system. It will work kind

  • 0

I am currently working on a web app update system. It will work kind of like version control where the master server is the repo. The difference between my system and vc would be you cannot commit/push etc to the master server.

So the idea is:

User goes to admin > update

Checks for updates

The master repo sends back a list of all the latest version files and their checksums

The app checks this list against the files on the server. If some are out of date/dont match checksum, then request those file contents, and over write the files on the server.

My question is, what if the update file itself needs updating… how would I go about updating it? Would i be able to overwrite it even though its currently executed? Or would there be an error and the whole thing blows up? I would guess that the current file is stored in ram so it can overwrite itself but I am not sure.

Thanks

  • 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-17T06:56:54+00:00Added an answer on June 17, 2026 at 6:56 am

    Here is one way you can go about it:

    • Only allow updating of the master files through a ‘superadmin’ page
    • Create a ‘registry’ where any part of the program has access to it (some only to read, and some to write)
    • When a file is being updated via superadmin it checks the registry whether a file is being read
    • When the superadmin updates any file it sets the ‘registry’ saying that a given file is being updated (in effect locking it)
    • When the user tries to update the system it checks the registry, if the file is set to ‘locked’ it won’t try to download it
    • When the user is able to download it, it sets the registry saying file is being read (and turns it off once finished)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently working on a web-app/server in python and cherrypy. Right now, I
I am currently working on a web app using Wicket and started using jQuery
I'm currently working on building a java web app. I've been looking to use
The ASP.NET web app project I'm currently working on is getting slower over time
I’m currently working on a small web app that allows people to search for
I currently started working on a maven web-app project that needs to be launched
I am currently working on a simple web application through Google App engine using
the web app I am currently working on generates a PDF file and sends
I'm currently working on a web app/game using C# and ASP.NET(3.5). However, I'm running
I am currently working on exposing data from legacy system over the web. I

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.