V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
treexie
V2EX  ›  程序员

使用 pingora 实战反向代理

  •  1
     
  •   treexie · Jul 20, 2024 · 3298 views
    This topic created in 654 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

    6 replies    2024-07-22 10:43:07 +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
    终于出实例了,收藏
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2528 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 53ms · UTC 05:22 · PVG 13:22 · LAX 22:22 · JFK 01:22
    ♥ Do have faith in what you're doing.