Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
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
Code Project
  1. Home
  2. Web Development
  3. JavaScript
  4. Can sending a large number of requests to the server cause any performance issues on the server?

Can sending a large number of requests to the server cause any performance issues on the server?

Scheduled Pinned Locked Moved JavaScript
sysadminjsonperformancequestion
2 Posts 2 Posters 3 Views 1 Watching
  • 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.
  • A Offline
    A Offline
    Alex Wright 2022
    wrote on last edited by
    #1

    I have created a web API. If someone tried to loop through thousands of requests to the server (Programmatically), would it lower the performance of the web API?

    Richard DeemingR 1 Reply Last reply
    0
    • A Alex Wright 2022

      I have created a web API. If someone tried to loop through thousands of requests to the server (Programmatically), would it lower the performance of the web API?

      Richard DeemingR Offline
      Richard DeemingR Offline
      Richard Deeming
      wrote on last edited by
      #2

      Almost certainly. But only you can answer that - we don't have access to your server or your code. Most APIs implement some form of rate limiting - if a single API key issues too many requests within a given window, the API responds with a 429 status code, and sets a header telling the caller how long they need to wait before trying again. This won't prevent malicious or misconfigured clients from trying to overwhelm your service, but it should reduce the amount of strain they're able to put on your server. If you're really worried, then you'll need to sign up for a DDoS protection service.


      "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

      "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups