Home » Incremental Update

# Incremental Update

incrementalupdate When file updates are required, the way to download patch files containing only changes and patch them directly in local

Overview

In 2021, when I worked as an agent(military problem) for an IT vaccine company, I was in charge of a project called “incremental update” alone.

The company was providing customers with a 1MB file from AWS3 every time.

This file was very important to customers, and as soon as the contents were changed, customers had to download it again.

It is also a project that instilled tremendous growth and confidence in me, who was somewhat intimidated as a new employee at that time.

Implementation Method

Changes to the contents of this 1mb file were made by other departments.

Therefore, the function was reviewed in the direction of maintaining the existing working process as much as possible.

  1. When another department changed the 1mb file and uploaded, the automation trigger was activated to create a patch file with the diff of the previous upload file and the current file.

  2. In addition, this patch file was automatically distributed to the server and the client used it when updating.

  3. The client made it possible to apply the downloaded patch file to the current 1mb file.

Use Technology Stack

the result

The total cost of existing traffic could be reduced by 60%.

Rollback accident

As a result of initial completion and distribution, existing traffic tripled So it was quickly rolled back in a day.

What was difficult

  1. It was extremely difficult to insert new feature to existing update logic.
  1. It was difficult to develop new features in VS2003.
  1. It was hard to implement the test.

a general review