Skip to content

Core Banking Platform — Technical Deep-Dive

Core Banking Platform — Technical Deep-Dive

Section titled “Core Banking Platform — Technical Deep-Dive”

The Core Banking Platform is the system of record for all deposit accounts, lending products, customer data, and general-ledger sub-ledger postings across Acme Financial Services.

AttributeDetail
Primary LanguageJava 17 (LTS)
FrameworkSpring Boot 3.2, Spring Data JPA, Spring Security 6
DatabaseOracle 19c RAC (2-node active-active)
DeploymentAKS 1.28, 12 pod replicas (HPA: 8–20), non-PCI cluster
Team Size45 engineers (backend, QA, SRE, data)
SLATier 1 — 99.95 % monthly uptime
RTO / RPO30 min / 0 (synchronous Data Guard)
Repositoryacme-core-banking (monorepo, Gradle multi-module)

The platform was originally deployed in 2008 as a monolithic J2EE application. Between 2020 and 2023, it was re-architected into a modular monolith: a single deployable unit composed of internally decoupled modules (Accounts, Transactions, Interest, Statements, GL) enforced via Java module system boundaries (module-info.java) and package-private visibility.


CategoryProductInternal CodeInterest BearingMin BalanceFDIC Insured
CheckingPersonal CheckingCHK-PERNo$0Yes
CheckingBusiness CheckingCHK-BIZNo$2,500Yes
SavingsStandard SavingsSAV-STDYes — variable$100Yes
SavingsHigh-Yield SavingsSAV-HYDYes — variable (premium tier)$10,000Yes
Money MarketMoney Market AccountMMA-001Yes — tiered$2,500Yes
Certificate of DepositCD (various terms)CD-NNNYes — fixed$1,000Yes
Loan — PersonalPersonal LoanLN-PERN/A (borrower pays)—N/A
Loan — AutoAuto LoanLN-AUTON/A—N/A
Loan — HELOCHome Equity Line of CreditLN-HELOCN/A—N/A
Loan — CommercialCommercial Term LoanLN-COMMN/A—N/A
Loan — CommercialRevolving Credit FacilityLN-REVLVN/A—N/A

Every account progresses through a well-defined set of states:

Application → Approved → Active → Dormant → Closed
↘ Charged-Off (loans only)
StateDescriptionTrigger
APPLICATIONCustomer has submitted an account opening request; pending identity verification and credit check.Customer action or banker initiation
APPROVEDIdentity verified, credit check passed (if applicable), compliance screening cleared.Risk Engine approval response
ACTIVEAccount is open for transactions.First deposit posted or loan funded
DORMANTNo customer-initiated transactions for 12 consecutive months (deposit) or 90 days past due (loan).Nightly batch dormancy check
CLOSEDAccount closed at customer request, zero balance, or regulatory action.Customer request / bank action
CHARGED_OFFLoan written off as uncollectible after 180 days past due (consumer) or 90 days (commercial).Nightly batch charge-off evaluation
  1. Initiate — Customer or banker submits an application via the API (POST /v1/accounts/applications).
  2. Identity Verification — The platform calls the Risk Engine synchronously to perform CIP (Customer Identification Program) checks: Experian Precise ID, Equifax, OFAC SDN list.
  3. Credit Decision — For lending products, the Risk Engine returns a credit score and approval/decline/refer decision.
  4. Compliance Screening — AML/KYC screening against Refinitiv World-Check. Results are persisted and auditable.
  5. Account Provisioning — On approval, the Accounts module creates the account record, assigns an account number (Luhn-checked, branch-prefixed), and initializes the GL sub-ledger entries.
  6. Notification — A banking.account.opened Kafka event is published; downstream consumers (Wealth Portal, Data Warehouse, Regulatory Reporting) react asynchronously.

All monetary movements are recorded as double-entry journal postings. Every transaction debits one or more accounts and credits one or more accounts by equal amounts. The system rejects any posting batch that does not balance to zero.

TypeCodeDescription
DebitDBTWithdrawal, purchase, fee assessment
CreditCRDDeposit, incoming transfer, interest credit
Internal TransferXFRMovement between two Acme accounts
Wire TransferWIROutbound or inbound wire (Fedwire/SWIFT)
Interest AccrualINTDaily accrued interest posting
FeeFEEMonthly maintenance fee, overdraft fee, wire fee
AdjustmentADJOperational or regulatory correction
ReversalREVFull or partial reversal of a prior posting
Initiate → Validate → Screen → Authorize → Post → Notify
StepDescriptionLatency Budget
InitiateAPI receives the transaction request; assigns a UUID v7 transaction ID.—
ValidateSchema validation, account status check, currency check, duplicate detection (idempotency).< 5 ms
ScreenSynchronous call to Risk Engine for real-time AML/fraud screening.< 100 ms
AuthorizeBalance sufficiency check (with hold consideration), daily/transaction limit checks, dual-authorization for high-value transactions.< 20 ms
PostDouble-entry journal entries written to TRANSACTIONS table within a single Oracle transaction; account balances updated atomically.< 25 ms
NotifyKafka event banking.transaction.posted published; triggers downstream processing (statements, data warehouse, notifications).Async

