Self-host Architecture
The high-level architecture of deco integrates different roles (User, Business User, Developer), a website web server, a content delivery network (CDN), administrative functionalities, and external systems (databases, e-commerce, SaaS). The focus is on content management and development/configuration environments, with interaction between various stakeholders and components.
Users:
System Components:
Content Delivery:
Business User Workflow:
Developer Workflow:
With self-hosting, the site is hosted on the organization’s own infrastructure. Here are the main changes and impacts:
Self-hosted Site and Internal Systems:
Tunnel to Access the Site:
CI/CD and Git Manage the Site:
Continuity of deco.cx Infrastructure:
Cache Async Render: By default, the CDN caches the sections rendered on the /deco/render route (HTMX and partials). Without this cache, the system may be overloaded with unnecessary requests. It might be beneficial for the solution to cache these elements.
Loader Cache: Calls to loaders receive local cache on the web server. This cache typically occupies 1GB and can fill the disk of the image if it has not been mounted with a sufficiently large ephemeral storage. This and other options can be configured via environment variables and are defined in the deco runtime code.
With this change, both the Site and Web Environments are self-hosted. This gives the organization full control over development, production, and integration with internal systems.
Self-hosted Site and Environments (Envs):
Tunnel to Access the Web Environment:
CI/CD and Git:
Continuity of deco.cx Infrastructure:
With self-hosted site and environments, the organization gains more control and flexibility but takes on greater responsibility for security, maintenance, and system connectivity.
Self-host Architecture
The high-level architecture of deco integrates different roles (User, Business User, Developer), a website web server, a content delivery network (CDN), administrative functionalities, and external systems (databases, e-commerce, SaaS). The focus is on content management and development/configuration environments, with interaction between various stakeholders and components.
Users:
System Components:
Content Delivery:
Business User Workflow:
Developer Workflow:
With self-hosting, the site is hosted on the organization’s own infrastructure. Here are the main changes and impacts:
Self-hosted Site and Internal Systems:
Tunnel to Access the Site:
CI/CD and Git Manage the Site:
Continuity of deco.cx Infrastructure:
Cache Async Render: By default, the CDN caches the sections rendered on the /deco/render route (HTMX and partials). Without this cache, the system may be overloaded with unnecessary requests. It might be beneficial for the solution to cache these elements.
Loader Cache: Calls to loaders receive local cache on the web server. This cache typically occupies 1GB and can fill the disk of the image if it has not been mounted with a sufficiently large ephemeral storage. This and other options can be configured via environment variables and are defined in the deco runtime code.
With this change, both the Site and Web Environments are self-hosted. This gives the organization full control over development, production, and integration with internal systems.
Self-hosted Site and Environments (Envs):
Tunnel to Access the Web Environment:
CI/CD and Git:
Continuity of deco.cx Infrastructure:
With self-hosted site and environments, the organization gains more control and flexibility but takes on greater responsibility for security, maintenance, and system connectivity.