ArchDeck · 115 cards

← All families
Open full library ↗
← Back to family

A3 · Architecture Styles

Microkernel Architecture

The Power of Plugins

Overview

A small core system with pluggable extensions. The kernel handles essential operations; plugins add features. Perfect when extensibility at runtime matters.

When to use

  • Product with customizable features
  • Third-party extensions needed
  • Multiple customer configurations
  • IDE-like applications
  • Rule engines and workflow systems

Quick assessment

  • Do customers need different feature sets?
  • Is runtime extensibility important?
  • Can you define a stable plugin contract?
  • Do features have independent lifecycles?

In practice

How it works

The core reaches extensions through one shared contract.

Make it work

Define and version the plugin contract. Discover plugins through a registry and activate them by configuration.

The trade-off

Frequent contract changes break extensions. Plugin-to-plugin coupling and an ever-growing core erase the benefit.

Can the core stay stable while extensions evolve?

Key patterns

  • Core system (kernel) handles essential operations
  • Plugin registry for discovery
  • Standard plugin interfaces
  • Configuration-driven activation

Counter-patterns

  • Plugin contracts that change frequently
  • Plugins that need to communicate with each other
  • Core system that grows to include everything
  • Over-engineering for customization you don't need

Reality check

Eclipse, VS Code, WordPress—all microkernel. The pattern shines when customers genuinely need different capabilities. But defining stable plugin contracts is harder than it looks.

NFR profile

security
3/5
usability
4/5
performance
4/5
reliability
4/5
scalability
3/5
testability
4/5
availability
3/5
extensibility
5/5
maintainability
4/5
Explore the full library and printable cards