In production PHP 8.4 & Laravel 12 (Real-Time), what is the primary engineering purpose of 'WebSockets vs Long Polling vs Server-Sent Events (SSE)'?
- A. Pick the simplest reliable real-time protocol for chat, live test timers, and streaming logs.
- B. Hardcoding plaintext production database credentials, API secrets, and root keys inside Git repositories.
- C. Deploying unverified changes directly to live production without automated tests or rollback plans.
- D. Bypassing authentication, input validation, and TLS encryption across internal API endpoints.
✓ Reveal Answer & Explanation
Correct Answer: Option A
'WebSockets vs Long Polling vs Server-Sent Events (SSE)' is used in production Real-Time specifically for: Pick the simplest reliable real-time protocol for chat, live test timers, and streaming logs.