This website uses cookies to better the user experience of its visitors. Where applicable, this website uses a cookie control system, allowing users to allow or disallow the use of cookies on their computer/device on their first visit to the website. This complies with recent legislative requirements for websites to obtain explicit consent from users before leaving behind or reading files such as cookies on a user’s computer/device. To learn more click Cookie Policy.

Privacy preference center

Cookies are small files saved to a user’s computer/device hard drive that track, save, and store information about the user’s interactions and website use. They allow a website, through its server, to provide users with a tailored experience within the site. Users are advised to take necessary steps within their web browser security settings to block all cookies from this website and its external serving vendors if they wish to deny the use and saving of cookies from this website to their computer’s/device’s hard drive. To learn more click Cookie Policy.

Manage consent preferences

These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
Cookies list
Name _rg_session
Provider rubygarage.org
Retention period 2 days
Type First party
Category Necessary
Description The website session cookie is set by the server to maintain the user's session state across different pages of the website. This cookie is essential for functionalities such as login persistence, ensuring a seamless and consistent user experience. The session cookie does not store personal data and is typically deleted when the browser is closed, enhancing privacy and security.
Name m
Provider m.stripe.com
Retention period 1 year 1 month
Type Third party
Category Necessary
Description The m cookie is set by Stripe and is used to help assess the risk associated with attempted transactions on the website. This cookie plays a critical role in fraud detection by identifying and analyzing patterns of behavior to distinguish between legitimate users and potentially fraudulent activity. It enhances the security of online transactions, ensuring that only authorized payments are processed while minimizing the risk of fraud.
Name __cf_bm
Provider .pipedrive.com
Retention period 1 hour
Type Third party
Category Necessary
Description The __cf_bm cookie is set by Cloudflare to support Cloudflare Bot Management. This cookie helps to identify and filter requests from bots, enhancing the security and performance of the website. By distinguishing between legitimate users and automated traffic, it ensures that the site remains protected from malicious bots and potential attacks. This functionality is crucial for maintaining the integrity and reliability of the site's operations.
Name _GRECAPTCHA
Provider .recaptcha.net
Retention period 6 months
Type Third party
Category Necessary
Description The _GRECAPTCHA cookie is set by Google reCAPTCHA to ensure that interactions with the website are from legitimate human users and not automated bots. This cookie helps protect forms, login pages, and other interactive elements from spam and abuse by analyzing user behavior. It is essential for the proper functioning of reCAPTCHA, providing a critical layer of security to maintain the integrity and reliability of the site's interactive features.
Name __cf_bm
Provider .calendly.com
Retention period 30 minutes
Type Third party
Category Necessary
Description The __cf_bm cookie is set by Cloudflare to distinguish between humans and bots. This cookie is beneficial for the website as it helps in making valid reports on the use of the website. By identifying and managing automated traffic, it ensures that analytics and performance metrics accurately reflect human user interactions, thereby enhancing site security and performance.
Name __cfruid
Provider .calendly.com
Retention period During session
Type Third party
Category Necessary
Description The __cfruid cookie is associated with websites using Cloudflare services. This cookie is used to identify trusted web traffic and enhance security. It helps Cloudflare manage and filter legitimate traffic from potentially harmful requests, thereby protecting the website from malicious activities such as DDoS attacks and ensuring reliable performance for genuine users.
Name OptanonConsent
Provider .calendly.com
Retention period 1 year
Type Third party
Category Necessary
Description The OptanonConsent cookie determines whether the visitor has accepted the cookie consent box, ensuring that the consent box will not be presented again upon re-entry to the site. This cookie helps maintain the user's consent preferences and compliance with privacy regulations by storing information about the categories of cookies the user has consented to and preventing unnecessary repetition of consent requests.
Name OptanonAlertBoxClosed
Provider .calendly.com
Retention period 1 year
Type Third party
Category Necessary
Description The OptanonAlertBoxClosed cookie is set after visitors have seen a cookie information notice and, in some cases, only when they actively close the notice. It ensures that the cookie consent message is not shown again to the user, enhancing the user experience by preventing repetitive notifications. This cookie helps manage user preferences and ensures compliance with privacy regulations by recording when the notice has been acknowledged.
Name referrer_user_id
Provider .calendly.com
Retention period 14 days
Type Third party
Category Necessary
Description The referrer_user_id cookie is set by Calendly to support the booking functionality on the website. This cookie helps track the source of referrals to the booking page, enabling Calendly to attribute bookings accurately and enhance the user experience by streamlining the scheduling process. It assists in managing user sessions and preferences during the booking workflow, ensuring efficient and reliable operation.
Name _calendly_session
Provider .calendly.com
Retention period 21 days
Type Third party
Category Necessary
Description The _calendly_session cookie is set by Calendly, a meeting scheduling tool, to enable the meeting scheduler to function within the website. This cookie facilitates the scheduling process by maintaining session information, allowing visitors to book meetings and add events to their calendars seamlessly. It ensures that the scheduling workflow operates smoothly, providing a consistent and reliable user experience.
Name _gat_UA-*
Provider rubygarage.org
Retention period 1 minute
Type First party
Category Analytics
Description The _gat_UA-* cookie is a pattern type cookie set by Google Analytics, where the pattern element in the name contains the unique identity number of the Google Analytics account or website it relates to. This cookie is a variation of the _gat cookie and is used to throttle the request rate, limiting the amount of data collected by Google Analytics on high traffic websites. It helps manage the volume of data recorded, ensuring efficient performance and accurate analytics reporting.
Name _ga
Provider rubygarage.org
Retention period 1 year 1 month 4 days
Type First party
Category Analytics
Description The _ga cookie is set by Google Analytics to calculate visitor, session, and campaign data for the site's analytics reports. It helps track how users interact with the website, providing insights into site usage and performance.
Name _ga_*
Provider rubygarage.org
Retention period 1 year 1 month 4 days
Type First party
Category Analytics
Description The _ga_* cookie is set by Google Analytics to store and count page views on the website. This cookie helps track the number of visits and interactions with the website, providing valuable data for performance and user behavior analysis. It belongs to the analytics category and plays a crucial role in generating detailed usage reports for site optimization.
Name _gid
Provider rubygarage.org
Retention period 1 day
Type First party
Category Analytics
Description The _gid cookie is set by Google Analytics to store information about how visitors use a website and to create an analytics report on the website's performance. This cookie collects data on visitor behavior, including pages visited, duration of the visit, and interactions with the website, helping site owners understand and improve user experience. It is part of the analytics category and typically expires after 24 hours.
Name _dc_gtm_UA-*
Provider rubygarage.org
Retention period 1 minute
Type First party
Category Analytics
Description The _dc_gtm_UA-* cookie is set by Google Analytics to help load the Google Analytics script tag via Google Tag Manager. This cookie facilitates the efficient loading of analytics tools, ensuring that data on user behavior and website performance is accurately collected and reported. It is categorized under analytics and assists in the seamless integration and functioning of Google Analytics on the website.

