concept feature in category microservice

This is an excerpt from Manning's book Microservices in Action.
To get a better picture of how a microservice application fits together, let’s start by considering some of the features of an online investment tool:
At SimpleBank, no matter what programming language or tech stack a team chooses, services should be providing all the functionality described in the list above. This type of setup isn’t trivial to achieve, and, depending on the stack you chose, it can take more than a day to set up. Also, the combination of libraries two teams would choose for the same purpose could be quite different. You mitigate any issues related to that difference by providing a microservice chassis, so each team can focus on delivering features that SimpleBank customers will be using.
Listing 7.4 microservices-in-action/chapter-7/feature/statsd-agent/statsd-agent.rb
#!/usr/bin/env ruby # # This script was originally found in a post by Lee Hambley # (http://lee.hambley.name) # require 'socket' require 'term/ansicolor' include Term::ANSIColor $stdout.sync = true c = Term::ANSIColor s = UDPSocket.new s.bind("0.0.0.0", 8125) while blob = s.recvfrom(1024) metric, value = blob.first.split(':') puts "StatsD Metric: #{c.blue(metric)} #{c.green(value)}" end
Figure 10.10 Dark launches enable validation of new service behavior against real production traffic without exposing features to customers.
![]()

This is an excerpt from Manning's book The Tao of Microservices.
5The MVP is a product-development strategy developed by Eric Ries, a founder of the IMVU chat service (founded 2004): build only the minimum set of features that lets you validate your assumptions about a market, and then iterate on those features and assumptions until you find a product that fits the market.
19A tracer bullet is a vertical feature implementation that covers the entire system stack from top to bottom but ignores almost everything else. It’s a quick way to tell whether a feature is possible.
Let’s look at the introduction of a feature you haven’t accounted for in the message patterns. Suppose you want to provide autocompletion on the search field. That is, when you start typing, a list of previous searches will come up so that you can choose one as a shortcut. To implement this, think about the messages first. You need a suggestion when there’s a search term, and you need to store suggestions: