hyperioxx / frontman

Frontman is an open-source API gateway written in Go that allows you to manage your microservices and expose them as a single API endpoint. It acts as a reverse proxy and handles requests from clients, routing them to the appropriate backend service.

Home Page:https://frontman-labs.github.io/frontman/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove redundant lockings if possible

amityahav opened this issue · comments

see if we could remove redundant sync lockings for better performance without creating data racing so this needs to be checked and could be with race detection go supports

@amityahav Tried switching to use a sync.Map instead but i feel like i got worse performance from doing so. Will test again

@hyperioxx as for the clients map I think we can get rid of it's locks as suggested in the other issue #97 (review)