DEV Community

Discussion on: I built a popular open source API project, Ask Me Anything!

Collapse
 
adbrsln profile image
Muhammad Adib Ahmad Roslan

just read the article. it was inspiring. may i know the PokeAPI current servers specifications that manages to handles those 25 milions requests permonth ?

Collapse
 
phalt profile image
Paul Hallett

It's all cached data on firebase. We cache the results for 24 hours, and the API is hit enough that a large majority of the requests are just returning the cached result!

Collapse
 
xieweizhi profile image
Weizhi Xie

Is it expensive for this amount of requests using Firebase?

Thread Thread
 
phalt profile image
Paul Hallett

We cache all the api results, as they never change we can do that. So we only pay for functions that run - i.e. - the first time a function runs to return data, after that it is a cached result. So around $10USD a month.