Internal architecture# Storage General architecture Frontend ORM Backend Implementations Storage maintenance and profile locking Repository Design The file repository frontend The file repository backend The disk object store The lifetime of a node The original design Limitations psql_dos format The PostgreSQL database schema Tables The many-to-one relationship The many-to-many relationship Storage schema migrations Legacy schema sqlite_zip (archive) format metadata schema repository format database schema Tables Plugin system Design Principles Mini-Spec Nomenclature Interfaces Pluginloader Registry Tools Engine Controlling caching The WorkflowNode example ZeroMQ broker Process and thread architecture Module overview Endpoint discovery Socket architecture Message protocol Message types AMQP mapping Wire format Message flow: task submission Task dispatch strategy Deferred ACK pattern Broadcast semantics Dead worker detection Persistent queue (crash recovery) Service files Known limitations Timeouts REST API Extending the REST API Serving multiple profiles