Spaces:
Running
Running
|
Download docs/queue.md from hari7775/resume-server: direct link, hf CLI and curl.
- Browser
- Download file 1.93 kB
-
https://huggingface.co/spaces/hari7775/resume-server/resolve/main/docs/queue.md
- Command line
-
hf download hf://spaces/hari7775/resume-server/docs/queue.md
-
curl -L -o queue.md https://huggingface.co/spaces/hari7775/resume-server/resolve/main/docs/queue.md
1.93 kB
| # System Status: Queue Tracking & Dependency Optimization Complete | |
| Both the **Resume Parser** and **Resume Generator** backends are now fully secured, optimized, and deployed live with real-time queue position tracking. | |
| --- | |
| ## What Was Completed | |
| ### 1. Real-Time Server Queue Tracking & UI | |
| - **Accurate Backlog Calculation**: Built dynamic queue position calculation on the server (`queue.size + 1` backlog tracking in [`index.js`](file:///e:/HireChart/working/backend/generator/index.js)). | |
| - **Modal UI Live Badge**: Updated [`ExportModal.tsx`](file:///e:/HireChart/working/frontend/src/components/preview/ExportModal.tsx) to display: | |
| - `[ π‘ In Server Queue (Position #X) ]` when waiting in queue. | |
| - `[ π΅ Active Queue Slot #1 (Processing PDF...) ]` when actively rendering. | |
| - Real-time progress bar. | |
| - **Stress-Tested with 100 Jobs**: Confirmed live queue positions (`#5`, `#14`, `#24`, `#29`, `#34`, `#52`) advancing in sequence under real concurrent traffic. | |
| ### 2. Generator Dependency Cleanup | |
| - Removed unused packages (`react`, `react-dom`, `chromium-bidi`) from [`package.json`](file:///e:/HireChart/working/backend/generator/package.json). | |
| - Reduced Docker build size and memory footprint on Hugging Face Spaces. | |
| ### 3. Architecture Summary | |
| ``` | |
| Frontend (https://hirechart.netlify.app) | |
| β | |
| βββ Resume Parser (Spring Boot - Java 17) | |
| β βββ CORS: Restricted to Netlify | |
| β βββ Firebase Auth: Bearer Token Check (Free, local cryptographic check) | |
| β βββ Guest 2-Try Limit: Enforced on LocalStorage & Server | |
| β | |
| βββ Resume Generator (Express + Puppeteer - Node.js) | |
| βββ CORS: Restricted to Netlify | |
| βββ Firebase Auth: Bearer Token Check & 2-Try Guest Limit | |
| βββ RAM Cache: Instant 0ms re-downloads for identical hashes | |
| βββ P-Queue: Live position tracking (#1, #2, etc.) & concurrency protection | |
| ``` | |