php - Dynamic Update of web application -


currently i'm working on business plan new company i'm looking into, have been made lead programmer within new venture , have been coming ideas project.

once of ideas have had has got me little stumped in best way handle it, idea have central management server dedicated control of client applications.

basically have ~1k client's running our client application on there server, when issue patch system main server connect each client , it's basic information such version, disk space etc., push new updates accordingly.

now know can have script overwrites files that's un-professional , not suffice, asking is:

what ways there me update ~1k client applications taking consideration important facts such server loads, version control, update history?

one thought have had use github manage revisions i'm not massively knowledgeable of how go that.

any advice appreciated, kind regards.

i guess best way handle such situation build update mechanism client app itself. then, when update ready, can have main mgmt server connect clients , notify them update available.

rather overwriting files server without regard clients may doing @ time, way each client able update , install when best so.

the sequence this:

  1. server notifies client update available
  2. client completes whatever task it's doing
  3. client retrieves , installs update
  4. client notifies server of installation status (success/failure) , errors have occurred during installation
  5. server records installation info in sort of history.

we have utilised mechanism in 1 of projects worked on little while ago, although there handful of clients (less 20) - , worked well.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -