News for hackers. Stuff that matters.
Re:Go: Best Practices for Production Enviroments by iamartnez on Sunday April 27, 2014 @06:56AM (#7654644)
Nothing wrong with two services using the same data source. If data locality is a concern, deploy both services alongside one another.

Or you could place the data behind an API. It would speak HTTP/Thrift/whatever and would be solely responsible for handling the data. Front the API with a cache if latency becomes an issue.

For your specific example, consider pushing data to autocomplete and search instead of having them pull.

Re:Go: Best Practices for Production Enviroments by why-el on Sunday April 27, 2014 @07:15AM (#7654683)
Interesting. Are you aware of any high profile examples of this architecture?

For my own case, search and autocomplete use the same modeled data, but autocomplete for instance runs lots of precalculations on this data, so the data behind an API is not really a choice.