• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

Nodebb benchmarking userslug api issues

Scheduled Pinned Locked Moved Bug Reports
7 Posts 4 Posters 520 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • venkat123V Offline
    venkat123V Offline
    venkat123
    wrote on last edited by venkat123
    #1

    Hello @PitaJ @julian

    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 added

    My server config
    my_application_UI => 12 pod 1GB
    my middleware => 12 pod
    nodebb => 12pod 4gb
    mongodb => 4core

    c9c39609-c694-4c47-b8cc-1006c9ec500e-image.png

    can you help me to solve this issues?

    CC: @vinu

    julianJ 1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    wrote on last edited by
    #2

    What issue?

    venkat123V 1 Reply Last reply
    0
  • venkat123V Offline
    venkat123V Offline
    venkat123
    replied to PitaJ on last edited by venkat123
    #3

    @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?

    1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    wrote on last edited by
    #4

    What throughput are you expecting? Is this a bottleneck for your usage?

    What is your setup?

    vinuV 1 Reply Last reply
    0
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    replied to venkat123 on last edited by
    #5

    @venkat123 said in Nodebb benchmarking userslug api issues:

    this api are giving around 200 throughput

    What is this metric compared to, for other routes?

    venkat123V 1 Reply Last reply
    0
  • venkat123V Offline
    venkat123V Offline
    venkat123
    replied to julian on last edited by
    #6

    @julian

    Here is the other api(category details api)

    /api/category/:cid
    

    this api is giving 1200 tps
    cfb3677a-a8e5-477a-a76d-30d5fc9b77a1-image.png

    also other apis are giving better tps around 1200.

    1 Reply Last reply
    0
  • vinuV Offline
    vinuV Offline
    vinu
    replied to PitaJ on last edited by
    #7

    @pitaj

    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
    
    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development