Roll Your Own Filesystem

last modified: May 9, 2012

Antipattern

Causes:

Driving Forces:

Description: A custom written file format for storing other files.

Examples: Most videogames.

Variants:

Avoiding the antipattern:


Littering the filesystem with hundreds of tiny files is not really a good idea

This really depends greatly on the filesystem. As noted in InterNetNews: Usenet Transport for Internet Sites, by Rich Salz, (http://www.usenix.org/publications/library/proceedings/sa92/salz.pdf) it depends greatly on how you operate on the filesystem, and to some extent on the filesystem design. There are now many choices for filesystems that are optimized for rapid open/read/close of many tiny files.

Yeah, but the OS and Applications filesystem (remember most examples are Windows) isn't that.


CategoryAntiPattern CategoryDevelopmentAntiPattern


Loading...