Thinking about Microservices: The Fiefdom and the Emissaries

Are you designing Microservices? So, I would like to share a fascinating slide deck that I discovered recently. That comes from a Patt Helland’s talk at TechEd 2002 (!!).

Defining Fiefdoms

Using the author’s definition, we could define a Fiefdom as:

  1. Computing function and applications which behaves as an independent entity
  2. Has private data
    1. No one outside can read or write the information
    2. Only well-defined requests are serviced from the outside
  3. An autonomous unit — managed independently (Usually one (or a few) machines)
  4. Don’t trust outsiders
    1. Incoming requests will be inspected
    2. Fields will be validated
    3. Identity will be authenticated

It looks like Microservices. Am I right?

Defining Emissaries

Using the author’s definition, we could define an Emissary as:

  1. It knows how to fill out a request for the fiefdom
  2. It understands the rules of the fiefdom and how to (probably) get the request accepted
  3. They have two purposes
    1. Displaying information to users
    2. Preparing requests to send to fiefdoms
  4. They are not trusted by the fiefdom
  5. They will frequently come with reference data
  6. They gather information needed to prepare requests (For example, a shopping basket accumulates the items to purchase)

It looks like the Client APIs!

Compartilhe este insight:

Elemar Júnior

Sou fundador e CEO da EximiaCo e atuo como tech trusted advisor ajudando diversas empresas a gerar mais resultados através da tecnologia.

Elemar Júnior

Sou fundador e CEO da EximiaCo e atuo como tech trusted advisor ajudando diversas empresas a gerar mais resultados através da tecnologia.

Mais insights para o seu negócio

Veja mais alguns estudos e reflexões que podem gerar alguns insights para o seu negócio:

Na vida, todos temos “momentos traumáticos”. Ou seja, aqueles momentos que, de repente, mudam tudo e, ao mesmo tempo, de...
Quando iniciei a EximiaCo, busquei implantar, na empresa, características minhas que valorizava e que achava que poderiam fazer diferença. Sabia,...
Tenho realizado uma série de apresentações, em conferências, onde compartilho um pouco das lições que tenho aprendido implementando microsserviços. Abaixo,...
No meu cotidiano, reconheço que, por mais estranho que pareça, comprometo muito do meu tempo ouvindo música ruim até que,...
Implementing a good caching strategy is fundamental to achieve good performance. Besides that, it is not a trivial task. There...
Hoje completo 39 anos! Estou em Uberlândia, em um hotel, descansando após um dia de muito trabalho (e um bocado...