Web app using Microservices in Go: Part 2 – k/v store and Database

Previous part Introduction In this part we will implement part of the microservices needed for our web app. We will implement the: key-value store Database This will be a pretty code heavy tutorial so concentrate and have fun! The key-value store Design The design hasn’t changed much. We will save the key-value pairs as a global map, and create a global mutex for concurrent access. We’ll also add the ability to list all key-value pairs for debugging/analytical purposes....

March 16, 2016 · 11 min · Jacob Martin