View markdown source on GitHub

Architecture 03 - Galaxy Architecture Principles

Contributors

Questions

Objectives

last_modification Published: Feb 19, 2026
last_modification Last Updated: Feb 19, 2026

layout: introduction_slides topic_name: Galaxy Architecture

Architecture 03 - Galaxy Architecture Principles

The guiding principles of the core code architecture.


layout: true left-aligned class: left, middle — layout: true class: center, middle


Aspirational Principles of Galaxy Architecture

Whereas the architecture of the frontend (Web UI) aims for consistency and is highly opinionated, the backend (Python server) is guided by flexibility and is meant to be driven by plugins whenever possible.

Speaker Notes

Though an imperfect abstraction… maybe it is beneficial to think of the organizational principles that guide frontend and backend development of Galaxy as diametrically opposite.

The frontend architecture is guided by the principle that the end user experience should be as simple and consistent as possible. The backend has been deployed at so many different sites and targeting so many different technologies - that flexibility is paramount.


An Opinionated Frontend


A Plugin Driven Backend

Galaxy’s backend is in many ways driven by pluggable interfaces and can be adapted to many different technologies.

Speaker Notes

If the chief architectural principle guiding the frontend is a fast and accessible experience for the bench scientist, perhaps for the backend it is allowing deployment on many different platforms and a different scales.


A Plugin Driven Backend but…

Galaxy has long been guided by the principle that cloning it and calling the run.sh should “just work” and should work quickly.

So by default Galaxy does not require:


class: enlarge200

In other words…

The Galaxy frontend is architected with the bench scientist in mind first and foremost, the Galaxy backend is architected with Galaxy administrators in mind first and foremost.

Speaker Notes

TODO: slide connecting architecture to people here

.footnote[Previous: Galaxy Project Management and Contribution Next: Galaxy Files and Directory Structure]

Key Points

Thank you!

This material is the result of a collaborative work. Thanks to the Galaxy Training Network and all the contributors! Galaxy Training Network Tutorial Content is licensed under Creative Commons Attribution 4.0 International License.