0

I have ran into some issue during creating client to the Google Fusion Tables. Google Fusion Tables has restriction to request. It allow a maximum of 5 requests per second to the Google Fusion Tables server.

How can i implement or create client class which control requests count per second in PHP?

Matthieu Napoli
  • 48,448
  • 45
  • 173
  • 261
Mirodil
  • 2,321
  • 2
  • 30
  • 38
  • 1
    I would have a look at this answer: http://stackoverflow.com/questions/4549742/synchronized-functions-in-php – Anders Nov 02 '11 at 10:15

1 Answers1

0

I would store your last X request times in a database table and use that to track if you are hitting your limit.

Josh Pennington
  • 6,418
  • 13
  • 60
  • 93