Skip to content
  • Blog
  • Events
  • Help
  • Careers
  • Contact
New Signature
  • About
      • Company

        New Signature has built a record of leadership by delivering exceptional technology and web solutions.

        View Company

      • Awards

        As a company, we are regularly recognized within the IT industry as well as the communities we serve.

        View All Awards
      • News

        Learn about the newest company announcements, technologies, and products at New Signature.

        View News

      • Partners

        New Signature works with a number of outstanding technology companies to deliver the best experiences to our customers.

        View Partners
      • Leadership

        New Signature's executive team includes proven leaders from the most innovative and fast-growing technology fields.

        View Leadership

      • Industries

        Our solutions are tailored to empower organizations across a wide range
        of industries.

        View Industry Experience
    Close
  • Solutions
      • Intelligent Enterprise
        Solutions

        Going Digital
        Unleash cloud capability, deliver change and compete at speed with a Microsoft digital operating model, enabling you to work more efficiently as you transform your IT environment. Learn More

      • Featured Solution

        Secure Cloud
        In a world of constant threat, ensuring that your underlying cloud platform is protected is the first step on your organization’s journey towards a secure, compliant operating environment. Learn More
      • Intelligent Workplace
        Solutions

      • Secure Workplace

        Work Anywhere

        Endpoint Health

        Identity Health

        Teamwork Support



        VIEW WORKPLACE SOLUTIONS
      • Intelligent Cloud
        Solutions

      • App Factory

        Azure Accelerator

        Azure Launchpad

        Azure Launchpad for DevOps

        Application Health

        Platform Health

        VIEW ClOUD SOLUTIONS
    Close
  • Services
      • Begin your journey towards becoming a digital business with NS:GO, our unique end-to-end framework based on the Microsoft Cloud Adoption Framework.

        NS:GO DIGITAL OPERATING MODEL
      • Intelligent Enterprise

      • Consulting

        We go beyond just technology to help your organization understand how digital can help you uniquely differentiate and better serve your employees and customers.

        VIEW ENTERPRISE SERVICES
      • Intelligent Workplace

        • Identity

          Identity is your new first-line-of-defense. It’s vital to your users and clients that your identity platform is properly configured and secured.

          Endpoint

          Whether your devices are on-premises or remote, personal or business-owned, we can ensure they are properly managed and protected.

          Teamwork

          Today’s workforce is collaborating than ever before.  We can empower your current teams with tomorrow’s progressive technologies.

          VIEW WORKPLACE SERVICES
        • Intelligent Cloud

          • Platform

            The cloud is no longer some future-state. It’s the here and now. Adopting a cloud-first platform is one of the best ways to maintain a future-proofed competitive advantage.

            Applications

            We build cloud-native apps and modernize legacy systems with the power of Azure to give your organization a competitive edge.

            Data

            We can help your organization create secure, scalable data platforms to deliver simpler and more sophisticated insights to your business.

            VIEW CLOUD SERVICES
        Close
      • Client Stories
          • Case Studies

            Browse a comprehensive list of companies who have created successful partnerships and experienced transformative solutions with New Signature.

            View All Case Studies

          • Featured Case Study TalkTalk Modern Workplace

            New Signature worked with TalkTalk to define a new Modern Workplace solution based on Microsoft 365, which kept the user firmly at the center of the transformation.
            View Case Study

          • Testimonials

            We love transforming our customers businesses, take a look at what they have to say about New Signature.

            View Testimonials

          • Featured Testimonial Davis Construction

            With New Signature’s help, Davis was able to take a progressive step forward by migrating their private branch exchange (PBX) phone system to a Voice of Internet Protocol (VoIP) system.
            View Testimonial

        Close
      • Technologies
        • Learn more about the technologies that power New Signature solutions View All Technologies


          • Advanced Threat Analytics
          • Azure Active Directory
          • Azure IoT Suite
          • Azure Site Recovery
          • Cortana Intelligence Suite
          • DocuSign
          • Dynamics 365
          • Employee Self Service
          • Enterprise Mobility Suite
          • Exchange
          • ExpressRoute
          • Hyper-V
          • Microsoft 365
          • Microsoft Azure
          • Microsoft Azure Stack
          • Microsoft Identity Manager
          • Microsoft Intune
          • Microsoft Phone System
          • Microsoft Project
          • Microsoft Teams
          • Nintex
          • Office 365
          • OneDrive for Business
          • Operations Management Suite
          • Power BI
          • SharePoint
          • Skype for Business
          • SQL Server
          • System Center
          • System Center Configuration Manager
          • Visual Studio
          • Windows 10
          • Windows Server
          • Xamarin
          • Yammer

        • New Signature Microsoft Azure

          New Signature has Microsoft-certified Azure experts and consultants who assess your business, develop the virtual machines that you need to meet your goals and streamline your operations through the cloud. Learn More

        • New Signature Microsoft Licensing

          A Microsoft environment is not complete and usable until the proper licensing has been purchased and activated for your organization. Learn More

        Close
      • Explore
          • Guides & Ebooks

            Dive deeper into education with your team by leveraging our expert-developed guides and eBooks.

            View All Guides & Ebooks

          • Infographics

            Rich with statistics and information, our infographics are great tools for quick but insightful learning.

            View All Infographics
          • Podcast: Office Explorers

            Join Kat and Rob monthly as they chat with New Signature experts and explore the world of O365.

            Listen to Podcasts

          • Videos

            Visit our videos stream to access recorded webinars, service information and to learn more about us.

            WATCH ALL VIDEOS
          • Flyers

            Searching for information about our services? Our flyers are a great takeaway for all those details.

            VIEW ALL FLYERS

          • Featured Stream

            Learn more about the tooling and expertise required to unlock productivity and mobilize your teams.

            MODERN WORKPLACE
        Close
        Close
      Blog

      Microservice vs Monolith

      New Signature / Blog / Microservice vs Monolith
      June 9, 2020June 8, 2020| Justin VanWinkle
      • Facebook
      • Twitter
      • LinkedIn
      • Print

      A colleague and I set out to write three open-source APIs that would all do the same thing, but each with a different design (monolithic, microservices, and nanoservices). Our reason for this was that we would have a set of APIs that can be used to give talks at various conferences, highlighting the good, the bad, and the ugly of each approach. And on a more granular level, one of the things we wanted to show was that choosing microservices (or the nanoservice anti-pattern) too early and without adequate planning would result in wasted time.

      Since we started with the nanoservices, we quickly ran into difficulty maintaining consistency across all of the services as we added new features. Had we started with microservices, it would have been the same. But with a monolith, we would have turned out to be much better suited for our pivots. Let’s look at why.

      Pivoting and Refactoring Quickly

      With the service-oriented design, we completed a few services an then discovered the new HttpClientFactory that had just been released in ASP.NET Core. So we went back to the services that we created by checking them out one by one from source control, refactoring each one to use the new HttpClientFactory class, committing, and pushing our code back up. Wash, rinse, repeat for every one that we created. But wait–which ones made http requests? We had to sift through and make sure we didn’t miss any.

      We discovered soon after the HttpClientFactory refactoring that the data we were accessing via a REST API was accessible to us in a format that we could digest and place in a database. Since the REST API had a very low rate limit which would hinder our ability to do load testing across the three systems, switching over to the database approach only made sense. Back to refactoring one by one! We revisited each of the services to replace the HttpClientFactory with a class to access the database.

      While performing our refactors, we noticed that it was significantly easier to refactor the monolithic code because we only had to change out a few lines of code — and only a single time. Comparatively, the monolith refactor cost a fraction of the time compared to the microservice and nanoservice approaches. You read more about this refactor on my blog in the article titled Interfaces in the Wild.

      Where to Begin

      Microservices are nice for many reasons. Over the last several years, we have seen some really big names implementing microservices like champions. But it is worth noting that those who succeeded all achieved their implementations in a very organic way. For those companies who have succeeded, they leveraged at least one of two things to ultimately succeed: Experience and/or evolution. If you have extensive experience with microservices to lean on, you know the pitfalls, and you can plan well; then a microservice implementation will likely serve you well from the start. On the other hand, if you don’t have extensive experience with microservices, then starting with a monolith that you separate (little by little) into services later on will indubitably be your best bet.

      If you choose microservices with little or no experience, this article will provide you with some tools for planning your microservices: Microservices are not Micro; They are Vertical

      Wrap Up

      A monolith lends itself to an ever-changing world. Microservices do too, but they require a lot more planning and coordination to prevent mega disasters. Nanoservices are just a bad idea all the way around.

      If you are currently considering the differences between a monolith and microservice implementation for your next project, starting with a monolith and splitting things out later will keep the schedule moving along quite nicely as you iron out the details of a new system. Bonus: this will also help you identify the boundaries of your services.

      Lastly, we have a wealth of knowledge on microservices and monoliths here at New Signature.  We know effective strategies for structuring and managing organizations success, what tools are necessary for ultimate effectiveness, and how to build software systems that serve you and your customer in a top-notch kind of way.  If you are struggling to get to the next level, reach out to our team.

      Categories
      Tips and Tricks
      Contact New Signature

      Events

      Thu 28

      Power Platform Series: Drive Organizational Productivity with Power Virtual Agents

      January 28 @ 10:00 am - 10:45 am EST
      Feb 16

      Cognizant’s Experience Lab for Continuous Testing with Azure

      February 16 @ 12:00 pm - 2:00 pm EST

      View More

      New Signature
      New Signature HQ
      901 K Street NW, Suite 450
      Washington, DC 20001
      Phone: 202-452-5923
      New Signature Canada HQ
      7th Floor, 5140 Yonge Street
      Toronto, ON M2N 7J8
      Phone: 416-971-4267
      New Signature UK HQ
      57 Bermondsey Street
      London SE1 3XJ
      Phone: +44 (0) 845-402-1752

      About

      • Company
      • Awards
      • News
      • Leadership
      • Partners
      • Industries

      Solutions

      • Intelligent Enterprise Solutions
      • Intelligent Workplace Solutions
      • Intelligent Cloud Solutions

      Services

      • GO
      • Intelligent Enterprise
      • Intelligent Workplace
      • Intelligent Cloud

      Client Stories

      • Client Stories
      • Testimonials

      Explore

      • Guides & Ebooks
      • Podcasts
      • Flyers
      • Infographics
      • Videos
      Copyright © 2021 New Signature
      • Blog
      • Events
      • Careers
      • Help
      • Anti Slavery
      • Privacy Policy
      • Contact
      • About
        • Company
        • Awards
        • News
        • Leadership
        • Partners
        • Industries
      • Services
        • GO
        • Intelligent Enterprise
        • Intelligent Workplace
        • Intelligent Cloud
      • Client Stories
        • Case Studies
        • Testimonials
      • Technologies
      • Explore
        • Guides & Ebooks
        • Infographics
        • Podcast: Office Explorers
        • Videos
        • Flyers
      • Blog
      • Events
      • Careers
      • Contact
      • Search
      Cookie Settings
      New Signature uses "Required Cookies" to run our website, "Functional Cookies" used by third parties to personalise marketing, including social media features.

      Change your preferences by clicking the “Cookie Settings” link at the bottom of every page. Learn more about cookies in our Cookie Policy and our Privacy Policy. By clicking the “Accept Cookies” button below, you consent to our use of cookies.

      Please note that “Required Cookies” will be set regardless of your consent.
      Cookie SettingsAccept Cookies
      Privacy & Cookies Policy
      Performance

      Performance Cookies provide Content Delivery Network assets that deliver faster site content delivery capabilities.

      Required

      These cookies are required mainly in order to deliver Multilanguage site capabilities.

      Functional

      Functional Cookies allow us to provided advanced media capabilities including videos, surveys and other multimedia capabilities.

      Disabling Functional cookies will block the playing of videos and other multimedia site components.

      Targeting

      Targeting Cookies are used to capture user information in order for New Signature to deliver better user experiences.

      Save & Accept