Table of Contents

Zones and Repositories

The purpose of this section is to explain the concept of Zones and Repositories and how these objects interact to facilitate a flexible storage solution in TapeTrack.

For illustration purposes, rather than discussing a vault we will use the analogy of a restaurant.

Our Restaurant

Our restaurant is called GazillaBytes, and it has 5 rooms. Each of our rooms is named after a color.

We have:

  1. The Red Room which has seating for 200 people in a configuration of 20 tables each with 10 seats.
  2. The Blue Room which has seating for 200 people in a configuration of 20 tables each with 10 seats.
  3. The Green Room which has seating for 200 people in a configuration of 20 tables each with 10 seats.
  4. The Orange Room which has seating for 500 people in a configuration of 25 tables each with 20 seats.
  5. The Purple Room which has seating for 300 people in a configuration of 30 tables each with 10 seats.

Our bookings

When people book at our restaurant, they book as a company and they book our tables out indefinitely (we serve Fortune 100 companies in this analogy).

Seating

Each of the diners is assigned a seat, relative to the start of their reservation, so:

  1. The first Walmart diner will be seated on the first seat of the first table in the Purple Room.
  2. The 11th Walmart diner will be seated on the first seat of the second table in the Purple Room.
  3. The 215th Apple diner will be seated in the 5th seat in the 22nd table of the Purple Room.
  4. There are 5 diners from both CVS Health and General Motors seated at table 13 in the Green Room.
  5. There are 5 diners from AT&T and 15 diners from General Motors at table 21 in the Orange Room.

The Analogy

In this analogy each of the rooms represents a Zone, each of the seats represent a slot and each of the bookings represents a Repository.

A booking can occupy one or more rooms, and a room can be occupied by one or more reservations.