Every transaction request must include an Idempotency-Key header containing a UUID v7. The platform maintains a deduplication window of 72 hours using a database-backed idempotency table. If a duplicate key is received within the window, the original response is replayed without re-executing the transaction.

Account balance updates use optimistic locking (JPA @Version column) to avoid database-level row locks during high-concurrency scenarios. On version conflict, the transaction is retried up to three times with exponential backoff before returning HTTP 409 Conflict.


The EOD batch runs nightly from 11:00 PM to 4:00 AM Eastern Time. The batch window is protected by an operational freeze: no deployments or infrastructure changes are permitted during this period.

OrderJobDescriptionTypical Duration
1Interest AccrualCalculate and post daily interest for all interest-bearing accounts45 min
2Fee AssessmentAssess monthly maintenance fees, overdraft fees (on applicable cycle dates)15 min
3Dormancy CheckFlag accounts with no customer-initiated activity for 12+ months10 min
4Charge-Off EvaluationEvaluate past-due loans for charge-off eligibility10 min
5Statement GenerationGenerate monthly statements for accounts on their statement cycle date90 min
6GL AggregationAggregate sub-ledger postings into GL summary entries20 min
7Regulatory ExtractsProduce CTR/SAR data feeds, FFIEC extracts30 min
8Data Warehouse FeedFull daily snapshot + incremental CDC catch-up20 min
Total~3.5 hours

All batch jobs are implemented as Spring Batch partitioned step flows with chunk-based processing (commit interval = 500 records). Job metadata is persisted in Oracle, enabling automatic restart from the last committed chunk in the event of failure.

Account CategoryDay Count ConventionCompoundingPosting Frequency
Retail depositsActual/365DailyMonthly
Commercial deposits30/360DailyMonthly
Personal loansActual/365DailyMonthly
Commercial loans30/360DailyMonthly or quarterly (per contract)
CDsActual/365DailyAt maturity or per contract
  • Retail accounts: PDF statements generated via Apache FOP, delivered to online banking portal and optionally mailed (via print vendor API).
  • Commercial accounts: BAI2 (Cash Management Balance Reporting) files generated for electronic delivery to treasury management systems.

Reconciliation ensures that the platform’s internal records agree with external counterparties and the general ledger.

Every posting date, the GL Aggregation batch job compares the sum of individual sub-ledger entries against the expected GL balances. Any discrepancy triggers a RECON_BREAK record and a PagerDuty alert (P2).

For correspondent banking relationships, the Payments Gateway forwards MT940 statement messages received via SWIFT. The reconciliation engine matches expected entries (from Core Banking’s perspective) against the MT940 line items:

  • Auto-match rate: 98 % of entries are matched automatically using transaction reference, amount, and value date.
  • Manual investigation: The remaining 2 % are routed to the Operations team via a reconciliation workbench (internal tool) with an SLA of T+1 for breaks < $10,000 and T+0 (same day) for breaks ≥ $10,000.
Break CategoryAuto-Resolve TargetManual SLAEscalation
Sub-ledger vs. GL100 % autoN/A — auto-correctingP2 alert if delta > $0.01
Nostro/vostro < $10K98 % autoT+1P3 after 24 hrs
Nostro/vostro ≥ $10K98 % autoT+0P2 immediate
Payments settlement99 % autoT+1P2 after 4 hrs

Monthly, the platform produces a GL trial balance extract that is imported into the enterprise ERP (SAP S/4HANA). The Finance team performs a full GL reconciliation with sign-off by the Controller before month-end close.


The following tables represent the core relational model. All tables reside in the CORE_BANKING Oracle schema.

