Soporte de The Movie Database

The last couple of days I been having some connection issues. I haven't touched the code that caches stuff from the api for more then a month, but looking at the API stats I see this: http://cl.ly/image/1P1W3D3D3H1e

Can someone help me out? Searching sometimes returns instantly, but usually takes 1.5+ seconds. Sometimes even 5s. If I had a simple app that wouldn't be an issue, but I have around 150 req/s hitting my server. If data isn't returned fast enough, the connection is in use and new users can't connect.

I cache both search results and movie details for 24h. The 400k requests is under 5 req/s on your server, but that tripled in the last couple of days.

Like I said, a few days ago it worked fine.

3 respuestas (en la página 1 de 1)

Jump to last post

Nope, no known issues. Latency and average response times have stayed flat for about as long as my graphs go back.

The dip in stats was a problem that only affected our stats servers. This was mentioned here: https://plus.google.com/105811688148229485626/posts/3bBRKTG3Pbk

Are you only noticing this from a single server? And also, on only search or all of the API?

I've disabled the search, see if that slows it down. The other calls have the same issue (getting info takes some time, including Credits and Alternative Titles, which are cached for 3 days).

I have this issue both locally (located in The Netherlands) and from the server (located in the US, east-coast)

Keep you posted.

One thing I’m wondering is whether or not you might be hitting our rate limits... do you have an idea of the cache hit ratio of the requests hitting your server? Our rate limits are based per IP so in a proxy situation like your setup, it’s not that hard to imagine you might start to be up against the wall (especially since the growth on your end has been consistent). We rate limit at 30 requests per 10 seconds (but there’s some weirdness here which is why I posted this a while back--although it has yet to be pushed into production).

I’m obviously not sure how things are setup on your end but is it possible for you to pass some of the calls straight to us rather than go through your server? This would make every end user’s IP the tracked IP and free up resources on your end.

¿No encuentras una película o serie? Inicia sesión para crearla:

Global

s centrar la barra de búsqueda
p abrir menú de perfil
esc cierra una ventana abierta
? abrir la ventana de atajos del teclado

En las páginas multimedia

b retrocede (o a padre cuando sea aplicable)
e ir a la página de edición

En las páginas de temporada de televisión

(flecha derecha) ir a la temporada siguiente
(flecha izquierda) ir a la temporada anterior

En las páginas de episodio de televisión

(flecha derecha) ir al episodio siguiente
(flecha izquierda) ir al episodio anterior

En todas las páginas de imágenes

a abrir la ventana de añadir imagen

En todas las páginas de edición

t abrir la sección de traducción
ctrl+ s enviar formulario

En las páginas de debate

n crear nuevo debate
w cambiar el estado de visualización
p cambiar público/privado
c cambiar cerrar/abrir
a abrir actividad
r responder al debate
l ir a la última respuesta
ctrl+ enter enviar tu mensaje
(flecha derecha) página siguiente
(flecha izquierda) página anterior

Configuraciones

¿Quieres puntuar o añadir este elemento a una lista?

Iniciar sesión