Skip to main content
  • Book
  • © 2016

Microservices From Day One

Build robust and scalable software from the start

Apress
  • Defines what microservices are and how they can benefit your business

  • Sets out best practices to follow when implementing microservices

  • Shows how to test, launch, and optimize microservices

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 49.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (14 chapters)

  1. Front Matter

    Pages i-xxii
  2. Service Oriented Architectures

    1. Front Matter

      Pages 1-1
    2. Microservices: The What and the Why

      • Cloves Carneiro Jr., Tim Schmelmer
      Pages 3-18
    3. Rules of Engagement

      • Cloves Carneiro Jr., Tim Schmelmer
      Pages 19-22
  3. APIs

    1. Front Matter

      Pages 23-23
    2. Partitioning Your Business into Services

      • Cloves Carneiro Jr., Tim Schmelmer
      Pages 25-36
    3. Designing Your APIs

      • Cloves Carneiro Jr., Tim Schmelmer
      Pages 37-57
    4. Defining APIs

      • Cloves Carneiro Jr., Tim Schmelmer
      Pages 59-74
    5. Consuming Your APIs

      • Cloves Carneiro Jr., Tim Schmelmer
      Pages 75-82
    6. Optimizing Your APIs

      • Cloves Carneiro Jr., Tim Schmelmer
      Pages 83-101
  4. Development and Deployment

    1. Front Matter

      Pages 103-103
    2. Development Environment and Workflow

      • Cloves Carneiro Jr., Tim Schmelmer
      Pages 105-126
    3. Testing with Services

      • Cloves Carneiro Jr., Tim Schmelmer
      Pages 127-150
    4. Deploying and Running Microservices

      • Cloves Carneiro Jr., Tim Schmelmer
      Pages 151-174
  5. Putting Everything Together

    1. Front Matter

      Pages 175-175
    2. Polyglot Services

      • Cloves Carneiro Jr., Tim Schmelmer
      Pages 177-184
    3. Single-Client Application—Mobile and Web

      • Cloves Carneiro Jr., Tim Schmelmer
      Pages 185-209
    4. Monitoring Your Services

      • Cloves Carneiro Jr., Tim Schmelmer
      Pages 211-219
    5. Operational Excellence with Microservices

      • Cloves Carneiro Jr., Tim Schmelmer
      Pages 221-242
  6. Back Matter

    Pages 243-246

About this book

Learn what a microservices architecture is, its advantages, and why you should consider using one when starting a new application. The book describes how taking a microservices approach from the start helps avoid the complexity and expense of moving to a service-oriented approach after applications reach a critical code base size or traffic load.

Microservices from Day One discusses many of the decisions you face when adopting a service-oriented approach and defines a set of rules to follow for easily adopting microservices. The book provides simple guidelines and tips for dividing a problem domain into services. It also describes best practices for documenting and generating APIs and client libraries, testing applications with service dependencies, optimizing services for client performance, and much more. Throughout the book, you will follow the development of a sample project to see how to apply the best practices described.


What You Will Learn:
  • Apply guidelines and best practices for developing projects that use microservices
  • Define a practical microservices architecture at the beginning of a project that allows for fast development
  • Define and build APIs based on real-world best practices
  • Build services that easily scale by using tools available in most programming languages
  • Test applications in a distributed environment
Who This Book is For:



Software engineers and web developers who have heard about microservices, and want to either move the project/applications they work on to a service-oriented environment, or want to start a new project knowing that building services helps with ease of scaling and maintainability. The book is a reference for developers who have a desire to build software in smaller, more focused and manageable chunks, but do not know how to get started. 







Authors and Affiliations

  • Hollywood, USA

    Cloves Carneiro Jr.

  • Broomfield, USA

    Tim Schmelmer

About the authors

Cloves Carneiro Jr has been writing software since 1997. His career in tech has been separated into two parts: Java and Ruby. In his early days as a software developer, Cloves built web applications for large telecommunication companies, such as Manitoba Telecommunications(MTS), AMCTV, We.tv, News12, and SportSkool using Java frameworks, including Struts, Webwork and Spring. He has moved to the Ruby camp since 2006, and has enjoyed working full-time with Ruby/Rails, he has worked as a consultant, and as an employee for Unspace and Amazon. Cloves wrote a couple of Ruby on Rails books, 'Beginning Rails' and 'Beginning Rails 3' for Apress. He is currently based in South Florida, and works as a Software Engineer for LivingSocial.


After abandoning his childhood dream of becoming an actual firefighter, Tim Schmelmer did the next best thing and became a software developer. He has spent the past 18 years extinguishing fires while working for technology consulting companies, telecommunications equipment manufacturers, building control systems for research telescopes, and selling things to people via a Web browser and mobile apps. Tim found his love for Ruby while building microservices systems at Amazon, and he is currently working on a team that does surprisingly little firefighting while building and maintaining LivingSocial's core services platform. When he is not hacking away on his keyboard, or trying to be a good husband and father of two girls. Tim loves to run, bike, and hike in the mountains near beautiful Boulder, Colorado.


Bibliographic Information

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 49.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access