P. Apiuth ArunAPIUTH EngineeringArchitecture · Engineering · Innovation

Full-stack engineering · Technical leadership

20 years of engineering. Built through delivery.

From user interfaces and APIs to SQL Server, financial-crime technology and production problem-solving.

Explore my experience
P. Apiuth Arun
P. Apiuth Arun

Enterprise architecture · Microservices · Domain-Driven Design

Software architecture, explained through practice

Architecture grounded in delivery

I connect full-stack application engineering with clear responsibilities, reliable processing and observable production behaviour. My confirmed work includes independently developed application frameworks, configurable UI and APIs, SQL Server performance engineering, custom job scheduling, queues and messaging, and financial-crime platform enhancements.

The microservices and DDD examples below are reference designs for explaining architecture decisions. They do not describe a confidential employer deployment or claim that every illustrated pattern has been implemented in my projects.

Microservices: design around business capability

A microservice owns a cohesive business capability, exposes explicit contracts and can be deployed independently. Boundaries follow domain responsibilities rather than individual tables or technical layers. A bounded context provides a useful starting point; its deployment boundaries still require operational and team analysis.

Financial-crime example

Ingestion validates incoming payment data. Monitoring evaluates eligible transactions against rules. Case Management supports investigation and disposition. These contexts exchange identifiers and documented events while retaining ownership of their internal models and data.

  • Contracts: version APIs and event schemas; avoid exposing persistence entities directly.
  • Data ownership: one service controls writes to its store; use APIs, events or projections for cross-context views.
  • Communication: use synchronous calls when a caller needs an immediate result; use messaging when work can complete asynchronously.
  • Failure handling: design timeouts, bounded retries, duplicate detection and recovery paths before adding more services.

Domain-Driven Design: make the business model explicit

DDD helps teams capture business language and rules in the model. Strategic design defines subdomains, bounded contexts and their relationships. Tactical design organises behaviour inside a context. DDD can support a modular monolith as well as microservices.

ConceptMeaningIllustrative case-management example
Ubiquitous languageTerms shared by engineers and domain expertsAlert, investigation, disposition and closure reason
Bounded contextA boundary in which a model has a consistent meaningA case in Case Management differs from a screening match
EntityAn object with a continuing identityCase identified by CaseId
Value objectAn immutable concept defined by its valuesA validated closure reason or review period
Aggregate rootThe entry point that protects a consistency boundaryCase controls its permitted state transitions
Domain eventA business-significant change within the modelCaseClosed after a valid closure
Repository contractA persistence abstraction for aggregate accessLoad and save a Case without embedding SQL in its rules

A concrete invariant

For this example, a case may close only after review and with a recorded reason. The domain model enforces that rule. The application layer loads the case, invokes its behaviour and coordinates persistence. The API handles transport concerns; the infrastructure layer implements data access. This example rule is illustrative, not a regulatory requirement.

// Illustrative domain behaviour; not production source.
public void Close(string reason)
{
    if (Status != CaseStatus.Reviewed)
        throw new InvalidOperationException("Review is required.");
    if (string.IsNullOrWhiteSpace(reason))
        throw new ArgumentException("A closure reason is required.");
    Status = CaseStatus.Closed;
    ClosureReason = reason.Trim();
    // Record a CaseClosed domain event here.
}

Consistency and reliable integration

Keep aggregate invariants within a local transaction. Cross-service workflows generally need explicit intermediate states and recovery because separate stores do not share one simple local transaction. A transactional outbox can commit business changes and an outgoing event record together; a dispatcher publishes it later. Consumers still need duplicate-safe processing. An outbox alone does not guarantee exactly-once delivery.

Domain events represent model changes inside a context. Integration events are deliberate, externally shared contracts published across contexts. CQRS can separate command handling from read projections where that complexity is useful; it does not require event sourcing or a separate database for every query.

My custom processing architecture

I designed job-table processing that splits work according to machine configuration, uses multitasking during system-idle periods within a scheduled window, and queues pending work when another job is running. Rule-execution and ingestion BOTs use the same automation approach. In a client enterprise data-platform project, product-wise catalogue calculations used similar processing with UI status and percentage-complete progress bars.

This implementation experience is distinct from the reference microservices design. Resource-aware execution and controlled concurrency address workload scheduling; microservices address service ownership and deployment boundaries.

My independently developed enterprise application framework

I designed and developed a reusable framework spanning metadata, application services, Web APIs and user interfaces. The architecture uses shared definitions to support different business screens without rebuilding every record operation for each module.

