---
title: "Rethink the sync"
author: "willpower"
date: "2007-03-21T12:57:33Z"
tags: []
slug: "rethink-the-sync"
draft: false
lastmod: "2007-03-21T12:57:33Z"
id: 64324
url: "https://willpower.iteye.com/blog/64324"
---

We know the traditional I/O models: sync and async, however, some researchers from Michigan University figures out a new model, they call it "external sync"

The difference between e-sync and sync is shown below:

![fig1](http://www.usenix.org/events/osdi06/tech/nightingale/nightingale_html/fig1.jpg)

This figure shows the behavior of a sample application that makes two file system modifications, then displays output to an external device. The diagram on the left shows how the application executes when its file I/O is synchronous; the diagram on the right shows how it executes when its file I/O is externally synchronous.

External synchrony preserves the simplicity and reliability of a synchronous I/O interface, yet performs approximately as well as an asynchronous I/O interface.