Architecture
Systems, drawn as decisions.
Three case studies from my data, modernization, and AI work. Client details are withheld; these describe the patterns used.
Case study
Enterprise Data Platform
The Databricks data engineering and reconciliation platform from my current role at Tekizma: incremental ingestion, governed data products, and an AI agent for exception investigation.
- Problem
- Operational data needed a path to analytics and applications that could be checked, reused, and explained when numbers disagreed.
- Approach
- Auto Loader and Lakeflow ingest data incrementally. PySpark, SQL, and dbt model it, orchestrated by Databricks Workflows. Reconciliation is a first-class flow of mappings, rules, exceptions, and controls, and an AI agent investigates exceptions for analyst approval. Unity Catalog governs the data products, including natural-language access.
- Outcome
- Improved reconciliation accuracy by 50% through automated validation, standardized exception handling, and AI-assisted exception investigation.
- Databricks
- Auto Loader
- Lakeflow
- Delta Live Tables
- Databricks Workflows
- Unity Catalog
- PySpark
- SQL
- dbt
- Langfuse
- GitHub Actions
Decisions, trade-offs, and security
Design decisions
- Treat validation and reconciliation as architecture, not as a spreadsheet after the pipeline.
- Let an AI agent investigate exceptions and recommend fixes, but keep the analyst as the one who approves them.
- Keep source-to-target mappings explicit so an exception has a place to land.
Trade-offs
- A managed lakehouse concentrates compute and cost, so both have to be watched.
- Spark and SQL skills both have to exist on the team.
- More control in dbt means less freedom for ad-hoc notebook logic.
Security
Unity Catalog governs data access, and agent runs are traced and evaluated in Langfuse.
Scalability
Incremental ingestion with Auto Loader and Lakeflow, and orchestration on Databricks Workflows, make volume a platform concern rather than a single job.
Diagram: Enterprise data platform
Source systems
Operational sources
Ingestion
Auto Loader and Lakeflow
Transformation
PySpark and dbt
Validation
Data quality controls
Reconciliation
Reconciliation controls
Data modeling
PySpark, SQL, and dbt
Exception investigation
AI reconciliation agent
Data products
Governed in Unity Catalog
Analytics and applications
Downstream use
Step by step
- 1
Source systems · Operational sources
Systems of record that the platform does not replace.
- 2
Ingestion · Auto Loader and Lakeflow
Incremental ingestion that lands data with enough lineage to trace a later exception.
- 3
Transformation · PySpark and dbt
Reusable transformation, not one-off notebooks as the only contract.
- 4
Validation · Data quality controls
Rules, exceptions, and source-to-target checks.
- 5
Reconciliation · Reconciliation controls
Source-to-target mappings, data quality and validation rules, exception handling, and reconciliation controls across ingestion and transformation.
- 6
Exception investigation · AI reconciliation agent
An agent correlates pipeline failures with mappings and runbooks and recommends fixes for analyst approval, traced and evaluated in Langfuse.
- 7
Data modeling · PySpark, SQL, and dbt
Models shaped for reuse, not only for a single report, orchestrated with Databricks Workflows.
- 8
Data products · Governed in Unity Catalog
Reusable assets with governed access that other teams can consume without recopying the pipeline.
- 9
Analytics and applications · Downstream use
Analytics and applications that read the products.
Case study
Legacy Application Modernization
The modernization of a legacy Spring/JSP enterprise application into a cloud-native platform, led in my current role at Tekizma with AI-Driven Development Life Cycle practices.
- Problem
- A server-page enterprise application had become hard to change, hard to integrate, and hard to deploy as a set of independent pieces.
- Approach
- Decompose the legacy application, put a REST API layer in front of Spring Boot services, move the interface to Angular, and keep a relational model with Hibernate and MySQL, with Redis for caching. It runs on AWS across EC2, ECS/Fargate, and Lambda, containerized with Docker, provisioned with Terraform, delivered through AWS CodePipeline, and observed end to end with OpenTelemetry, Datadog, Splunk, and CloudWatch.
- Outcome
- Accelerated engineering productivity using Claude Code, Agentic AI, MCP, and RAG to streamline code development, enable intelligent workflows, and improve contextual access to enterprise knowledge.
- Spring Boot
- Angular
- REST
- Hibernate
- MySQL
- Redis
- Docker
- Terraform
- AWS CodePipeline
- OpenTelemetry
- Datadog
- Splunk
- ECS/Fargate
- Lambda
Decisions, trade-offs, and security
Design decisions
- Replace page-coupled JSP rendering with an API contract.
- Give services a Spring Boot boundary so deployment and testing can move with the component.
- Keep a relational database the domain already understood, rather than inventing a new store for its own sake.
Trade-offs
- An incremental migration is slower than a rewrite and safer than one.
- REST is explicit and cacheable, and it is chatty if the contract is naive.
- Angular and Spring Boot split the team’s skills. That is accepted so the UI and the services can change apart.
Security
VPC networking, ALB/NLB, and CloudFront at the edge, with IAM, KMS, Secrets Manager, Cognito, and WAF as security controls.
Scalability
Separating UI, API, and services lets each scale and deploy on its own across ECS/Fargate, EC2, and Lambda.
Diagram: Legacy application modernization
Legacy
Spring / JSP
Decomposition
Bounded components
REST API layer
REST contracts
Spring Boot services
Spring Boot, Hibernate
Angular UI
Angular
Data
MySQL, Redis
AWS
ECS/Fargate, EC2, Lambda
Step by step
- 1
Legacy · Spring / JSP
The starting estate: a Spring/JSP enterprise application.
- 2
Decomposition · Bounded components
Break the legacy surface into components that can move independently.
- 3
REST API layer · REST contracts
A stable API boundary between clients and services.
- 4
Spring Boot services · Spring Boot, Hibernate
Services that own a business capability and a persistence model.
- 5
Angular UI · Angular
A client that talks to the API instead of rendering on the server page.
- 6
Data · MySQL, Redis
The relational store for the modernized application, with Redis for caching.
- 7
AWS · ECS/Fargate, EC2, Lambda
The cloud target: containers built with Docker, infrastructure in Terraform, delivery through AWS CodePipeline, and IAM, KMS, Secrets Manager, Cognito, and WAF for security.
Case study
Agentic AI in the Application
AI-powered capabilities inside the modernized application at Tekizma: agentic workflows on Amazon Bedrock AgentCore, MCP integration, and RAG, built through AI-Driven Development Life Cycle practices.
- Problem
- Users and business processes needed intelligent, task-oriented help inside the application, without giving AI agents uncontrolled access to enterprise systems.
- Approach
- Agentic AI on Amazon Bedrock AgentCore runs task-oriented workflows integrated with enterprise application services and business processes. Agents reach application tools, APIs, and enterprise services through the Model Context Protocol's controlled, standardized interfaces. RAG workflows over an enterprise knowledge base supply contextual responses. The capabilities are built through AIDLC practices, with structured human review and quality gates from requirements to validation.
- Outcome
- Accelerated engineering productivity using Claude Code, Agentic AI, MCP, and RAG, with intelligent workflows and better contextual access to enterprise knowledge.
- Agentic AI
- Amazon Bedrock
- AgentCore
- Strands Agents
- MCP
- RAG
- Bedrock Knowledge Bases
- Claude Code
Decisions, trade-offs, and security
Design decisions
- Integrate agents with application services through MCP rather than bespoke connections.
- Ground responses in enterprise knowledge retrieval rather than in the model alone.
- Put structured human review and quality gates into each AIDLC stage, from requirements to validation.
Trade-offs
- Retrieval quality caps answer quality, and a richer knowledge base costs more to keep current.
- Bedrock AgentCore speeds up delivery and adds a platform dependency. That trade has to be made deliberately.
- Human review and quality gates slow the fastest path to release. That friction is intentional.
Security
Agents interact with tools, APIs, and enterprise services only through MCP's controlled, standardized interfaces.
Scalability
New tools and services join through MCP without changing each agent.
Diagram: Agentic AI in the application
Business task
User or business process
AI agent
Amazon Bedrock AgentCore
Enterprise knowledge
RAG knowledge base
Tool interfaces
Model Context Protocol
Enterprise services
Application APIs and processes
Step by step
- 1
Business task · User or business process
A task-oriented request from a user or a business process inside the application.
- 2
AI agent · Amazon Bedrock AgentCore
Agentic AI that plans and carries out an intelligent, task-oriented workflow.
- 3
Enterprise knowledge · RAG knowledge base
Enterprise knowledge retrieval for contextual responses and information access.
- 4
Tool interfaces · Model Context Protocol
Controlled, standardized interfaces to application tools, APIs, and enterprise services.
- 5
Enterprise services · Application APIs and processes
The application services and business processes the workflow is integrated with.
Decision notes
The reasoning behind two choices that recur in this work.
Why Databricks?
Context
The current data platforms need ingestion, transformation, modeling, orchestration, validation, and products that more than one team can reuse. Reconciliation needs a place to run rules and exceptions at volume.
Decision
Use Databricks as the processing platform, with Auto Loader and Lakeflow for incremental ingestion, PySpark and SQL for data-intensive transformation, dbt for reusable, reviewable models, and Unity Catalog for governance.
Alternatives considered
- Leave transformation inside the operational database.
- Use a warehouse SQL path only, with no Spark processing layer.
- Run unmanaged Spark without a shared workspace for orchestration and collaboration.
Trade-offs
- Databricks concentrates cost and skills. Both have to be governed.
- dbt improves reuse and review, and it is a poor fit for every low-level Spark transformation. PySpark remains for that work.
- A managed platform shortens the path to orchestration and raises a dependency on that platform.
Outcome
Reconciliation accuracy improved by 50% through automated validation, standardized exception handling, and AI-assisted exception investigation.
Why REST and Spring Boot?
Context
A Spring/JSP application needed a structure that could be integrated, tested, and deployed in parts. The longer application practice is multi-tier systems on Spring Boot, Angular, REST, and AWS.
Decision
Decompose the legacy application behind REST APIs implemented as Spring Boot services, with an Angular client, Hibernate, MySQL, and AWS as the target.
Alternatives considered
- Continue rendering the enterprise UI as JSP inside the same deployable.
- Expose integration only through the existing page flows.
- Replace the relational model at the same time as the application structure.
Trade-offs
- REST makes the contract visible and makes chatty designs obvious.
- Spring Boot standardizes service structure and adds framework weight.
- Moving the UI to Angular separates release cadence and splits the skills a squad needs.
- Keeping MySQL avoids a data-platform rewrite inside an application rewrite.
Outcome
Better scalability, maintainability, deployment automation, and cleaner integration.