How the dynamic model works

  1. Define the application model: tables, fields, field groups, attributes and references describe the record structure and its presentation.
  2. Build the screen model: field services assemble column definitions, titles, translations, lookup choices and display behaviour.
  3. Render reusable UI: MVC controllers supply the models to Razor views and JavaScript grid/form components, including search, paging and linked-record navigation.
  4. Process a record: Web API controllers call shared entity services for create, read, update and delete operations. Dynamic records use entity identifiers and field/value bindings; static-table paths are handled separately.
  5. Apply shared behaviour: configured calculations can supply derived field values; translation and lookup services reuse the same metadata context.
  6. Return a consistent response: a common request/result structure connects the UI, API and service layers.

Modules visible in the reviewed source

ModuleImplemented responsibilities
Metadata administrationTable definitions, fields, attributes, field groups and entity listings
Dynamic user experienceReusable grids, record-edit screens, lookup controls, filters and linked records
Identity and navigationUsers, roles, assignments, menus, authentication context and action checks
Rules and calculationsScript execution using entity values and field context; derived record values
Languages and translationsLanguages, phrases, translated labels and translated values
Reporting and outputExcel export, report-related operations, label templates and PDF utilities
Business applicationsTime and attendance, transport operations and administrative screens

What this engineering contribution demonstrates

My work connects a configurable data model to reusable UI, API and persistence paths. Shared services support consistent behaviour across business modules, while the metadata model provides an extension point for screens, fields, translations and calculations. The original technology foundation is C#, .NET Framework, ASP.NET MVC/Web API, Razor, JavaScript/jQuery and SQL Server.

The uploaded source was reviewed statically across project structure, controllers, views, service operations, entities, rules and provider utilities. The diagrams focus on active implementation paths rather than commented-out experiments. This review does not constitute a build, runtime validation or full security audit. Potential modernisation work—async execution, parameterised data access, automated contract tests and stronger configuration validation—should be evaluated separately from the capabilities shown here.

View the complete framework module breakdown

Choosing the right level of architecture

DecisionUseful whenCost to account for
Modular monolithOne deployment and clear internal modules suit team and workload needsPreserve module boundaries as the codebase grows
MicroservicesIndependent releases, ownership or scaling justify service boundariesNetwork failure, distributed consistency and operational overhead
Rich DDD modelBusiness rules and state transitions are complexModelling effort; simple CRUD may need a simpler approach
Asynchronous messagingBuffering, deferred work and loose coupling are valuableDuplicates, ordering, lag and recovery operations

Production engineering considerations

  • Security: authorise each service operation; protect secrets and minimise sensitive data in logs and events.
  • Observability: correlate requests and jobs; track queue age, throughput, processing duration and failure reasons.
  • Performance: bound parallelism, examine SQL plans, measure contention and avoid moving a bottleneck into a shared store.
  • Quality: unit-test domain rules using Arrange–Act–Assert; use integration tests for persistence and contracts.
  • Delivery: version schemas, plan compatible migrations and define deployment rollback and recovery.

Engineering approach and further reading

My delivery experience includes Azure, Azure DevOps and AWS EC2/RDS. Cloud-native orchestration, advanced distributed-systems patterns and their operational validation remain part of my ongoing professional development. Architecture decisions should state the context, alternatives, trade-offs and evidence required to revisit the choice.

Explore my enterprise application framework · View engineering contributions · Read technical articles

Reference material: Microsoft Azure Architecture Center: microservices and tactical DDD. Examples and diagrams on this page are independently written.

Microservices: boundaries and event flow

Illustrative financial-crime architecture. Each service owns its data and publishes versioned integration events. Arrows show communication, not shared database access.

Microservices: boundaries and event flowIngestion service: Validate and normalise payment data. Monitoring service: Evaluate rules and create alerts. Case service: Investigation and case lifecycle. Event broker: Delivery, buffering and replay policyIngestion serviceValidate and normalise payment dataMonitoring serviceEvaluate rules and create alertsCase serviceInvestigation and case lifecycleEvent brokerDelivery, buffering and replay policy
Read diagram connections
  • Ingestion service → Event broker: Publish TransactionIngested
  • Event broker → Monitoring service: Consume transaction events
  • Monitoring service → Event broker: Publish AlertRaised
  • Event broker → Case service: Consume alert events

DDD inside a service

Illustrative Case Management context. Source dependencies point toward the domain. Infrastructure implements repository contracts; it does not define business rules.

