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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T06:39:35+00:00 2026-05-18T06:39:35+00:00

I’m writing a GUI remoting client where the server defines and executes screen and

  • 0

I’m writing a GUI remoting client where the server defines and executes screen and a small GUI application visualizes this on the client. I know this sounds a lot like a website and there will be a web client to this system, but for now I’m focusing on the WPF client implementation.

Part of this system is that I need to synchronize assets between the server and the client. The server has all assets store in a .zip file or as a directory structure on the file system; I haven’t decided yet. These assets may change: assets may be added, removed or modified. These modifications need to be synchronized with the client.

The problem I have is how to store these assets on the client. I have come up with the following requirements:

  • Assets are keyed by path like keys (e.g. Images/Icons/16/add.png);

  • A CRC32 must be maintained per asset to detect chagnes;

  • There will be roughly 100 to 200 assets;

  • Size of the assets will range between 1 KB and 500 KB (only one or two); medium size is 8 KB; mostly .png image files;

  • Since loaded assets will be cached in memory, retrieval doesn’t have to be super fast;

  • Since assets don’t change often, updating the local cache doesn’t have to be super fast.

I have thought up the following approaches:

  • Files on disc. This has the following advantages:

    • Easy to implement;

    • Fast update and retrieval;

    And the following disadvantages:

    • Many files “somewhere” on disc;

    • Not possible to store meta data (CRC32);

  • Storing files in a .zip file. This has the following advantages:

    • Well defined storage mechanism with good .NET support;

    • Maintains a CRC32 for me (I believe);

    And the following disadvantages:

    • Update and retrieval of random files is relatively slow (I believe);

    • Not possible to store extra metadata (don’t know if I’m going to need this though);

  • Storing files in an SQLite database. This has the following advantages:

    • Well defined storage mechanism with good .NET support;

    • Allows all kinds of metadata to be stored;

    • Fast update and retrieval of random files;

    And the following disadvantages:

    • May be completely overkill;

    • I’m worried about binary support with SQLite.

My question is 1. am I overlooking an obvious alternative and/or 2. what approach would be the best.

  • 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-18T06:39:36+00:00Added an answer on May 18, 2026 at 6:39 am

    Went for the KISS approach: just downloading the entire resource file to the client.

    Resource libraries won’t get that big, 1 MB to 2 MB. Entire .zip file can be checked for changes with a single hash and updated only when changed. Since this won’t happen often (at most once a month), this won’t be a problem.

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

Sidebar

Related Questions

No related questions found

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.