Throttling Issues in Large Scale Web Applications

Real-world performance evaluations, transaction bottlenecks, and modern architectural solutions for high-traffic enterprise systems.

Throttling Issues in Large Web Applications
22 April, 2017
Architecture
Performance Issues

During my consulting work with a large UK enterprise, I was involved in performance evaluation and tuning of a mission-critical, monolithic JEE application operational for over 10 years. This article shares key observations, root causes, and modern architectural solutions for request throttling and system scalability.

Application Architecture Baseline

  • One of the largest enterprise systems of its kind globally (exceeding half a Terabyte in Relational Database storage).
  • Built with EJBs, JPA 2.0, Struts, GlassFish Cluster Server, Linux CentOS, and Oracle JDK 8.

Key Bottlenecks Observed

Even with an aggressively sized thread pool and vertically scaled high-memory hardware, incoming requests queued up at the processing layer, triggering cascading timeouts due to stateful clustering limitations on GlassFish application servers.

Relational database queries took unusually long due to multiple complex joins spanning millions of records, generating heavy lock contention, transaction bottlenecks, and eventual thread exhaustion.

Java Enterprise Application Architecture
TIH IIT Patna Certified

Build Scalable Web Applications with Modern Tech Stacks

Master full stack architecture, Next.js, React, Node.js, and GenAI integration for enterprise-grade scalability.

100% Placement SupportClassroom & Live Online

Investigation & Modern Scalability Solutions

  • Search Engine Indexing: Isolated heavy full-text database queries and migrated search workloads to a dedicated search indexing cluster (Elasticsearch/Solr).
  • Query Optimization & Read Replicas: Refactored frequently executed queries, introduced query caching, and redirected read traffic away from the primary transactional database.
  • Event-Driven Big Data Streaming: Implemented an asynchronous streaming pipeline using Apache Kafka + Apache Flink for real-time telemetry and asynchronous updates.
  • Frontend Decoupling: Migrated from monolithic server-rendered Struts views to modern single-page frontend architecture (Angular / Node.js) with containerized deployment via Docker and Kubernetes.
  • Microservices Decomposition: Split monolithic domains into independently deployable microservices backed by high-performance caching (Redis) and NoSQL stores (MongoDB).
Gireesh Babu

Gireesh Babu

25+ years experienced Senior Technical Architect, TOGAF Enterprise Architecture certified, Oracle Java certified, AI & Big Data mentor and founder at Expertzlab.Read more

Share this post:
TIH IIT Patna• 8 Months

Want the full curriculum & fee structure for Java Full Stack & Microservices?

Includes module-by-module breakdown, project capstones & placement roadmap.

WhatsApp
TIH IIT Patna

Java Full Stack & Microservices

Expert Career Support

Have Any Questions? Talk to an Advisor

Our expert career advisors are available 6 days a week to help you choose the perfect certification program and guide your tech career journey.

Mon - Sat: 9:30 AM - 5:30 PM | Avg response < 5 mins