PromyLOPh / pandora-apidoc

pandora.com API documentation
https://6xq.net/pandora-apidoc/
Do What The F*ck You Want To Public License
48 stars 19 forks source link

Mention that Pandora's REST backend is probably written in Java #37

Closed hacker1024 closed 4 years ago

hacker1024 commented 4 years ago

New thing I just discovered by accident. I was kinda surprised, Java seems like a weird choice - but I think the documented response is pretty string evidence.

PromyLOPh commented 4 years ago

It has always been Java, as long as I can remember. Even back when they used Flash for the frontend. And it’s not a weird choice at all. Not sure this is something we have to document here though.

hacker1024 commented 4 years ago

Huh, I never knew. It seems like a weird choice to me to have something as resource intensive and relatively inefficient as the JVM running an API that'll be interacted with so much.

I think it's worth mentioning because if anyone ever encounters unexpected behaviour from Pandora's servers, it may be due to a know Java bug (or a bug in a common Java library), and knowing this may make it easier to work around.

PromyLOPh commented 4 years ago

I’d say the odds of encountering an actual Java bug are pretty small and if so, we should document that workaround instead.