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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T05:36:07+00:00 2026-05-16T05:36:07+00:00

Is there anyone using git in such a fashion? I would like to distribute

  • 0

Is there anyone using git in such a fashion?

I would like to distribute some multimedia content from a server to some Android remote devices. I would like them sending back a log file with device usage statistics (provided by an android app I will write).

The server could be anything but I would prefer a linux box.

I thought that since git handle and sych only differences between files, It would be a nice tool for this purpose and I would have content revision history as a bonus.

I need some piece of advice on how the repositories architecture could be organized: does It have to be a star topology or something different?

The remote end of the sistem don’t need any interactivity, in other words the remote git repository could pull and push whatever It needs to, autonomously and automatically.

UPDATE: I’ve found here on SO the author of git internals (I’m downloading It right now), Scott Chacon talking about the architecture I would like to implement.

UPDATE 2: OK I read the chapter about “Non-SCM uses of Git” and here is what the author says about a Peer to Peer CDN:

You have to get new content […]
consist of any combination of xml
files, images, animations, text and
sound. You need to build a content
distribution framework that will
easily and efficiently transfer all
the necessary content to the machines
on your network. You need to
constantly determine what content each
machine has and what it needs to have
and transfer the difference as
efficiently as possible.[…]
It turns out that Git is an
excellent solution to this problem.

I don’t find anything about mentioning little portions of the book inside it, so I hope that I’m not violating any copyright. In any case I will delete It if someone complain.

  • 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-16T05:36:08+00:00Added an answer on May 16, 2026 at 5:36 am

    So in a previous job, we used Git for exactly this and the reason was that our media assets were not often changing, so no matter what we used it was likely we would have to send the whole file anyways – thus, the issues with binary deltifying, though also an issue with other content distribution tools, was not important.

    The main advantage to rsync (and presumably unison, though I’ve never used it) is that you can build the content trees in the index and store the trees in Git under a branch per client rather than having to have everything on disk to run rsync on. If you have several variations on content, it’s pretty cool to be able to record unique trees of content needed by each client – of which you could have thousands of combinations – and have a simple pull command fetch only what’s needed and update it on the client. That was the reason we choose Git instead of rsync to do that. If every client needs exactly the same set of data, perhaps rsync would be easier, however the other nice thing about Git is that you get a history of the content on each client – when and how it changed for every single client.

    We also used it to record log files – since they are generally pretty uniform and text based, they delta excellently and transfer very efficiently – we were very happy with using that to record and transfer back upstream our log data.

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

Sidebar

Related Questions

Anyone out there using YAML as a data DSL in .NET? I'd like to
I am observing a strange behavior while using git-status with pathspecs. I would like
Is there anyone who knows how to destroy a javascript (jquery) function? I'm using
Anyone out there using the FTUtils library for iPhone development? Following the instructions here
Does anyone know there have any other way that (by not using json_encode and
Does anyone know if there are new binaries for the castle logging facility using
Does anyone know if there is an sample code for using Visual Basic to
Has anyone had any experience using Adobe Air to create BitTorrent application? Is there
I'm using git svn to merge changes from my local git repository to an
I'm using fabric to remotely start a micro aws server, install git and a

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.