Skip to content

talhanasir167: sse-assessment#2

Open
talhanasir167 wants to merge 3 commits intoStaunchglobal:mainfrom
talhanasir167:talhanasir167/sse-assignment
Open

talhanasir167: sse-assessment#2
talhanasir167 wants to merge 3 commits intoStaunchglobal:mainfrom
talhanasir167:talhanasir167/sse-assignment

Conversation

@talhanasir167
Copy link

@talhanasir167 talhanasir167 commented Feb 16, 2025

Task-1: Refactor BlogController and Improve CSV Processing

  • Updated the import method in BlogController for better efficiency
  • Utilized Ruby's built-in CSV library for parsing CSV files
  • Added a background job to process records in batches
  • Introduced a service layer to enhance code maintainability and separation of concerns

Task-2: Optimize MemoryLeakJob for Efficient Batch Processing

  • Identified and optimized memory-intensive operations
  • Improved batch processing to handle 100k+ records with minimal memory usage
  • Ensured efficient job execution even when multiple jobs are enqueued
  • Reduced memory footprint by refining batching strategy

Task-3: Refactor UI and remove unused code

  • Updated Employee and Blog page UI for better user experience
  • Refactored application.html.erb using partials for improved code maintainability
  • Removed unused code to enhance performance and readability

- Updated Employee and Blog page UI for better user experience
- Refactored  using partials for improved code maintainability
- Removed unused code to enhance performance and readability
@talhanasir167 talhanasir167 changed the title Task:1 Optimized Blogs Batch import process talhanasir167: sse-assessment Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant