Unified Update Service

October 8, 2007 on 9:47 pm | In Programming | By QBasicer |

I currently add some update-checking abilities to my programs. It’s very hacked together and not very central. To overcome that, I think the best solution is the run a background application/service/daemon that handles the update information from across the internet, and then provide that information to applications.

Daemon Goals:

  • Be very stable
  • Quick
  • Low memory usage

I intend on achieving a small memory footprint by using dlls (and .so’s on linux) that get loaded when an operation is needed. Such operations will be divided up into 3 segments. Client connections, database operations, and information retrieval from a central server. When any operation isn’t being use for a small amount of time (2 minutes lets say), free that memory and unload the modules therefore using a very small amount of memory (barring no leaks).

Client Goals:

  • Be very stable
  • Quick
  • Don’t interfere with normal program usage
  • Be able to use an alternate means of updating

I think providing a plugable means to run updates is a must. If plugin x isn’t available, don’t connect to the daemon, if y isn’t available, don’t use a more comprehensive HTTP method, and if nothing is present, fall back on a very simple TCP connection.

Here’s a sample (and simple) diagram:
VUS Client/Server Model

On the Other Hand

Many It related exams like 1z0-147 are very popular among IT people. They want to seek help regarding their preparations that can be obtained by various websites. To explore microsoft certification can be explored through books and after getting command on it, the chances of good employment increase. The exam 70-122 is quite an effective option if you are looking to upgrade your IT skills. The exam code FN0-125 represents the examination of Foundry Networks Certified Network Engineer (FNCNE). The exam code NO0-002 Nokia Security Administrator can be booked online in many countries using major credit cards. The exam HH0-120 guide kit can be purchased online which contain testing practice software and manual, other than this the exam 9L0-207 Apple Portable Service Exam is considered a must since the popularity of Apple portable products.

1 Comment »

RSS feed for comments on this post. TrackBack URI

  1. Never would I run a daemon to monitor updates for ~3 programs, no matter how small the footprint.

    Why not just use a periodic check with a simple HTTP thing through PHP to handle it? Really simple and easy to do.

    Comment by BioHazard — October 9, 2007 #

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Powered by WordPress with Pool theme design by Borja Fernandez. I rewrote the CSS because I'm cool like that.
Entries and comments feeds. Valid XHTML and CSS. ^Top^