Служба підтримки The Movie Database

We have recently gone public with the new MB3 server and classic client in beta and are experiencing a huge amount of time-outs trying to access the tmdb API. Has something changed recently that we missed?

12 відповідей (на сторінці 1 із 1)

Jump to last post

Nope, everything has been running very smoothly actually.

We had some invalid JSON being served for about 3 hours on Friday night (May 17th). Other than that no reported or known issues.

Does each end user connect to our service on their own or do they connect to your servers and you run updates to sync things up so there's only the one "client" as far as TMDb is concerned? I only ask because of the rate limiting, which is imposed on a per IP basis.

No, they all connect on their own - same api key though. It's odd because we've had no real issue with MB2 nor to this point with MB3. But there are about 1000 extra servers out there now.

We've been bumping down our requests to single threaded even and still seem to be hitting time outs hard from a number of clients.

When you say timeout, is it a legitimate HTTP timeout or are you getting an error code back? We serve back a 503 error when the rate limiting is hit.

We haven't made any changes to the infrastructure though.

We are getting http timeouts I'm pretty sure but I'll have to dig through some user logs and see if we can see the actual response code.

One other thing I just thought of, does MediaBrowser happen to do an hourly scan of a users library by any chance? Say, at the top of every hour?

I believe it is set to every two hours by default but that won't hit y'all unless there is something new.

Ok, I only ask because there's an app out there (haven't looked that much into it yet) hitting our API every hour. It's a massive spike pushing the API to over 3,000 r/s for a brief period. If it's Media Browser, which I might be inclined to think it is, you have ~thousands(?) of users hitting the API at once and it's pretty much a recipe for disaster… while our system can handle this now, what happens when the userbase doubles? Whoever this is, I wanted to talk to them about randomizing the scan time per install so it's not an issue.

I don't think that is us but let me know if you find out differently. We cache the information locally and only hit you guys if something has changed and we don't have it locally and this would never be a big spike on any kind of regular interval. I'm sure we've generated a lot of traffic in the past week with the public beta of MB3 but it wouldn't be anything like you are describing.

Hey,

Did you ever dig into this and find out anything more?

Yeah, it was not a limit refusal it was an actual timeout and it was something related to the caching that was going on. Nothing on your end so this issue is resolved.

Did you get my email last week re:donations?

Yeah, it was not a limit refusal it was an actual timeout and it was something related to the caching that was going on. Nothing on your end so this issue is resolved.

Cool. Good to know.

Did you get my email last week re:donations?

Don't think so. What email did you send it to? travis [at] themoviedb.org is best.

I used the webform on here. I'll send you one directly. Thanks.

Не вдалося знайти фільм або серіал? Увійдіть, щоб додати.

Загальні

s відкрити панель пошуку
p відкрити меню профілю
esc закрити відкрите вікно
? відкрити вікно з гарячими клавішами

На сторінках медіа

b повернутися назад
e перейти до сторінки редагування

На сторінках сезонів шоу

(стрілка вправо) перейти до наступного сезону
(стрілка вліво) перейти до попереднього сезону

На сторінках серій шоу

(стрілка вправо) перейти до наступної серії
(стрілка вліво) перейти до попередньої серії

На всіх сторінках зображень

a відкрити вікно додавання зображення

На всіх сторінках редагування

t відкрити перемикач перекладів
ctrl+ s підтвердити форму

На сторінках обговорення

n створити нове обговорення
w змінити статус стеження
p перемикач публічно/приватно
c перемикач відкрито/закрито
a відкрити активність
r відповісти на обговорення
l перейти до останньої відповіді
ctrl+ enter підтвердити повідомлення
(стрілка вправо) наступна сторінка
(стрілка вліво) попередня сторінка

Налаштування

Хочете оцінити чи додати до списку?

Увійти

Немає облікового запису?

Приєднайтеся до спільноти