• 请不要在回答技术问题时复制粘贴 AI 生成的内容
treexie
V2EX  ›  程序员

使用 pingora 实战反向代理

  •  1
     
  •   treexie · Jul 20, 2024 · 3416 views
    This topic created in 684 days ago, the information mentioned may be changed or developed.

    在使用pingora开发反向代理pingap后,根据开发时遇到的一些问题,从开始创建简易的反向代理到实现多节点 upstream 、多 location 等相关功能实现,整理了以下五篇文章:

    完整的合集地址: https://mp.weixin.qq.com/mp/appmsgalbum?__biz=Mzk0NTcyNzk5MA==&action=getalbum&album_id=3549166916257349632#wechat_redirect

    7 replies    2026-05-05 20:41:01 +08:00
    artiga033
        1
    artiga033  
       Jul 20, 2024 via Android
    op 有对比过 pingora 和其他方案的性能吗,之前找不到合适的 api 网关也是自己用 pingora 搓了一个,不过项目规模都不大没有做过压测,资源占用确实比 nginx 低了很多
    treexie
        2
    treexie  
    OP
       Jul 20, 2024
    只做了简单的测试: http://pingap.io/pingap-zh/docs/performance
    lxcopenwrt
        3
    lxcopenwrt  
       Jul 20, 2024
    是默认自带 GUI 管理界面吗?那还挺高级的,可惜目前对 HTTP3 的支持遥遥无期
    arloor
        4
    arloor  
       Jul 21, 2024 via Android
    我也有用 Rust hyper 手搓过代理,包含正向代理和反向代理。https://github.com/arloor/rust_http_proxy
    treexie
        5
    treexie  
    OP
       Jul 21, 2024
    @lxcopenwrt 是的,内嵌打包了 web 的管理后台。http3 就看 pingora 什么时候支持了
    akin520
        6
    akin520  
       Jul 22, 2024
    终于出实例了,收藏
    xzsljc
        7
    xzsljc  
       May 5
    @arloor 很棒,能否增加 waf 功能,在 eBPF 中就黑白 ip 名单,或者更智能化一点的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4986 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 09:37 · PVG 17:37 · LAX 02:37 · JFK 05:37
    ♥ Do have faith in what you're doing.