4. Expect for…
• What are Micro services?
• Why we need a new pattern?
• Implementing a Micro Service
• When to use Micro Services
• Implications of using Micro Services
8. Micro Services should be…
Performs one thing
Adding many functionality to one service
will break the other 2 characteristics.
9. Move the complexity to
Infrastructure
We've
pushed
a
lot
of
the
old
applica2on
complexity
down
to
infrastructure
level.
We
are
no
longer
bound
to
a
single
stack
or
language.
11. Small is beautiful
Make each
program do one
thing well.
Build a prototype as
soon as possible.
Choose portability
over efficiency.
Use software
leverage to your
advantage.
Make every
program as filter.
UNIX
Philosophy
17. • Project's
primary
focus
on
the
core
domain
and
domain
logic.
• Complex
designs
based
on
a
model
of
the
domain.
• Itera2vely
refine
a
conceptual
model
that
addresses
par2cular
domain
problems.
18. Communication
• Mostly over HTTP and pass JSON between services.
• If serialization or de-serialization is expensive try
something like ProtoBuf/MessagePack
• ProtoBuf - Google uses Protocol Buffers for almost
all of its internal RPC protocols and file formats.
19. Monitoring
• More possibility of small services to
just fail and fade away.
• Make sure services are running always
• Monitor usage and increase instances