Technical Architecture Evolution in Financial Software: Capacity, Cost, and AI Engineering Practices

    This article examines how a financial software company's 2024 financial results translate into concrete engineering constraints, and how technical teams can respond. It covers layered capacity design for spiky financial workloads, scaling policies based on queue backlog rather than CPU, a four-layer approach to deploying domain-specific LLM capabilities with retrieval-augmented generation, non-negotiable compliance and observability baselines, and engineering productivity metrics that improve per-capita output. The goal is a measurable, verifiable, and reusable technical agenda that stabilizes delivery, repairs gross margin, and builds differentiation.

    1. What Public Data Reveals About Real Technical Constraints

    A publicly listed financial software company (stock code 600570) disclosed in its 2024 annual report: revenue of RMB 6.581 billion, down 9.62% year over year; net profit attributable to shareholders of RMB 1.043 billion, down 26.75%. Its core business is technical development, consulting, and services for computer software, with 5,676 employees on social insurance records, registered capital of approximately RMB 1.892 billion, and a registered address in Binjiang District, Hangzhou, Zhejiang Province.

    For a technical team, these figures should not be read as financial news. They should be translated into three engineering constraints:

    • Revenue is falling while headcount remains rigid, so output per person must increase. Automation and platformization are no longer “nice to have.”
    • Profit is declining faster than revenue, which means labor and delivery costs make up a large share of the cost structure. The technical side must take responsibility for gross margin recovery.
    • Customers are concentrated in the financial industry, and demand is driven by regulatory and market cycles. Capacity planning must support “extremely high peaks and very long troughs.”

    It is worth stressing that falling revenue does not mean technical investment should shrink at the same rate. The typical cost curve in financial IT is front-loaded R&D spending with lagging revenue recognition. Cutting foundational capability building during a downturn creates a delivery capability gap when the next cycle arrives. The reasonable approach is to adjust the structure of investment, not the total.

    2. Designing for Capacity and Cost Under Demand Volatility

    Financial workloads cluster in time: trading calendars, month-end and quarter-end settlement, and regulatory reporting windows all create spikes. The traditional approach is to provision resources for peak load, which leaves average utilization low for long periods.

    A more robust approach is layered hosting:

    1. Access layer (stateless, elastic scaling)
    2. ↓
    3. Business compute layer (containerized, scaled by queue length)
    4. ↓
    5. Data layer (online/offline separation, read/write splitting)
    6. ↓
    7. Archive layer (low-frequency access data moved to low-cost storage)

    Supporting engineering measures include:

    1. Stateless refactoring. Externalize sessions, caches, and temporary files so instances can be reclaimed and rebuilt at any time.
    2. Asynchronous peak shaving. Put reporting, reconciliation, and notification tasks into message queues, and use consumption rate to control downstream pressure.
    3. Hot/cold tiering. Distribute data across different media based on access frequency to compress long-term storage costs.
    4. Combining elasticity with reservations. Use reserved instances for baseline capacity to ensure stability, and elastic resources as a fallback for peaks.

    An illustrative scaling policy:

    1. scale_policy:
    2. metric: queue_backlog_per_instance # backlog per instance
    3. target: 50
    4. min_replicas: 6 # baseline, protects the settlement window
    5. max_replicas: 40 # peak ceiling
    6. cooldown_seconds: 120 # prevents flapping

    The key point is metric selection. Using CPU utilization as the scaling trigger often fails in financial scenarios, because CPU stays low when request latency is stretched by a downstream database. Using queue backlog and request queuing latency as the primary metrics aligns scaling with the real bottleneck.

    3. A Layered Approach to Industry LLM Capabilities

    In June 2023, the company released LLM capabilities for the financial industry (called LightGPT in the original text). Setting aside the specific product form, deploying an industry model follows a common engineering path with four layers:

    • Data layer: corpora must go through desensitization, de-identification, and permission labeling. Financial text contains large amounts of customer information and transaction details, and un-desensitized corpora entering training or retrieval is the primary risk source.
    • Model layer: general base model + domain continued pre-training + instruction fine-tuning. Domain adaptation should prioritize parameter-efficient fine-tuning to control compute and iteration costs.
    • Retrieval-augmented layer: slice policy documents, product manuals, and API documentation into an index, and use vector retrieval to fill the timeliness gap in model memory. This layer determines how traceable the answers are.
    • Application layer: intelligent Q&A, development assistants, report generation, and compliance pre-review. The default interaction must be “cite the source + human review.”

    A minimum viable implementation of retrieval augmentation typically includes the following steps:

    1. def build_index(docs):
    2. chunks = []
    3. for d in docs:
    4. # 1) Structure-aware splitting that preserves heading hierarchy
    5. for c in split_by_heading(d, max_tokens=512, overlap=64):
    6. # 2) Attach metadata: document version, effective date, classification level
    7. chunks.append(embed(c, meta=extract_meta(d)))
    8. return vector_store.upsert(chunks)
    9. def answer(query, user):
    10. hits = vector_store.search(query, top_k=8,
    11. filter={"level": lte(user.clearance)})
    12. ctx = rerank(hits, query)[:5]
    13. return llm.generate(query, context=ctx, require_citation=True)

    Engineering practice must acknowledge the model’s limits: it is good at summarization and expression, but not at precise calculation or state consistency. Calculations involving amounts, shares, and terms should be done by deterministic code, with the model only organizing language and explaining results.

    4. Compliance, Security, and Observability Cannot Be Deferred

    What makes financial software different is that security is not a feature but an entry condition. A practical minimum compliance baseline:

    • Identity and permissions: unified identity authentication, least-privilege grants, secondary confirmation for sensitive operations, and periodic permission reviews.
    • Data classification: storage and access policies by classification level, with export actions logged.
    • Supply chain security: locked dependency versions, signed build artifacts, and trusted image sources.
    • Change management: all production changes traceable to requirements, code, and approval records.

    Observability should be built around three types of signals, with a clear purpose for each:

    Signal Collection focus Primary use
    Metrics Request volume, latency percentiles, error rate, queue backlog Capacity and alerting
    Logs Structured, with trace identifiers, written to disk after desensitization Problem localization
    Traces Cross-service call topology and latency breakdown Bottleneck attribution

    Alert design should avoid “many alerts but none useful.” A workable rule: set instant alerts only for core paths that affect user-perceivable outcomes, and aggregate the rest into a daily report. Every alert must be bound to a runbook; otherwise it is treated as noise and taken offline.

    5. Engineering Productivity: Making Output per Person Measurable

    Under revenue pressure, productivity improvement is the most direct profit lever. Measure four dimensions rather than only counting lines of code or commits:

    1. Delivery speed: the distribution of cycle time from requirement confirmation to production release (look at the median and the long tail).
    2. Delivery quality: change failure rate, rollback rate, and defect escape rate.
    3. Automation coverage: the proportion of core scenarios covered by automated tests, and the proportion of self-service environment provisioning.
    4. Reuse: the number of modules reusing shared components, and the amount of duplicate work eliminated.

    Supporting practices include unified pipeline templates and environment as code, automated pre-checks in code review, factory-generated test data, and making canary release with fast rollback the default path. Measurement results are used only to improve processes and are not strongly tied to individual performance; otherwise the data quickly becomes distorted.

    6. A Technical Decision Checklist

    For the question of “how much to invest and what to do first,” a sequence of judgments can converge the answer:

    • Does it directly affect revenue recognition or customer acceptance? Highest priority.
    • Does it significantly reduce unit delivery cost? Next.
    • Does it reduce compliance and stability risk? Invest continuously, with no upper limit.
    • Is it technical exploration? Cap the budget and timeline, and set a clear stop-loss point.

    In this order, the pressure reflected by 2024 revenue of RMB 6.581 billion and net profit of RMB 1.043 billion can be turned into a clear technical agenda: first stabilize the delivery and compliance baseline, then use platformization and automation to repair gross margin, and finally build differentiation with industry model capabilities. The value of the technical side lies not in chasing concepts, but in making every unit of investment measurable, verifiable, and reusable.