glance/doc/source/architecture.rst
Mike Turvey 1bea843152 Adding detailed alt text to images for accessibility
In order to accomodate developers with screen readers, alt text
has been modified to provide an accurate and full description of
the diagrams in the documentation. Screen readers use the
alt text as a description of an image.

Change-Id: I6343c6d9d980331ef2b0f4f23b1fa2d37b0ba602
Closes-Bug: 1432214
2016-04-13 16:31:23 -07:00

3.8 KiB

Basic architecture

OpenStack Glance has a client-server architecture that provides a REST API to the user through which requests to the server can be performed.

A Glance Domain Controller manages the internal server operations that is divided into layers. Specific tasks are implemented by each layer.

All the file (Image data) operations are performed using glance_store library, which is responsible for interaction with external storage back ends and (or) local filesystem(s). The glance_store library provides a uniform interface to access the backend stores.

Glance uses a central database (Glance DB) that is shared amongst all the components in the system and is sql-based by default. Other types of database backends are somewhat supported and used by operators but are not extensively tested upstream.

Image 1. OpenStack Glance Architecture

Following components are present in the Glance architecture:

  • A client - any application that makes use of a Glance server.
  • REST API - Glance functionalities are exposed via REST.
  • Database Abstraction Layer (DAL) - an application programming interface

    (API) that unifies the communication between Glance and databases.

  • Glance Domain Controller - middleware that implements the main

    Glance functionalities such as authorization, notifications, policies, database connections.

  • Glance Store - used to organize interactions between Glance and various

    data stores.

  • Registry Layer - optional layer that is used to organise secure

    communication between the domain and the DAL by using a separate service.