What Benefits Can a Microservice Architecture Bring to Your Project?

  • 21999 views
  • 6 min
  • Apr 16, 2019
Daria R.

Daria R.

Copywriter

Oleksandra I.

Oleksandra I.

Head of Product Management Office

Tags:

Web

Share

The question of architecture usually arises when a product runs into issues. Whether they’re facing scalability or maintenance difficulties, product owners begin to think about moving from a monolithic to microservice architecture. But is it really worth it? What sorts of problems can a microservice architecture solve, what are microservices architecture advantages and what big names have already migrated to microservices? Let’s find out!

advantages of microservices

6 advantages of a microservices

So why is a microservice architecture so popular and what advantages can a microservice architecture bring to your business? Keep reading to find out the key benefits of a microservice architecture.

#1 Dynamic scaling up 

Entrepreneurs rarely think about a microservice architecture right from the beginning. They prefer to go with a monolithic since it’s cheaper, faster and requires fewer specialists. However, when the product is launched and its complexity grows, the team has to deal with a range of issues. Like the team at Airbnb did.

Consider a large online marketplace Airbnb that started with a monolithic architecture built on Ruby on Rails. This solution worked perfectly at first. However, as the company grew, they faced a range of problems connected with the constantly growing complexity of the platform. Their product became increasingly rigid. This, in turn, led to issues with deployment, scalability, and performance speed.

Jessica Tai, a developer at Airbnb, says that the delay in deploying code to production reached 15 hours a week due to reverts and rollbacks. The tipping point was when the platform grew to 500,000 lines of code. At that point, Airbnb realized that its monolithic architecture — with various components tightly coupled — had become spaghetti code. When a problem occurred, it was difficult to find it in the pile of code, so every engineer had to check if it was their code that had caused the problem.

Airbnb decided to break their monolithic architecture into small, discrete services that would be easy to manage. This way it would also be easy to add new services when needed. They started migrating to a microservice architecture.

