As we described in an earlier blog, microservices are mini-applications which are devoted to a single, specific function. They are discrete (independent of other services in the architecture), polyglot with a common messaging or API interface, and they have well-defined parameters.
As application development and IT operations teams have started streamlining and speeding up their processes with methodologies like Agile and DevOps, they have increasingly begun treating IT applications as microservices. This breaks up potential bottlenecks, reduces dependencies on services used by other teams, and can help make IT infrastructure less rigid and more distributed.
One area where we are seeing this looser, more distributed approach to service development is with business rules.
“Micro-rules”
Business rules and processes in a traditional structure tend to be centralized, with the complete set of functionality defined for all workflows. The problem with centralization is because there is a single, centralized collection of business rules, any changes to one set of rules can affect many other sets, even those for different business functions.
Micro-rules essentially treat each functional set of rules as its own service -- well-defined, highly focused, and independent of other rules.
Figure - Function rule sets as micro-rules
Like microservices, this allows business rules to be distributed and localized to the teams that need them, and to be reusable to other development teams and applications.
As these micro-rules are incorporated into larger applications or workflows, those applications are incorporating relevant business logic. This allows them to behave inline with business requirements.
Figure - Micro-rules in event workflow
Process- or rule-driven applications are made to be responsive to application or customer events and to provide more immediate and automatic actions based on those rules -- without requiring manual intervention.
Development advantages
Breaking business rules and processes into smaller, microservice-style applications allows business rules to be more easily incorporated into cloud-native and microservice application architectures.
Figure - Typical microservices application architecture
Because micro-rules are discrete and well-defined, this can actually smooth collaboration between IT, development, and business users who are all required for the creation and deployment of rules. It’s easier to understand what the rule is for and where it will fit within the application infrastructure.
Additionally, updating and testing the effectiveness of micro-rules is easier than with a larger, more monolithic approach to rules development. New rules or modifications to rules can be rolled out to specific audiences for A/B testing or major updates can be released in phases (e.g., canary deployments) to minimize risk. Rules can even be rolled back, without affecting other rules in the environment.
More information
- Code downloads, tutorials and quickstarts, and documentation
- Customer documentation and support articles
저자 소개
Deon Ballard is a product marketing manager focusing on customer experience, adoption, and renewals for Red Hat Enterprise Linux. Red Hat Enterprise Linux is the foundation for open hybrid cloud. In previous roles at Red Hat, Ballard has been a technical writer, doc lead, and content strategist for technical documentation, specializing in security technologies such as NSS, LDAP, certificate management, and authentication / authorization, as well as cloud and management. She also wrote and edited the Middleware Blog for Red Hat and led portfolio solution marketing for integration and business automation.
채널별 검색
오토메이션
기술, 팀, 환경을 포괄하는 자동화 플랫폼에 대한 최신 정보
인공지능
고객이 어디서나 AI 워크로드를 실행할 수 있도록 지원하는 플랫폼 업데이트
클라우드 서비스
관리형 클라우드 서비스 포트폴리오에 대해 더 보기
보안
환경과 기술 전반에 걸쳐 리스크를 감소하는 방법에 대한 최신 정보
엣지 컴퓨팅
엣지에서의 운영을 단순화하는 플랫폼 업데이트
인프라
세계적으로 인정받은 기업용 Linux 플랫폼에 대한 최신 정보
애플리케이션
복잡한 애플리케이션에 대한 솔루션 더 보기
오리지널 쇼
엔터프라이즈 기술 분야의 제작자와 리더가 전하는 흥미로운 스토리
제품
- Red Hat Enterprise Linux
- Red Hat OpenShift Enterprise
- Red Hat Ansible Automation Platform
- 클라우드 서비스
- 모든 제품 보기
툴
체험, 구매 & 영업
커뮤니케이션
Red Hat 소개
Red Hat은 Linux, 클라우드, 컨테이너, 쿠버네티스 등을 포함한 글로벌 엔터프라이즈 오픈소스 솔루션 공급업체입니다. Red Hat은 코어 데이터센터에서 네트워크 엣지에 이르기까지 다양한 플랫폼과 환경에서 기업의 업무 편의성을 높여 주는 강화된 기능의 솔루션을 제공합니다.