Posts

Showing posts from February, 2026

My Challanging Work

Image
  Challenging work i have done in my previous project ✅ 1️⃣ One-minute interview explanation (you can speak this) “We were reading millions of records from one system and inserting them into another database. Initially, we faced performance issues and OutOfMemoryError because the entire data was loaded into memory. To solve this, I implemented batch processing with multithreading. I processed records in chunks of 1000, performed transformation, inserted them into the database, cleared memory, and then processed the next batch. This made the system memory-efficient and scalable public void processLargeData(List<String> records) {         for (int i = 0; i < records.size(); i += BATCH_SIZE) {             int end = Math.min(i + BATCH_SIZE, records.size());             List<String> batch = records.subList(i, end);...