I am writing some Go webservices (also implementing the webserver in Go with http.ListenAndServe). I have a map of structs which I would like to keep in memory (with an approximate data size of 100Kb) to be used by different http requests.
Which is the best way to achieve this in Go? In your experience, is it better to use global package variables or caching systems (like memcache/groupcache)?