|By John Wetherill||
|October 17, 2014 11:45 PM EDT||
This is part of the ever-expanding "Microservices and PaaS" blog series covering the rapidly evolving use of microservices in modern cloud software projects. Parts I and II introduced microservices concepts and discussed patterns and practices being spearheaded by microservices pioneers, notably Netflix, who were represented at a recent microservices meetup that was the genesis of this series.
Part III presented a list of challenges and pitfalls that adopters of microservices face. This list is formidable and somewhat daunting; pointing out the significant changes in mindset, organizational structure, and overall development practices needing to take place prior to plunging into microservices.
Fortunately, tooling and other supporting technologies are evolving almost as fast as the microservices practices are themselves. Platform-as-a-Service (PaaS) is at the forefront of this evolution and is now considered by many, for good reason, to be an essential component in the microservices toolset.
What follows, is a summary of a number of features provided by PaaS offerings that greatly simplify microservices development.
1. Polyglot Languages, Frameworks, and Persistence Layers
One significant benefit of microservices is that they don't tie a team or an organization to a single development language or framework. Each service can be built using the language and framework suitable for the task, for the data, or for the team.
But each language stack must be downloaded, installed, configured, and provisioned separately. Requiring each developer or team to manually do this introduces considerable complexity and disrupts the overall development flow. PaaS completely eliminates any manual steps needed to provision the development stack, whether Java on Spring, Ruby on Rails, or Python on Django. These, and more, are instantly available when the microservice is deployed.
Similarly, microservices should use the persistence layer that makes sense for the job. Relational (MySQL), NoSQL (MongoDB), and caching (Redis) databases each have their own advantages, and a PaaS allows each to be instantly provisioned and wired to the microservice without requiring human intervention.
2. Consistent Testing Environments
Testing microservices is tricky, and practices to do so effectively are just now emerging. Regardless of the current state of testing, it's safe to say that if there are inconsistencies between the environments where microservices are developed, tested, and deployed to production, chaos will ensue. It is crucial that each of these environments is identical. Subtle differences will result in inconsistent test results and will wreak havoc.
A PaaS provides a predictable and consistent environment in every place a microservice is deployed, such as development, staging, QA, and production. Furthermore, a microcloud such as one provided by Stackato, where the full cloud stack runs on a laptop or desktop, extends this homogeneity making it available to all developers and team members at all times.
As I've discussed earlier, dealing with logs in complex cloud applications is a pain. This is particularly true in microservices-based applications where each microservice instance generates its own logs.
PaaS goes a long way to reduce this pain by providing automated log aggregation mechanisms where multiple logs from multiple microservice instances can be aggregated automatically and redirected to any number of log aggregation services. The PaaS takes care of making sure logging "just works" and ensures that all logs from all applications can be easily directed to a centralized destination like Loggly or Splunk, or just as easily directed to a home-grown PaaS-hosted log application.
Like logging, monitoring is essential to the successful operation of a microservices-based application. But the days of hand-rolling monitoring solutions are over. With short-lived microservice instances rapidly starting, stopping, and moving around the network, it's paramount that any monitoring solution be completely automated, with no human intervention required.
A PaaS will typically offer built-in monitoring to track common metrics, such as CPU load or memory use. In addition to providing these capabilities, Stackato also allows simple integration with specialized external monitoring tools and services such as Nagios and New Relic, and exposes the ability to manage and control the deployed microservices in response to monitoring events via its easily automatable REST interface.
Cloud applications must scale to accommodate variable usage loads. A microservices architecture allows separation of components so that the individual microservices that are causing a bottleneck can be scaled separately without having to scale out the entire application. This is a powerful approach, but scaling out multiple microservices is more complex than scaling out a single application instance.
Autoscaling is another area where PaaS shines. A specific microservice can be scaled automatically in response to metrics provided by internal or external instrumentation, responding to load events as they occur, without human intervention. The complexities of autoscaling, and the burden of dealing with these complexities, disappear when using a PaaS.
6. Service Discovery
Patterns for service discovery, naming, and routing to microservices are at their infancy. PaaS offerings like Stackato provide basic building blocks for accomplishing this, such as allowing service locations (URIs) and credentials to be injected into the application environment, as well as providing a means to publish and access these externally.
7. Instant Rollback and Versioning
As discussed in Part I of this blog series, the use of Immutable Service Patterns, where multiple service versions are deployed side by side, is a useful technique to enable continuous deployment and delivery of microservices in a way that allows new features to be rolled out safely.
A related practice is to use the built-in versioning and rollback mechanisms provided with a PaaS, where after deploying a new service version, it can be instantly rolled back to any previous version if a problem arises. For example, Stackato will keep track of every version of a microservice or application that gets deployed, and exposes both user interface and API to instantly rollback and roll-forward between these versions. The UI requires manual intervention, while the API allows this process to be easily automated in response to monitored events.
8. Availability and Failure Resilience
A failure in a monolithic application often brings the entire system to its knees. In contrast, a microservices system is composed of multiple independent loosely-coupled microservices. It can be designed so that the failure of one microservice will not significantly impact the rest of the system. It can continue to run in a degraded mode where the broken service (and perhaps the associated user interface) is disabled, but the rest of the application remains functional.
Obviously it's preferable that all services remain operational at all times, and some services might be essential for the operation of the system. This requires a high-availability (HA) environment to guarantee that multiple microservice instances run across availability zones in order to survive the effects of catastrophic failure.
HA is an art and science in itself, but PaaS goes a long way to shield the complexity of HA from the developer. For example, Stackato allows the creation of multiple availability zones which can span racks or data centers, and can guarantee that one or more microservice instance is always running in each of these zones. Providing a common and simple availability platform goes a long way towards freeing the development team to focus on the application and not on the plumbing.
9. Get out of the Weeds
There are countless other areas in microservices where plumbing is required, and dealing with this plumbing hampers the overall development flow by adding complexity and cost. Examples include:
- Routing network traffic to application instances
- Load balancing
- Multi-node cluster configuration and management
- Interfacing with the infrastructure layer (IaaS)
- Service naming and URI mapping
PaaS takes care of these plumbing details so the development team doesn't need to get mired in the weeds.
10. On Demand / Self Service
A significant benefit of PaaS is its "self-service" nature, allowing the provisioning of resources on-demand without the need to submit a service ticket, or involve other humans in any way. This speeds development, streamlines the overall development flow, and allows free experimentation where developers can spin up clusters and services without being encumbered by process. This self-service capability is essential for a microservices-oriented development organization.
PaaS Fits Microservices
As Adrian Cockroft made abundently clear in his microservices presentation, PaaS is a crucial piece of the overall microservices story, for the reasons listed above and others. PaaS not only standardizes environments and significantly reduces complexity, but it also provides a foundation for the major organizational changes required to move to a microservices approach.
Very few development organizations have the means and resources that Netflix had at their disposal to push through a company-wide initiative to overhaul their entire software architecture, organization, and mindset to a microservices approach. As Donnie Berkholz pointed out in last week's fireside chat with Bernard Golden, changing the org-chart is itself a huge undertaking, and this won't happen until the tooling is in place to lower the barriers for devops.
The tooling Donnie is referring to is evolving as PaaS, which provides a powerful and self-service means for targeted teams to successfully deliver microservices. Stackato, the world-class enterprise PaaS from ActiveState, is a prime example of a PaaS offering that streamlines microservices development.
Your homes and cars can be automated and self-serviced. Why can't your storage? From simply asking questions to analyze and troubleshoot your infrastructure, to provisioning storage with snapshots, recovery and replication, your wildest sci-fi dream has come true. In his session at @DevOpsSummit at 20th Cloud Expo, Dan Florea, Director of Product Management at Tintri, will provide a ChatOps demo where you can talk to your storage and manage it from anywhere, through Slack and similar services ...
Mar. 24, 2017 06:30 PM EDT Reads: 4,097
My team embarked on building a data lake for our sales and marketing data to better understand customer journeys. This required building a hybrid data pipeline to connect our cloud CRM with the new Hadoop Data Lake. One challenge is that IT was not in a position to provide support until we proved value and marketing did not have the experience, so we embarked on the journey ourselves within the product marketing team for our line of business within Progress. In his session at @BigDataExpo, Sum...
Mar. 24, 2017 06:30 PM EDT Reads: 2,595
What sort of WebRTC based applications can we expect to see over the next year and beyond? One way to predict development trends is to see what sorts of applications startups are building. In his session at @ThingsExpo, Arin Sime, founder of WebRTC.ventures, will discuss the current and likely future trends in WebRTC application development based on real requests for custom applications from real customers, as well as other public sources of information,
Mar. 24, 2017 05:30 PM EDT Reads: 356
SYS-CON Events announced today that SoftLayer, an IBM Company, has been named “Gold Sponsor” of SYS-CON's 18th Cloud Expo, which will take place on June 7-9, 2016, at the Javits Center in New York, New York. SoftLayer, an IBM Company, provides cloud infrastructure as a service from a growing number of data centers and network points of presence around the world. SoftLayer’s customers range from Web startups to global enterprises.
Mar. 24, 2017 05:15 PM EDT Reads: 1,282
SYS-CON Events announced today that Ocean9will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Ocean9 provides cloud services for Backup, Disaster Recovery (DRaaS) and instant Innovation, and redefines enterprise infrastructure with its cloud native subscription offerings for mission critical SAP workloads.
Mar. 24, 2017 04:45 PM EDT Reads: 1,757
In his session at @ThingsExpo, Eric Lachapelle, CEO of the Professional Evaluation and Certification Board (PECB), will provide an overview of various initiatives to certifiy the security of connected devices and future trends in ensuring public trust of IoT. Eric Lachapelle is the Chief Executive Officer of the Professional Evaluation and Certification Board (PECB), an international certification body. His role is to help companies and individuals to achieve professional, accredited and worldw...
Mar. 24, 2017 03:56 PM EDT Reads: 211
SYS-CON Events announced today that Linux Academy, the foremost online Linux and cloud training platform and community, will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Linux Academy was founded on the belief that providing high-quality, in-depth training should be available at an affordable price. Industry leaders in quality training, provided services, and student certification passes, its goal is to c...
Mar. 24, 2017 01:15 PM EDT Reads: 3,831
SYS-CON Events announced today that Interoute, owner-operator of one of Europe's largest networks and a global cloud services platform, has been named “Bronze Sponsor” of SYS-CON's 20th Cloud Expo, which will take place on June 6-8, 2017 at the Javits Center in New York, New York. Interoute is the owner-operator of one of Europe's largest networks and a global cloud services platform which encompasses 12 data centers, 14 virtual data centers and 31 colocation centers, with connections to 195 add...
Mar. 24, 2017 01:15 PM EDT Reads: 551
SYS-CON Events announced today that Telecom Reseller has been named “Media Sponsor” of SYS-CON's 20th International Cloud Expo, which will take place on June 6–8, 2017, at the Javits Center in New York City, NY. Telecom Reseller reports on Unified Communications, UCaaS, BPaaS for enterprise and SMBs. They report extensively on both customer premises based solutions such as IP-PBX as well as cloud based and hosted platforms.
Mar. 24, 2017 12:45 PM EDT Reads: 1,851
Keeping pace with advancements in software delivery processes and tooling is taxing even for the most proficient organizations. Point tools, platforms, open source and the increasing adoption of private and public cloud services requires strong engineering rigor - all in the face of developer demands to use the tools of choice. As Agile has settled in as a mainstream practice, now DevOps has emerged as the next wave to improve software delivery speed and output. To make DevOps work, organization...
Mar. 24, 2017 12:15 PM EDT Reads: 1,386
SYS-CON Events announced today that Loom Systems will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Founded in 2015, Loom Systems delivers an advanced AI solution to predict and prevent problems in the digital business. Loom stands alone in the industry as an AI analysis platform requiring no prior math knowledge from operators, leveraging the existing staff to succeed in the digital era. With offices in S...
Mar. 24, 2017 12:15 PM EDT Reads: 950
SYS-CON Events announced today that T-Mobile will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. As America's Un-carrier, T-Mobile US, Inc., is redefining the way consumers and businesses buy wireless services through leading product and service innovation. The Company's advanced nationwide 4G LTE network delivers outstanding wireless experiences to 67.4 million customers who are unwilling to compromise on ...
Mar. 24, 2017 12:00 PM EDT Reads: 1,877
SYS-CON Events announced today that Cloudistics, an on-premises cloud computing company, has been named “Bronze Sponsor” of SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Cloudistics delivers a complete public cloud experience with composable on-premises infrastructures to medium and large enterprises. Its software-defined technology natively converges network, storage, compute, virtualization, and management into a ...
Mar. 24, 2017 12:00 PM EDT Reads: 1,633
SYS-CON Events announced today that CA Technologies has been named “Platinum Sponsor” of SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY, and the 21st International Cloud Expo®, which will take place October 31-November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. CA Technologies helps customers succeed in a future where every business – from apparel to energy – is being rewritten by software. From ...
Mar. 24, 2017 10:45 AM EDT Reads: 1,409
SYS-CON Events announced today that Infranics will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Since 2000, Infranics has developed SysMaster Suite, which is required for the stable and efficient management of ICT infrastructure. The ICT management solution developed and provided by Infranics continues to add intelligence to the ICT infrastructure through the IMC (Infra Management Cycle) based on mathemat...
Mar. 24, 2017 09:45 AM EDT Reads: 2,731
Now that the world has connected “things,” we need to build these devices as truly intelligent in order to create instantaneous and precise results. This means you have to do as much of the processing at the point of entry as you can: at the edge. The killer use cases for IoT are becoming manifest through AI engines on edge devices. An autonomous car has this dual edge/cloud analytics model, producing precise, real-time results. In his session at @ThingsExpo, John Crupi, Vice President and Eng...
Mar. 24, 2017 08:45 AM EDT Reads: 3,669
In the enterprise today, connected IoT devices are everywhere – both inside and outside corporate environments. The need to identify, manage, control and secure a quickly growing web of connections and outside devices is making the already challenging task of security even more important, and onerous. In his session at @ThingsExpo, Rich Boyer, CISO and Chief Architect for Security at NTT i3, will discuss new ways of thinking and the approaches needed to address the emerging challenges of securit...
Mar. 24, 2017 08:30 AM EDT Reads: 4,259
The taxi industry never saw Uber coming. Startups are a threat to incumbents like never before, and a major enabler for startups is that they are instantly “cloud ready.” If innovation moves at the pace of IT, then your company is in trouble. Why? Because your data center will not keep up with frenetic pace AWS, Microsoft and Google are rolling out new capabilities In his session at 20th Cloud Expo, Don Browning, VP of Cloud Architecture at Turner, will posit that disruption is inevitable for c...
Mar. 24, 2017 08:30 AM EDT Reads: 1,905
There are 66 million network cameras capturing terabytes of data. How did factories in Japan improve physical security at the facilities and improve employee productivity? Edge Computing reduces possible kilobytes of data collected per second to only a few kilobytes of data transmitted to the public cloud every day. Data is aggregated and analyzed close to sensors so only intelligent results need to be transmitted to the cloud. Non-essential data is recycled to optimize storage.
Mar. 24, 2017 08:15 AM EDT Reads: 2,896
As businesses adopt functionalities in cloud computing, it’s imperative that IT operations consistently ensure cloud systems work correctly – all of the time, and to their best capabilities. In his session at @BigDataExpo, Bernd Harzog, CEO and founder of OpsDataStore, will present an industry answer to the common question, “Are you running IT operations as efficiently and as cost effectively as you need to?” He will expound on the industry issues he frequently came up against as an analyst, and...
Mar. 24, 2017 08:00 AM EDT Reads: 4,007