[GH-ISSUE #280] [Performance] Prefix Tree for better matching URLs #276

Open
opened 2026-03-03 19:17:02 +03:00 by kerem · 0 comments
Owner

Originally created by @NghiaTranUIT on GitHub (Sep 16, 2019).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/280

Originally assigned to: @NghiaTranUIT on GitHub.

🐶 Brief

Currently, Proxyman is trying to match URLs to given rules one-by-one, which is bad performance if the list is 100 items. It affects on Blacklist, SSL Proxying List. However, Local Map and Breakpoint doesn't impact since the matching must be top-down approach.

This ticket will try to adopt Prefix Tree (Wildcard support) for matching the URL with given rules in high performance.

👑 Criteria

  • Implement generic Prefix tree (wildcard)
  • Adopt to SSL Proxying and Blacklist
  • Do benchmark
Originally created by @NghiaTranUIT on GitHub (Sep 16, 2019). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/280 Originally assigned to: @NghiaTranUIT on GitHub. ## 🐶 Brief Currently, Proxyman is trying to match URLs to given rules one-by-one, which is bad performance if the list is 100 items. It affects on Blacklist, SSL Proxying List. However, Local Map and Breakpoint doesn't impact since the matching must be top-down approach. This ticket will try to adopt Prefix Tree (Wildcard support) for matching the URL with given rules in high performance. ## 👑 Criteria - [ ] Implement generic Prefix tree (wildcard) - [ ] Adopt to SSL Proxying and Blacklist - [ ] Do benchmark
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Proxyman#276
No description provided.