You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used a dynamic route to deal with all the apis, the project is no problem, I want to ask is, dynamic routing in addition to a bit of performance loss, concurrency problems?
The text was updated successfully, but these errors were encountered:
@biancheng347 I think dynamic routing is generally safe and does not cause concurrency issues, but it can show slightly performance loss & can increase complexity while dubugging and maintaining handlers.
gin dynamic router.POST("api/v1/:type", apiAction)
gin static route
router.POST("api/v1/home", apiHome)
router.POST("api/v1/login", apiLogin)
I used a dynamic route to deal with all the apis, the project is no problem, I want to ask is, dynamic routing in addition to a bit of performance loss, concurrency problems?
The text was updated successfully, but these errors were encountered: