Skip to main content

AI architecture and patterns - part II

[PLACEHOLDER]

In this article, we continue from Part 1, where we began presenting a range of AI architecture patterns that function as reusable blueprints for effectively designing AI solutions. This can support you on your journey in identifying the appropriate one (or ones) for the problem you are trying to solve.

copper facade with warm-rich tones and textured patterns
Photo by Jan van der Wolf from Pexels

 

Data centric patterns.

Feature store pattern.

This one has become a foundational element of mature ML platforms because it centralises the entire feature engineering lifecycle, ensuring that models train and serve on consistent, high‑quality data. Instead of letting teams repeatedly rebuild the same user metrics, behavioural aggregates, or time slot signals, a feature store provides a single source of truth where these features are computed once, documented, versioned, and reused across many models. This shared infrastructure:

  • Eliminates training‑serving skew, which is one of the most common causes of silent model degradation.
  • Enables organisations to scale recommendation systems with reliable, low‑latency feature access. Here are some of the tools that operationalise this pattern, offering offline stores for historical data, online stores for real-time inference and registries:
  • Feast: A free, open‑source feature store focused on simplicity and flexibility. It provides a registry, offline store, and online store but leaves feature transformation to your existing data pipelines. Best for teams that want control and low cost. 
  • Tecton: A fully managed, enterprise‑grade feature store with strong real‑time and streaming support. It automates feature pipelines and reduces operational burden. This, though, introduces proprietary tooling and higher lock‑in. 
  • Hopsworks: A hybrid of the two (2) above, offering first class batch and streaming features. 

Illustrates Feature Store pattern for a recommendation System.
 

Data mesh pattern.

The Data Mesh Pattern re-frames how large organisations manage and scale data by shifting from centralised pipelines to domain driven ownership. Instead of one monolithic data team serving every need, each business domain (e.g. sales, marketing, operations) treats its data as a product, complete with clear owners, quality standards, and service interfaces. 

This decentralisation reduces bottlenecks and breaks down silos, enabling AI teams to access cleaner, more contextual data.

The tradeoff is cultural: adopting a data mesh requires new governance habits, cross‑domain collaboration, and a mindset shift toward shared responsibility.


Event Driven Architecture (EDA).

The EDA brings real time intelligence to AI systems by letting models react the moment something meaningful happens. Instead of relying on scheduled batch jobs, every event (e.g. a click, a purchase) triggers downstream logic such as updating a recommendation, recalculating a score, or enriching a user profile. This makes it ideal for personalisation engines.

 

Deployment and scalability patterns.

Serverless AI pattern.

The Serverless AI Pattern uses short‑lived, auto‑scaling cloud functions to run AI workloads without any need to manage servers or long‑running infrastructure. Models execute inside ephemeral functions (aka cloud functions) that spin up only when triggered, making this pattern ideal for low‑traffic or sporadic tasks like lightweight image moderation or periodic text analysis. 

Because you pay only for actual execution time, it’s highly cost‑efficient, but it comes with tradeoffs: cold starts can add latency, and strict time limits constrain heavier workloads.


Edge AI pattern.

In this particular case the models are placed directly on devices. You can think about IoT. 
Even when the limitations around compute, this can be a good solution for low latency and offline capabilities.

A smartphone, a drone, or other type of devices, enabling real‑time decisions without depending on cloud round‑trips. Edge AI also enhances privacy and reduces unnecessary data transmission.


Model-as-a-Service (MaaS).

The MaaS Pattern streamlines AI adoption by exposing powerful models through API calls, allowing teams to integrate advanced capabilities without managing any underlying infrastructure. Platforms like Hugging Face, Modelscope, Northflank, OVHCloud, Mistral, Aleph Alpha make this possible by hosting large collections of open and proprietary models and providing one‑click or serverless deployment options. 

This pattern is ideal for startups and product teams that need fast, pay‑per‑use access to solutions such as sentiment analysis, text generation, or other AI capabilities without the operational overhead of training or hosting models themselves.


A/B testing pattern for AI.

The A/B Testing Pattern for AI brings scientific rigour to model deployment by running multiple versions of a model in parallel and comparing their performance on real production traffic. This approach can be used to optimise recommendation systems, where even small improvements in click‑through rate or relevance can drive meaningful business impact.

In practice, A/B testing routes a controlled portion of users to each model variant and measures outcomes such as accuracy, latency, cost, and user behaviour.

