You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build an IP-address-to-country-code geolocation database into the Node. Use it during startup on the Node's public IP address to identify the Node's country. Print the country to the console as part of the startup message.
Note: this should probably not be an actor.
The text was updated successfully, but these errors were encountered:
Suggestion - there is a performance aspect to this card because the country information is stored in compressed format. (we don't want the source code and Node binary to be large)
Its now around 2.5 Mb
Once, Node boots up, there could be a hashmap in memory which allows searching of the IP blocks to be very performant
Build an IP-address-to-country-code geolocation database into the Node. Use it during startup on the Node's public IP address to identify the Node's country. Print the country to the console as part of the startup message.
Note: this should probably not be an actor.
The text was updated successfully, but these errors were encountered: