Regarding the duplicate/canonical URL issue. I'm really not sure what the right answer is. Maybe it's fine the way it is, maybe the canonical URL should be the expanded version (then the sitemap might change a lot causing other SEO issues). I just wanted to bring it up for discussion.
Nodebb benchmarking userslug api issues
-
I am doing the nodebb api performance testing using JMeter and I am facing some issues with userslug apis
/api/user/:userslug /api/user/:userslug/upvoted /api/user/:userslug/downvoted /api/user/:userslug/bookmarks /api/user/:userslug/best /api/user/:userslug/posts
this api are giving around 200 throughput
api flow is
my_application_UI => my_application_Backend => my_middleware => noebb apis(when I hit
https://loadtest.com/discussion/user/:userslug
it will go first to my application backend from ther it will go to my middleware service and from there it will go to nodebb apis)Note:
My application backend and my middleware both are just proxy and there is not functionality addedMy server config
my_application_UI => 12 pod 1GB
my middleware => 12 pod
nodebb => 12pod 4gb
mongodb => 4corecan you help me to solve this issues?
CC: @vinu
-
What issue?
-
@pitaj don't know exactly , also I test user apis
https://community.nodebb.org/api/user/venkat123 https://community.nodebb.org/api/user/venkat123/upvoted https://community.nodebb.org/api/user/venkat123/downvoted
using AB tool there also seeing low throughput
is it possible to share ur reports and server config?
-
What throughput are you expecting? Is this a bottleneck for your usage?
What is your setup?
-
@venkat123 said in Nodebb benchmarking userslug api issues:
this api are giving around 200 throughput
What is this metric compared to, for other routes?
-
Environment setup details
NodeBB => 12 Pods(each pod of 4GB RAM)
MondeDB => 1pod(4 core machine)We are using NodeBB in "Sunbird platform". While we do benchmark of NodeBB API's, we have noticed this issue.
Most of the {userslug} API's are not performaing well(throughput around 140) as metioned by @venkat123 in the above thread.
/api/user/venkat123 /api/user/venkat123/upvoted /api/user/venkat123/downvoted
Where as Category read API's are performing well. We are alble to get better through put around 1200.
/api/category/:cid