Hello,
to save a lot of money i have a good idea, but first my current situation:
in my Android and IOS App i use the current location (lat, lon) to post local content between the users. Currently i use the google geocode api to get the city name on the client side, but to access such a api is expensive if i have a lot of user. And users are often on the same lat lon coordinates.
My idea:
save the city name togehter with the lat lon coordinates and check in a range of 250 meters if there is already a city in this range in the database, IF NOT then i would call a B4J Server handler to call the geocode api to get the cityname.
Is this a good idea? I expect at the beginning high traffic, on this method maybe 20 request per second.
Does anyone already have experience using a server to call the city names via an api?
Greetings
to save a lot of money i have a good idea, but first my current situation:
in my Android and IOS App i use the current location (lat, lon) to post local content between the users. Currently i use the google geocode api to get the city name on the client side, but to access such a api is expensive if i have a lot of user. And users are often on the same lat lon coordinates.
My idea:
save the city name togehter with the lat lon coordinates and check in a range of 250 meters if there is already a city in this range in the database, IF NOT then i would call a B4J Server handler to call the geocode api to get the cityname.
Is this a good idea? I expect at the beginning high traffic, on this method maybe 20 request per second.
Does anyone already have experience using a server to call the city names via an api?
Greetings