TGViewer
FolkPatch/Aster FolkPatch/Aster @folkpatch · 11.4K subscribers
Post #803 7.2K
为应对用户规模的快速增长,FolkPatch 后端已圆满完成架构重写与迁移。核心技术栈从 PHP 转型为高性能的 Go 语言,显著提升了高并发场景下的处理能力。

针对存量用户的兼容性需求,我们并未采用常规的 Nginx 重写方案,而是开发并集成了 phpCompatRedirect 中间件。该中间件实现了对旧版 .php 接口的透明代理与协议转换,确保旧版本 App 在无需更新的情况下,仍能无缝接入全新的 Go 后端服务。
To address the rapid growth of our user base, the FolkPatch backend has undergone a comprehensive architectural rewrite and migration. The core technology stack has transitioned from PHP to Go, significantly enhancing its processing capabilities in high-concurrency scenarios.

To maintain support for our existing user base, we bypassed traditional Nginx rewrite methods in favor of a custom-developed phpCompatRedirect middleware. This middleware enables transparent proxying and protocol translation for legacy .php endpoints. As a result, older versions of the app can seamlessly interface with the upgraded Go backend without requiring a client-side update.
  • ❤ 9
  • 👏 3
  • 👍 2
  • 🔥 2
  • 🥰 1
  • 🤔 1
More from @folkpatch
  1. Oct 9, 2026对齐了主题系统的能力,和修改内核源码应对新的监测点 Aligning the capabilities of the theme system and modifying the…
  2. Oct 8, 2026FolkSU Preview pre6 Released (FolkPatch Themed System) 1. Added a dynamic manager solution…
  3. Oct 7, 2026FolkSU pre-release version 2 has been pushed, supporting direct import and use of FolkPatc…
  4. Oct 7, 2026https://t.me/FolkSU_Dev
  5. Oct 4, 2026photo post
  6. Oct 4, 2026FolkPatch V6 · Sol —— 更新要点 1. 全面升级 Material 3 Expressive,界面第一次真正有了生命感 2. 全新「壁纸图鉴」在线画廊:海量高清…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →