Senior Python Architect: Performance Engineering for High-Frequency Automation System

Job ID: 40358164

Budget: $30 – $250 USD

**IMPORTANT: Read every word carefully. Automated bids and generic proposals will be permanently ignored.**
We are looking for a Senior Python Automation Architect and Reverse Engineer to take over, refactor, and scale an existing high-performance automation framework. The system is currently functional and handles complex real-time inventory operations, but it requires an architectural overhaul, rigorous stress-testing, and a decoupled GUI for a high-traffic event on **April 23, 2026**.
**The Platform Ecosystem (Webook + Seatcloud):**
To succeed, you must understand the dual-architecture of the target environment:
* **The Inventory Layer (Holding):** The platform embeds a 3rd-party real-time inventory map via an iframe (Seatcloud). When an object is selected, the iframe communicates via raw WebSockets to a backend to "hold" the item for 10 minutes and generates a unique holdToken.
* **The Transaction Layer:** Once inventory is secured, the payload is passed to the parent platform (Webook), which uses REST APIs to generate a checkout URL.
* **Our Objective:** The system bypasses the slow frontend iframe to connect directly to the raw WebSockets, securing up to 30 items in milliseconds, then generates the checkout URLs via API. **Note: Actual payments are processed manually via the generated links.**
**Operational Strategies (System Logic Deep-Dive):**
The framework supports two distinct modes of execution, with a heavy focus on the first for mass-scale drops:
1. **Strategy A: Master/Receiver Distribution (Primary Method):**
* **The Master Node:** A single primary instance connects to the raw WebSockets to monitor and secure bulk inventory (up to 30 units) in one transaction.
* **The State Package:** It creates a transferable "Session Package" containing the full cryptographic session state (JWT, Cookies, and specific Hold Tokens).
* **The Distribution:** This package is instantly serialized and pushed to background "Receiver" instances.
* **Parallel Checkout:** Receivers use the shared state to execute concurrent API calls, generating multiple payment links simultaneously. This allows us to hold 30 items on one account but distribute the checkout process.
2. **Strategy B: Individual Concurrent Mode (Fallback):**
* A standard high-concurrency mode where multiple independent accounts snipe, hold (up to 5 items each), and generate checkout links autonomously.
**Interactive Map & Event Workflow:**
Since we target events with complex seating charts, the system must handle sophisticated selection logic:
* **Category & Tier Prioritization:** Ability to define an ordered list of priorities (e.g., Gold, Silver, Bronze) where the system hunts for the highest tier first.
* **Granular Filtering:** Precise targeting based on specific sections, row labels, or coordinate-based identifiers within the map.
* **Adjacency & Contiguous Logic:** A specialized filter ensuring the system only secures "neighboring/side-by-side" items to keep groups together.
**Technical Stack & Core Module Structure:**
The framework is a high-performance, asynchronous Python 3.13 environment:
* **Stack:** asyncio, curl_cffi (for TLS/JA3 impersonation), orjson (fast serialization), and numpy (for byte-shift decoding of obfuscated server responses).
* **Core Structure:**
* **Socket Management Layer:** Manages persistent, low-latency WebSocket connections and packet multiplexing.
* **API Orchestration Layer:** Handles secure REST requests and JSON response parsing.
* **Distribution Engine:** The main logic for Master/Receiver synchronization and state transfer.
* **TTL & Accumulation Module:** Manages the 10-minute hold window to ensure checkout happens before expiration.
* **Security Pipeline:** An asynchronous flow for solving ReCaptcha V3 and managing token caching/telemetry.
**Project Requirements & Challenges:**
1. **Architectural Stability (Highest Priority):** Refactor the core loop for zero bottlenecks during 100,000+ user traffic spikes. Implement "Graceful Degradation" against sudden server-side file or payload mutations.
2. **The Non-Blocking GUI:** We need a lightweight GUI to manage parameters (Priority, Row filters, etc.) in real-time. **Constraint:** Due to the GIL, the GUI **must** run on an isolated process. It cannot introduce even 1ms of latency to the network loop.
3. **Captcha Optimization:** Implement a smarter pre-solving/caching strategy so tokens are ready in memory the millisecond a challenge is triggered.
**Strict Evaluation Criteria:**
1. **Data-Driven Proof:** You must provide benchmark logs proving your version maintains superior stability and speed under heavy load compared to the current version.
2. **Live Monitoring:** You MUST be available to monitor and run the system live with me during a major drop on **April 23, 2026**.
**How to Apply:**
We are looking for a long-term partner who understands network internals and concurrency. To apply, you must start your proposal with the phrase: **"READY-TO-UPGRADE"**.
In your proposal, please address:
1. How you would architect a GUI to ensure zero interference with a high-concurrency asyncio loop.
2. Your experience with curl_cffi, TLS fingerprinting, and WebSocket reverse-engineering.
**Conclusion:**
This is a sophisticated performance-engineering project. Successfully maintaining this architecture while adding a decoupled GUI and enhancing resilience will lead to a high-value, long-term technical partnership.