Episodic Memory Patterns for Enterprise Agents

<p class="p3 wp-block-paragraph">Most enterprise AI systems today still run on chunks. Paragraph boundaries. Token limits. Random slices of logs. That works for search. It starts to wobble when you ask an agent to reason about a journey that unfolded over time: a claim, an incident, a migration, an integration change.</p> <p class="p3 wp-block-paragraph">So this post…More

A 2026 Memory Stack for Enterprise Agents

<p class="p3 wp-block-paragraph">In my previous post on LLM memory evolution through 2024-2025 we saw the shift from prompting to context engineering and use of techniques such as RAG, GraphRAG etc. Now lets examine this use case for memory when building more complex flows with LLMs to do a series of steps in an “agentic flow”…More

From Prompting and Context Engineering to Memory Architecture

<p class="p3 wp-block-paragraph">Over the last couple of years we observed that Large Langeuage Model (LLM) usage also known as “GenAI”, did not just stop at prompt engineering. We moved through context engineering by providing prompts and other information as context to get better and more accurate one shot answers and then in Software Engineering we…More

The Evolution of AI-Led Engineering: From Auto-Complete to Spec-Driven Development

<p class="wp-block-paragraph">AI is reshaping our software engineering practice in successive waves, it started with auto completion and predictive text, we the drove into prompt engineering, and more recently into context engineering, and is now we are evolving/narrowing towards spec-driven development to create new software and understand and modernise legacy software with greater accuracy, speed and…More

Beyond CRUD: Choosing the Right API Style

<h2 class="wp-block-heading">Introduction</h2> <p class="wp-block-paragraph">Most engineers begin their API journey with CRUD. It teaches how to expose resources, wire endpoints, and push data in and out. But in production systems, APIs do more than shuttle JSON: they enforce contracts, define system boundaries, and dictate performance envelopes. The style and protocol you choose for an API ripple…More

Java Tools and Tips

<p class="wp-block-paragraph">Here is the latest in Java tools and libraries we have been haing through 2024 and into 2025. JaCoCo and Gatling have been staple as we continue to shift left with QA, we are yet to do Mutation testing in anger</p> <p class="p1 wp-block-paragraph">Tools:</p> <p class="p1 wp-block-paragraph"><strong>Architecture</strong>:</p> <p class="p3 wp-block-paragraph">ArchUnit: A library for checking…More

Streaming Design Patterns

<p class="wp-block-paragraph">In the previous post, we compared streaming, messaging, and orchestration, delineating their distinct roles and applications in modern data architecture. Building on that foundation, this post zeroes in on streaming and its design patterns. Streaming, a critical component in handling real-time data, is not a monolith; it encompasses various design patterns each suited for…More

Understanding Streaming Concepts for Microservices

<p class="wp-block-paragraph">The evolution of data processing in microservices architecture has brought to the forefront three pivotal concepts: streaming, messaging, and orchestration. Each plays a unique role in the way modern applications handle data and interactions. This post is dedicated to demystifying these concepts, offering insights into their functionalities and applicabilities</p> <p class="wp-block-paragraph">As microservices continue to…More

10 Lessons from Building a Full-Stack SaaS Product: It was fun!

<p class="wp-block-paragraph">I have always been passionate about rapidly solving problems for businesses, so when I learned of the challenges my friend’s business was facing due software constraints, I was inspired – especially since I was on holidays</p> <p class="wp-block-paragraph">I had 2-weeks of break during my 1.5 month long vacation where socialising and travel would be…More

Kubernetes vs. Serverless: Choosing the Right Architecture

<p class="wp-block-paragraph">As we journey through our comprehensive series on Kubernetes, we’ve explored its foundational aspects, intricate design patterns, and its pivotal role in the realm of containerization</p> <p class="wp-block-paragraph">Now, as we approach the final chapter of our series, we turn our attention to a critical comparison – Kubernetes versus Serverless computing. This exploration is key…More

Mastering Containerization: Kubernetes at the Forefront

<p class="wp-block-paragraph">As we continue our exploratory series on Kubernetes and its pivotal role in shaping microservices, we’ve covered its foundational aspects and essential design patterns. Now, we delve into the details of <strong>containerization</strong> – the very heart of Kubernetes. </p> <p class="wp-block-paragraph">This post will illuminate how Kubernetes is not just facilitating but mastering the art…More

Kubernetes for Developers: Streamlining Microservices Deployment

<h3 class="wp-block-heading"><strong>Introduction</strong></h3> <p class="wp-block-paragraph">In our ongoing series exploring the pivotal role of Kubernetes in microservices, we have unearthed its foundational significance and delved into the essential design patterns. </p> <p class="wp-block-paragraph">Continuing this journey, we now turn our focus to developers. This post is crafted for developers aiming to streamline their workflow in the microservices domain.…More

Design Patterns in Kubernetes: Blueprint for Robust Microservices

<h4 class="wp-block-heading"><strong>Introduction</strong></h4> <p class="wp-block-paragraph">In the previous post we introduced Kubernetes and containerization for microservices. In the world of microservices, Kubernetes emerges not only as a platform but as a harbinger of design patterns that revolutionize how we build, deploy, and scale applications. In the second post of the series, we talk about Kubernetes Design patterns…More

Unraveling Kubernetes: The Gateway to Efficient Microservices

<p class="wp-block-paragraph">Kubernetes, often hailed as the cornerstone of modern microservices architecture, stands as a beacon of efficiency and scalability in the ever-evolving landscape of software development. In a series of posts I will be describing key concepts and comparing with other technologies for microservice engineers</p> <p class="wp-block-paragraph">The posts will cover</p> <h2 class="wp-block-heading">Introduction</h2> <p class="wp-block-paragraph">In this…More

Quality Distributed Solution Architecture: Part 3 – Techniques for Early Validation of Architecture and Design

<p class="wp-block-paragraph">In our previous 2 posts we looked at the current state of solution architecture and design, especially how there is no validation against real data until it hits production. </p> <p class="wp-block-paragraph">In this post, we explore various techniques to validate architecture and design beyond thought experiments and architecture councils. Implementing these techniques early in…More

Quality Distributed Solution Architecture: Part 2 – Cost of poor Architecture and Design

<p class="wp-block-paragraph">In our previous post, we delved into the pitfalls of static solution architecture and how it leads to inadequate quality checks until a solution is put into production. In this post, we shift our focus to analyzing the cost and implications of such an approach. The impact of static solution architecture varies with the…More

Quality Distributed Solution Architecture: Part 1 – Static and Untested Architecture drives Outcomes in Current State

<p class="wp-block-paragraph">In the rapidly evolving landscape of technology and business needs, solution architecture plays a pivotal role in aligning IT strategies with business objectives. However, the prevailing approach to <strong>solution architecture and design</strong> is notably <strong>static</strong>, characterized by upfront planning and decision-making. In this 3 part series, we explore the current processes for solution design,…More

Mastering the Dual: Strategic Data Synchronization in Domain API Architecture

<p class="wp-block-paragraph"><strong>Introduction:</strong></p> <p class="wp-block-paragraph">In the intricate tapestry of information systems, Domain APIs emerge as critical enablers of seamless read, command, and event processes. As we continue our exploration of digital transformation in different industry sectors (with insurance domain as our common example), it’s imperative to address the complexities that arise when multiple systems—old and new—coexist,…More

Beyond Read Stores: Handling Commands and Events in Mature Domain APIs

<p class="wp-block-paragraph"><strong>Introduction:</strong></p> <p class="wp-block-paragraph">Domain APIs play a critical role in integration, offering a single point of aggregation for a common view of queries, commands, and events. Domain API implementations can often be poor especially when they are pass-through with no domain logic or just providing pure “read stores”. In this post we talk about how…More

Navigating the Digital Shift: A Playbook for Insurance System Transformation

<h2 class="wp-block-heading">Introduction</h2> <p class="wp-block-paragraph">As the digital age reshapes industries, the <strong>insurance</strong> sector stands at the forefront of a significant transformation. Leading this charge, I am steering a digital transformation program designed to blend the rich heritage of traditional insurance systems with the efficiency and innovation of modern cloud-based technologies. This is a journey of integration…More

The Power of Adapters in Service Architecture:

<p class="wp-block-paragraph">When building a service architecture, understanding the significance of each component is paramount. Among these components, the <strong>Adapter</strong> stands out as an element that often prompts contemplation and inquiry. Questions arise: “Is this additional layer truly necessary?” “Does it introduce undue complexity?” “How does it fit within the overarching structure?” Drawing from extensive experience…More

Modernisation Strategies for Legacy MVC Applications: Beyond the lift and shift with modular architecture and DDD

<p class="wp-block-paragraph">Legacy MVC applications, whether they’re nestled in Java or .NET, have been the backbone of many organizations. Hosted on WebLogic, WebSphere, or other similar containers, these systems have stood the test of time. But as the digital landscape evolves, the question arises: “How do we modernise these stalwarts without losing their essence?” </p> <p…More

Higher ROI with Accelerated Delivery through Business Oriented Modular Service Design Practices

<p class="wp-block-paragraph">Modular services are composable building blocks for rapid application in new and varied business needs and solution contexts. A modular approach promotes accelerated delivery of value (less components to build and release), lower overall operational footprint (as we do not rebuild the same functionality multiple times) and lower operating costs (smaller ops teams, licensing…More

OData vs. REST: The Integration Dance with DataHub

<p class="wp-block-paragraph">In our earlier post, we delved deep into how data hubs, especially when organized by business domains, are revolutionizing the way we handle data. We also touched upon the challenges faced when integrating with a data hub and how consumers ingest this data. If you missed it, give it a read <a href="https://alok-mishra.com/2023/01/10/data-platforms-need-integration/">here</a&gt;. Today,…More

Signal Over Noise: Best Practices in Event-Driven Architecture Design

<p class="wp-block-paragraph">As <strong>event-driven </strong>platform take off ✈️ with modern integration practices such as <strong>data-in-motion</strong>, organisations are <strong><em>integrating</em> <em>significantly large number</em> of data and event streams</strong> 📈 without <strong>deliberate and up front design</strong> these growing streams are contributing to <strong>noise, complexity and coupling leading to</strong> higher implementation (CAPEX) and operating (OPEX) costs. In this post we…More

Modernising Systems: Applying Domain Driven Design (DDD) for modern software re-achitecture

<p class="wp-block-paragraph">In this post we focus on modernisation focussed on monolithic databases</p> <p class="wp-block-paragraph">Data stores within an organisation can over time grow in complexity especially as engineers/database admins and business look to use the same data store in multiple ways for cost-effective solutions. We find that organisations optimise for cost by using common data stores…More

Microservices Boundaries and Cross-Cutting Solutions Problem: How do we stay bounded?

<p class="wp-block-paragraph">One huge problem with building microservices is how they are used in new solutions without gradually turning the shiny, separated, autonomous services into slow-to-change, hard-to-regression test, inter-dependent big balls of mud</p> <p class="wp-block-paragraph">There is this temptation to wire things up and make changes to expand our services to <em>fit </em>a new solution, however this…More

Strategic DDD Outcomes: Top Domain model to Team Topologies

<p class="wp-block-paragraph">Over the past couple of years, I have been working with architecture and engineering teams to teach and apply strategic and tactical domain driven design. I will come back with lessons learned in a future post, but this one covers the outcome of these teaching plus consulting engagements for strategic DDD</p> <p class="wp-block-paragraph">Remember, strategic…More

Technology Services Modernization (Part II): Why design-first approach with DDD delivers greater value

<p class="wp-block-paragraph">In the previous post (<a href="https://alok-mishra.com/2022/02/28/3-ways-to-technology-service-modernization/&quot; target="_blank" rel="noreferrer noopener">here</a>) we looked at 3 ways to modernize technology services and concluded the best strategic approach was to start with the why, map business domains, capabilities, services and modernize through good internal practices that make software teams aligned to capabilities, autonomous and therefore nimble to respond…More

Technology Service Modernization (Part I): 3 Approaches to Modernization

<p class="wp-block-paragraph">Welcome to 2022. While I was in a blogging hiatus, my time was spent closing out conversations with business and technology leaders looking to <strong>modernize</strong> their technology solutions as they were looking to adapt them new market needs and challenges. I thought Web3.0 was the big buzz word but it looks like Modernization is…More