Add architecture comparison document (ARCHITECTURE.md)#74
Add architecture comparison document (ARCHITECTURE.md)#74
Conversation
…EADME Agent-Logs-Url: https://github.com/GetPageSpeed/MTProxy/sessions/65754b83-5613-4261-ab5d-c0416559aebc Co-authored-by: dvershinin <250071+dvershinin@users.noreply.github.com>
Agent-Logs-Url: https://github.com/GetPageSpeed/MTProxy/sessions/65754b83-5613-4261-ab5d-c0416559aebc Co-authored-by: dvershinin <250071+dvershinin@users.noreply.github.com>
|
@copilot how to address "Single-threaded per worker — cannot utilise multiple cores within one process without forking." In existing codebase? Or it can be considered not a weakness ? |
…xy pattern) Agent-Logs-Url: https://github.com/GetPageSpeed/MTProxy/sessions/68f7b7d7-f15d-42f0-a2a2-a6047c79cdce Co-authored-by: dvershinin <250071+dvershinin@users.noreply.github.com>
It's not a weakness — it's the same proven architecture used by nginx and HAProxy. For an I/O-bound proxy workload, single-threaded Moved it from "Weaknesses" to "Strengths" with this context in |
Compares architecture, performance, safety, and language trade-offs across the four main MTProxy implementations (original C, this fork, mtg/Go, telemt/Rust). Recommends a winning architecture direction.
ARCHITECTURE.mdio_uringfor new builds; pragmatic recommendation to continue hardening the C codebase via its CI pipeline (ASan, libFuzzer, CodeQL, Telethon E2E) until a rewrite is justifiedREADME.mdARCHITECTURE.mdfrom the existing "How This Fork Compares" section.gitignore!ARCHITECTURE.mdexception (existing rule excludes*.mdexcept shipped docs)Original prompt
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.