Platforms like AWS SageMaker support this pattern through multi‑variant endpoints that let teams distribute traffic across model versions or directly invoke specific variants for precise comparisons. 


 

A little sneak peek at the next chapter…

In part 3 we will bring a few more patterns related to Security and governance, as well as emerging ones, such as:

  • Explainable AI (XAI).
  • Agentic RAG. 
  • Swarm.
  • Others. 

multicolored metal facade with abstract geometric patterns

AI architecture and patterns - part I

AI systems can be complex. Architecture patterns provide reusable blueprints...



 Acknowledgement.

Part of the content of this article leverage the following technologies:

  • Mistral AI.  
  • Microsoft Copilot.
  • VSCode.
  • Mermaid. 

Trending posts

Rethinking Canadian Economic Sovereignty Amid Foreign Acquisitions

About a year ago, I attended the Elevate Festival in Toronto, which I recommend if you haven't had the chance to experience it. The event was very inspiring because of its focus on business, technology, and entrepreneurship. It was interesting to see people at various stages of their careers; some executives, others developing their startups, a few in between, and some simply there to gain insights and knowledge. There was a unique atmosphere, influenced by the current political situation between Canada and the US. Many discussions centred around data sovereignty, cloud infrastructure independence, and ensuring that Canadians' data remained safe and secure within the country's borders or trusted allies. Building trust requires considerable effort, yet it can be shattered very quickly… and once broken, repairing it becomes extremely difficult, if not impossible. Considering the current geopolitical landscape, it is unclear where we go from here... but it seems the rules hav...

AI architecture and patterns - part I

AI systems can be complex. Architecture patterns provide reusable blueprints to design them effectively, ensuring your AI solution is scalable, modular, and efficient. Here’s a breakdown of the most common AI architecture patterns.   Photo by Jan van der Wolf via Pexels Core AI system patterns. Pipeline pattern. This is great when you need clarity, control, and determinism in your AI system. It breaks a complex workflow into a clean sequence of stages: data ingestion → preprocessing → model training → inference Each step has a single, well‑defined responsibility. This structure makes debugging easier, improves replicability, and allows teams to optimise or swap out individual components without disrupting the entire system. In practice, it’s the backbone of many production ML and LLM workflows where consistency and traceability matter just as much as model performance.    Microservices pattern. Microservices takes AI architecture and breaks it into small, autonomous serv...

Reimagining Digital Experience Management: How Agentic AI is Transforming Adobe Experience Manager

 Adobe Experience Manager (AEM) has introduced powerful new Agentic AI capabilities designed to continuously improve and adapt digital experiences at the speed of AI. By integrating advanced AI orchestrators through Agent-to-Agent (A2A) and Model Control Protocol (MCP) tools, AEM enables brands to automate complex workflows and enforce compliance seamlessly across enterprise ecosystems. Through a suite of specialized agents, teams can transition from manual, weeks-long processes into fast, AI-assisted workflows powered by simple natural language prompts. Photo by Tunahan KALAYCI via Pexels   Here is a breakdown of the key agents driving AEM’s new Agentic capabilities, their value propositions, their guardrails, and their current availability status. 1. Brand Experience Agent. Overview. The Brand Experience Agent accelerates digital modernization through specialized sub-agents—the Experience Modernization Agent, Experience Production Agent, and Experience Development Agent. Tog...

Steer for a talent transformation strategy (and avoiding AI fatigue)

 There was a debate on whether to feature the term “AI” in the title of this article. Honestly, a key motivation for pursuing the research that led to this post was sparked by the widespread excitement about AI appearing constantly in our LinkedIn feed, to the point of feeling the fatigue, and even a bit disappointed in the algorithm of this, and the others, social media and content curated apps.  We soon discovered that there is an entire concept called "AI fatigue", not exactly how we were feeling it, but more about the mixed emotions people in the workforce have regarding the use of AI tools. Photo by Mart Production via Pexels (background updated with AI and Adobe  tech) From micro blog posts to video podcasts, lately, most of the tech content we encounter revolves around AI. They often sound or read very similar, usually mentioning the same few top providers. The articles (and social posts... at least the popular ones with paid-campaigns behind it) tend to focus less...

This blog uses cookies to improve your browsing experience. Simple analytics might be in place for pageviews purposes. They are harmless and never personally identify you.

Agreed