Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8779621
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T19:50:19+00:00 2026-06-13T19:50:19+00:00

I am using tmdb API that has a new limit on requests which is

  • 0

I am using tmdb API that has a new limit on requests which is 30 requests in 10 seconds per IP. I could track these calls by having a table in MySQL that holds the amount of requests per the last 10 seconds but how can I accomplish this with the different IP addresses?

The way my app works is:

  1. request is made to the application server from a desktop app. Server side php then makes a search and returns data.

  2. desktop app then makes a different call to app server and that in turns makes several api calls to tmdb (4-7) and other api’s.

There can be anywhere from a few search requests to a few thousands in some cases. What’s the best way to keep track and delay api calls to keep it below the limit?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T19:50:21+00:00Added an answer on June 13, 2026 at 7:50 pm

    if your server is sending requests to another server which has a rate limit, you’ll need a global way to keep track of requests from your server, regardless of which client is doing requests to your server etc.

    I would use a flat file, and save unix time and a delimiter for each request, and if the file contains ten of those, you’ve done ten requests, and you’ll need to clean the file and remove any timestamp that is older than ten seconds, and that would give you the simplest form of a PHP rate limiter there is.

    There are of course more advanced ways to this, but I’d start there, and make sure you test it so you don’t loose your API access etc.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using EF Code First I have an model object that has multiple properties that
Using android 2.3.3, I have a background Service which has a socket connection. There's
Using C#, I need a class called User that has a username, password, active
@using(Html.BeginForm(About, User, FormMethod.Post , new { id=aboutme})) { <fieldset> <ul> <li> <label class=block>About me</label>
Using MVC2 I have an AJAX form which is posting to a bound model.
Using Delphi 2010. I am looking for (possibly) a function or procedure which can
Using MVVM. I have a DataTemplate which I am using to display an expander
Using Yii, I want to delete all the rows that are not from today.
I am trying to access movie info using themoviedb API as imdb seems like
I'm very new to Rails (and Ruby), and am having trouble installing and using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.