Today, Airbnb deploys 3,500 microservices every week, has 1,000 software engineers instead of 200, and has improved page load productivity up to tenfold, providing every user with 100 percent availability and 100 percent productivity.

#2 Agility

The modern Agile approach is tightly connected with such practices as DevOps, continuous integration (CI), and continuous deployment (CD). All of these practices allow for faster deployment, problem-solving, and time to market. Because of its tight connections between each and every component, a monolithic architecture hampers the Agile and DevOps processes.

This problem, as well as a range of smaller ones, made Amazon reconsider their monolithic architecture and migrate to microservices. In a microservice architecture, each service does only one thing or implements only one functionality. It’s really easy to release, scale, deploy, and test every service separately, as it contains a lightweight codebase.

All microservices work independently and can be written with different technologies. This is a big advantage of microservices: it allows each team to choose the stack of technologies that best fits their particular functionality.

A microservice architecture allowed Amazon to move from their three-layer team structure (UI, database, and engineering teams) to small, efficient, cross-functional teams that are built according to business capabilities. Small teams are each responsible for one service, building it and running it for its full lifetime.

The size of teams at Amazon is determined by the “two pizza rule”: two pizzas should be able to feed any one team. This rule was invented by Amazon CEO Jeff Bezos.

#3 Improved scalability

One of the greatest advantages of a microservice over a monolithic architecture is that a microservice architecture allows different components to scale at different rates; a monolithic architecture requires you to scale the whole application. The flexibility of microservices lets a system expand fast without requiring a significant increase in resources.

This is exactly what Netflix was searching for when it faced the challenge of a growing user base and the need to scale fast. At the time, it took the team hours or even days to increase the capacity of data centers. With a microservice architecture, hundreds of server instances can be commissioned simultaneously to meet the increased demand for services, meaning the team could increase or decrease capacity within minutes.

Adrian Cockcroft, Netflix’s cloud architect, admits that a large number of systems means more time needed to manage them efficiently. But at the same time, this approach guarantees better stability for the whole system. A problem in one small service is easy to detect and solve. And losing one small service is much better than losing the whole system at once. But this wasn’t the only problem Netflix solved when they moved to a microservice architecture.

#4 Independent team collaboration

When Cockcroft explained the reasons why Netflix decided to move to microservices, he mentioned that a team with more than 25 engineers starts facing difficulties collaborating while working on one product. The Netflix team was even bigger, and managing it became a real headache.

By decomposing the monolithic structure into separate services, Netflix also decomposed one team into more than 30 small engineering teams that now work independently.

#5 Flexibility of components

A monolithic product is rigid when it comes to replacing one piece of functionality or making some changes. When engineers amend something in one place, it can cause ripple effects, bugs, and errors in the entire system.

This disadvantage of a monolithic architecture was the trigger that made The Guardian move their website from a monolithic to microservice architecture. The new microservice architecture allows engineers to add, replace, and remove different services without influencing all other microservices since they all work independently.

Today, the Guardian can easily add and remove different sections of the website as needed. This is especially important for event sections. When an event is over, developers can easily remove the section for the event without changing the main functionality of the site. Thus, The Guardian improved the replaceability and upgradeability of their system when they moved to a microservice architecture.

#6 Reduced response downtime

For a huge retailer like Walmart, response downtime plays a crucial role in success. Once the company reached six million page views per minute, its engineers understood that their monolithic architecture would be unable to manage continued growth. What was even worse was the time needed to process every operation. That’s why in 2012, Walmart decided to move to microservices.

The results were stunning. The downtime was minimized. Walmart saved up to 50 percent on operating expenditures when they stopped using expensive hardware and migrated to virtual servers. The conversion rate increased by 20 percent and mobile orders went up by 98 percent.

Microservice architecture is a perfect solution for a growing product and an agile team. If you still hesitating to move to a microservice architecture, look at the infographic below that outlines the key advantages of microservices.

advantages of microservices

Ready to get the most out of microservice architecture?

A microservice structure lets engineers avoid the majority of problems common to monolithic applications and maximize the productivity of your product. After reading this article, you shouldn’t have to ask why to migrate to microservices, only how.

CONTENTS

Tags:

Web

Authors:

Daria R.

Daria R.

Copywriter

Oleksandra I.

Oleksandra I.

Head of Product Management Office

Rate this article!

Nay
So-so
Not bad
Good
Wow
4 rating, average 4.25 out of 5

Share article with

Comments (0)

There are no comments yet

Leave a comment

Subscribe via email and know it all first!