DDD inside a serviceAPI / presentation: Validate transport and authorisation. Application layer: Coordinate the CloseCase use case. Domain model: Case aggregate enforces invariants. Infrastructure: Repository and event adapters. Service-owned SQL store: Transactions and concurrency checksAPI / presentationValidate transport and authorisationApplication layerCoordinate the CloseCase use caseDomain modelCase aggregate enforces invariantsInfrastructureRepository and event adaptersService-owned SQL storeTransactions and concurrency checks
Read diagram connections
  • API / presentation → Application layer: Map request to application command
  • Application layer → Domain model: Invoke business behaviour
  • Infrastructure → Domain model: Implement domain repository contract
  • Infrastructure → Service-owned SQL store: Persist aggregate state

Custom job processing: the execution path

A conceptual view of my confirmed processing work: jobs are registered, checked against the scheduling window and system availability, then split by machine configuration. Pending work waits in the queue when another job is running.

Custom job processing: the execution pathJob table: Register pending processing work. Scheduling and availability: Check window and idle state. Pending queue: Wait while another job runs. Machine-aware task split: Size subprocesses for the machine. Multitasking execution: Rule-execution and ingestion BOTs. Status and progress UI: Product catalogue completion %Job tableRegister pending processing workScheduling and availabilityCheck window and idle statePending queueWait while another job runsMachine-aware task splitSize subprocesses for the machineMultitasking executionRule-execution and ingestion BOTsStatus and progress UIProduct catalogue completion %
Read diagram connections
  • Job table → Scheduling and availability: Consider eligible pending work
  • Scheduling and availability → Pending queue: Defer when busy or outside the window
  • Pending queue → Job table: Reconsider at a later eligible check
  • Scheduling and availability → Machine-aware task split: Proceed when idle and within window
  • Machine-aware task split → Multitasking execution: Execute subprocesses
  • Multitasking execution → Status and progress UI: Show product-calculation status

My framework: metadata to application

Code-derived conceptual view of my reusable enterprise application framework. MVC/Razor screens call Web API endpoints; shared services interpret table and field metadata and use a data-provider layer. This is a layered application design, not a claim of independently deployed microservices.

My framework: metadata to applicationMVC / Razor UI: Reusable grids, forms and lookups. Web API controllers: Request and result contracts. Shared application services: Entity operations and orchestration. Metadata definitions: Tables, fields, groups, attributes. Rules and translations: Calculated values and language data. Database provider: Command execution and data readers. SQL Server data: Metadata, entities and value bindingsMVC / Razor UIReusable grids, forms and lookupsWeb API controllersRequest and result contractsShared application servicesEntity operations and orchestrationMetadata definitionsTables, fields, groups, attributesRules and translationsCalculated values and language dataDatabase providerCommand execution and data readersSQL Server dataMetadata, entities and value bindings
Read diagram connections
  • MVC / Razor UI → Web API controllers: Request columns, records and record operations
  • Web API controllers → Shared application services: Dispatch operations to common services
  • Shared application services → Metadata definitions: Resolve table and field configuration
  • Shared application services → Rules and translations: Apply calculation and translation behaviour
  • Shared application services → Database provider: Execute persistence operations
  • Database provider → SQL Server data: Read metadata and persist application values

Dynamic screen and record lifecycle

Two connected paths from the reviewed source: configuration supplies the screen model, and submitted field values pass through shared record operations. The diagram is simplified; it does not assert universal validation, transactional guarantees or modern security certification.

Dynamic screen and record lifecycleResolve table and fields: Load attributes and references. Build column model: Labels, field types and lookups. Render reusable screen: Grid, search and record editor. Submit record operation: Table context and field values. Resolve entity identity: Create entity or update existing. Run configured calculations: Combine submitted and derived values. Persist and return result: Value bindings and common responseResolve table and fieldsLoad attributes and referencesBuild column modelLabels, field types and lookupsRender reusable screenGrid, search and record editorSubmit record operationTable context and field valuesResolve entity identityCreate entity or update existingRun configured calculationsCombine submitted and derived valuesPersist and return resultValue bindings and common response
Read diagram connections
  • Resolve table and fields → Build column model: Interpret field configuration
  • Build column model → Render reusable screen: Provide the UI model
  • Render reusable screen → Submit record operation: User creates or edits a record
  • Submit record operation → Resolve entity identity: Resolve operation and entity
  • Resolve entity identity → Run configured calculations: Evaluate configured rules
  • Run configured calculations → Persist and return result: Store resulting field values