And why not simply HashMap with city as key?
Printable View
CSQL is open source caching product which can cache tables from MySQL, Postgres and Oracle databases. It provides 100X more throughput for data access with no or minimal application code changes.
http://www.csqldb.com