CREATE TABLE CUSTOMERS (
customer_id NUMBER(18) GENERATED ALWAYS AS IDENTITY PRIMARY KEY,
customer_type VARCHAR2(10) NOT NULL CHECK (customer_type IN ('INDIVIDUAL','BUSINESS')),
tax_id_encrypted RAW(256) NOT NULL, -- AES-256 encrypted SSN/EIN
first_name VARCHAR2(100),
last_name VARCHAR2(100),
business_name VARCHAR2(200),
date_of_birth DATE,
cip_status VARCHAR2(20) DEFAULT 'PENDING' NOT NULL,
kyc_risk_rating VARCHAR2(10),
created_at TIMESTAMP DEFAULT SYSTIMESTAMP NOT NULL,
updated_at TIMESTAMP DEFAULT SYSTIMESTAMP NOT NULL,
version NUMBER(10) DEFAULT 0 NOT NULL
);
CREATE TABLE PRODUCTS (
product_id NUMBER(18) GENERATED ALWAYS AS IDENTITY PRIMARY KEY,
product_code VARCHAR2(20) NOT NULL UNIQUE,
product_name VARCHAR2(100) NOT NULL,
product_category VARCHAR2(30) NOT NULL,
interest_bearing CHAR(1) DEFAULT 'N' CHECK (interest_bearing IN ('Y','N')),
day_count_conv VARCHAR2(20), -- 'ACTUAL_365' or '30_360'
is_active CHAR(1) DEFAULT 'Y' NOT NULL,
created_at TIMESTAMP DEFAULT SYSTIMESTAMP NOT NULL
);
CREATE TABLE ACCOUNTS (
account_id NUMBER(18) GENERATED ALWAYS AS IDENTITY PRIMARY KEY,
account_number VARCHAR2(20) NOT NULL UNIQUE,
customer_id NUMBER(18) NOT NULL REFERENCES CUSTOMERS(customer_id),
product_id NUMBER(18) NOT NULL REFERENCES PRODUCTS(product_id),
branch_code VARCHAR2(10) NOT NULL,
status VARCHAR2(20) DEFAULT 'APPLICATION' NOT NULL,
currency VARCHAR2(3) DEFAULT 'USD' NOT NULL,
current_balance NUMBER(18,2) DEFAULT 0 NOT NULL,
available_balance NUMBER(18,2) DEFAULT 0 NOT NULL,
hold_amount NUMBER(18,2) DEFAULT 0 NOT NULL,
opened_date DATE,
closed_date DATE,
last_activity_date DATE,
created_at TIMESTAMP DEFAULT SYSTIMESTAMP NOT NULL,
updated_at TIMESTAMP DEFAULT SYSTIMESTAMP NOT NULL,
version NUMBER(10) DEFAULT 0 NOT NULL
);
CREATE TABLE TRANSACTIONS (
transaction_id NUMBER(18) GENERATED ALWAYS AS IDENTITY PRIMARY KEY,
idempotency_key RAW(16) NOT NULL UNIQUE, -- UUID v7 stored as RAW
account_id NUMBER(18) NOT NULL REFERENCES ACCOUNTS(account_id),
transaction_type VARCHAR2(10) NOT NULL,
direction VARCHAR2(6) NOT NULL CHECK (direction IN ('DEBIT','CREDIT')),
amount NUMBER(18,2) NOT NULL,
currency VARCHAR2(3) DEFAULT 'USD' NOT NULL,
posting_date DATE NOT NULL,
value_date DATE NOT NULL,
description VARCHAR2(500),
reference_id VARCHAR2(50), -- external reference (wire ref, ACH trace)
counterparty_acct VARCHAR2(34), -- IBAN or internal account number
status VARCHAR2(20) DEFAULT 'POSTED' NOT NULL,
gl_code VARCHAR2(20) NOT NULL,
batch_id NUMBER(18),
created_at TIMESTAMP DEFAULT SYSTIMESTAMP NOT NULL,
version NUMBER(10) DEFAULT 0 NOT NULL
)
PARTITION BY RANGE (posting_date) INTERVAL (NUMTOYMINTERVAL(1, 'MONTH')) (
PARTITION p_initial VALUES LESS THAN (DATE '2018-01-01')
);
CREATE TABLE INTEREST_RATES (
rate_id NUMBER(18) GENERATED ALWAYS AS IDENTITY PRIMARY KEY,
product_id NUMBER(18) NOT NULL REFERENCES PRODUCTS(product_id),
tier_min_balance NUMBER(18,2) DEFAULT 0,
tier_max_balance NUMBER(18,2),
annual_rate NUMBER(8,6) NOT NULL, -- e.g., 0.045000 = 4.50%
effective_date DATE NOT NULL,
expiry_date DATE,
created_at TIMESTAMP DEFAULT SYSTIMESTAMP NOT NULL
);
CREATE INDEX idx_txn_account_posting ON TRANSACTIONS (account_id, posting_date) LOCAL;
CREATE INDEX idx_txn_idempotency ON TRANSACTIONS (idempotency_key);
CREATE INDEX idx_acct_customer ON ACCOUNTS (customer_id);
CREATE INDEX idx_acct_status ON ACCOUNTS (status);

The TRANSACTIONS table uses monthly range partitioning on posting_date with Oracle’s interval partitioning feature. New partitions are created automatically as data arrives for a new month.

TablePartition StrategyKey ColumnInterval
TRANSACTIONSRange (interval)posting_dateMonthly
ACCOUNTSListstatus— (Active, Dormant, Closed, Charged-Off)
CUSTOMERSHashcustomer_id16 partitions

Regulatory retention requirements (BSA/AML: 7 years; SEC 17a-4: 6 years) mandate long-term data preservation. The archival pipeline operates as follows:

  1. Monthly, partitions older than 7 years are marked for archival.
  2. Oracle ILM (Information Lifecycle Management) compresses the partition using Advanced Compression (HCC Query High).
  3. Export — Data Pump exports the compressed partition to Azure Blob Storage (Archive tier) as an encrypted .dmp file.
  4. Verification — A checksum comparison confirms integrity before the online partition is dropped.
  5. Catalog — The archive manifest is registered in the Data Warehouse (Snowflake ARCHIVE_CATALOG table) for searchability.

Archived data can be restored to a staging Oracle instance within 4 hours to satisfy examiner or litigation-hold requests.


MetricValue
Average daily transaction volume~2,000,000
Peak daily transaction volume (month-end)~3,500,000
API latency — p50< 50 ms
API latency — p99< 200 ms
EOD batch duration (typical)~3.5 hours
EOD batch duration (month-end)~4.5 hours
Active data volume~15 TB (Oracle)
Annual data growth~2.5 TB
HikariCP connection pool600 connections (across 12 replicas, 50 per pod)
JVM heap per pod4 GB (G1GC, max pause target 200 ms)
spring:
datasource:
hikari:
maximum-pool-size: 50
minimum-idle: 20
idle-timeout: 300000 # 5 minutes
max-lifetime: 1800000 # 30 minutes
connection-timeout: 5000 # 5 seconds
leak-detection-threshold: 60000

With 12 pod replicas, the total maximum connection count is 600 against the Oracle RAC cluster (300 per RAC node). Connection limits are coordinated with the DBA team to remain within Oracle’s configured PROCESSES parameter.


Target SystemDirectionPatternProtocolKey Details
Payments GatewayBidirectionalSync + AsyncREST (balance holds, account lookup) + Kafka (payment-authorized, payment-settled)Core Banking posts debits/credits upon settlement confirmation
Risk EngineOutbound (sync)SynchronousREST (HTTPS)< 100 ms SLA; called during account opening and transaction screening
Regulatory ReportingOutboundDatabase LinkOracle DB Link (read-only against Data Guard standby)Reporting queries isolated from production workload
Wealth Mgmt PortalInboundSynchronousREST (HTTPS)Account balances, transaction history, profile data
Data WarehouseOutboundCDCOracle GoldenGate → Kafka → Snowflake SnowpipeNear-real-time (< 15 min) change data capture for all core tables

Oracle GoldenGate is configured to capture changes from the CORE_BANKING schema and publish them to Kafka topics in Avro format:

  • Extract process reads the Oracle redo log in real time.
  • Replicat process publishes change events to Kafka topics following the naming convention cdc.core-banking.<table>.
  • Schema evolution is managed via Confluent Schema Registry with backward compatibility enforced.
  • Latency target: p99 CDC latency < 15 minutes from Oracle commit to Snowflake availability.

DashboardKey Metrics
Core Banking — API HealthRequest rate, error rate, latency percentiles (p50/p95/p99), HTTP status distribution
Core Banking — Transaction VolumeTransactions per minute, by type, by channel; debit/credit balance
Core Banking — Batch ProgressJob status, step progress, chunk throughput, estimated completion time
Core Banking — DatabaseActive sessions, wait events, tablespace usage, Data Guard lag
AlertConditionSeverity
API error rate > 1 % (5-min window)Sustained HTTP 5xx rateP2
API p99 latency > 500 ms (5-min window)Performance degradationP3
EOD batch not complete by 4:30 AM ETBatch overrunP1
Data Guard apply lag > 30 secondsDR readinessP2
HikariCP active connections > 90 % poolConnection exhaustion riskP3
Reconciliation break > $10,000Financial discrepancyP2

DateAuthorChange
2025-03-15Core Banking EngineeringAnnual refresh; updated to Spring Boot 3.2, AKS 1.28
2024-10-01Core Banking EngineeringAdded GoldenGate CDC integration details
2024-06-15Core Banking EngineeringUpdated Oracle schema DDL with partitioning
2024-01-20Core Banking EngineeringInitial publication