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
  • 45,472
  • 43
  • 162
  • 249
Mirodil
  • 2,232
  • 2
  • 29
  • 37
  • 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,398
  • 13
  • 58
  • 92