Skip to content

Local gateway / SOCKS5 in Golang#42

Open
liamzebedee wants to merge 3 commits intomasterfrom
go-gateways
Open

Local gateway / SOCKS5 in Golang#42
liamzebedee wants to merge 3 commits intomasterfrom
go-gateways

Conversation

@liamzebedee
Copy link
Collaborator

This improves the performance of Dappnet, namely:

  • rewrite of the v1 local-gateway and socks5-proxy from JS into Go
  • much better parallelization/performance:
    • 1 - the socks5 proxy was probably broken in some way. it had a memory leak, and generally wasn't robust code. this caused some issues with loading multiple sites at once.
    • 2 - golang is generally faster than JS, it's compiled to machine code (arm/amd64), and qualitatively I found it easier to build HTTP servers with with more robust logic around handling bytes.
Screen Shot 2023-10-04 at 2 14 08 am Screen Shot 2023-10-04 at 2 14 10 am

* much faster loading of apps
* parallelization works now, doesn't fail (socks5 had memory leak etc)
@liamzebedee liamzebedee added the enhancement New feature or request label Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant