Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Presented by
00 Month 0000
Agenda
Introduction
Different Software Architectural styles
Comparison between Service Oriented and Microservices Architecture
What is Service Based Architecture(SBA)
Microservices Framework
SBA framework
SBA for 5G
Service Mesh
Challenges and Way forward
2 19 September 2019
C2 General
Evolution of Architectural Framework
SW & HW coupled Micro-service based
Virtualized
3 19 September 2019
C2 General
Key Architecture Patterns
SBA is a balance
between SOA and
MSA. It is tilted
Monolithic more towards MSA.
Service Oriented
(SOA)
4 19 September 2019
C2 General
Comparing SOA & MSA
interface layer middleware in SOA offers mediation and MSA has an API layer between services and
routing, message enhancement, message and service consumers
protocol transformation
5 19 September 2019
C2 General
Service Based Architecture (SBA)
Its more pragmatic, tries to keep micro services architecture but increases service granularity,
services are macro-services.
Resolves transactional issues.
Uses global data base in place of single-purpose service database
Lightweight message broker in place of heavier integration bus used in SOA
Distributed architecture against monolithic and layer based.
All functions are not stateless.
Orthogonality of functions and independent evolution.
6 19 September 2019
C2 General
Cloud Native and Micro services
Cloud native is an approach to build and run applications fully exploiting benefits of cloud
computing model , distributed architecture
As per ETSI, VNFs can be built with re-usable components as opposed to a unique - and
potentially proprietary - block of functions.
Cloud native VNFs are expected to function efficiently on any network Cloud, private, hybrid, or
Public
As per CNCF (Cloud Native Computing Foundation), Cloud native technologies empower
organizations to build and run scalable applications in modern, dynamic environments such as
public, private, and hybrid clouds.
Containers, service meshes, micro services, immutable infrastructure, and declarative APIs
exemplify this approach.
7 19 September 2019
C2 General
Typical Micro-service Framework
Micro-service communication
Service
Discovery Messaging where possible
Micro Service
Lightweight messaging ( Kafka)
JSON/HTTP2
Publish JSON/HTTP2 Publish/Subscribe
API Eventual Consistency
API
Micro Service Micro Service
Service Discovery ( more like
DNS)
Publish
Direct calls where necessary via
Subscribe
lightweight protocols ( JSON/HTTP)
Load Balancing
Micro Service Message Scaling via Service Discovery
Hub Caching
8 19 September 2019
C2 General
SBA Framework
External Domain External External
Function B Function B
Exposure
Control
Internal Domain
NF 1 NF 2
NF 5 NF 4 NF 3
9 19 September 2019
C2 General
SBA adoption for 5G Core
• NGMN alliance white paper on SBA IN 5G and 3GPP rel 15, SA2
• SBA for Control Plane
• Point to point interfaces for User plane
• Network Functions as Services , exposure through service based interfaces
• Service Framework , works around principles of –
10 19 September 2019
C2 General
5G Core SBA
Network Data layer
State
Management NRF UDSF UDR
Layer
REST API
Compute
SBI
and Storage
Message
separation
Bus REST API
Control
Layer AUSF AMF SMF PCF UDM
Control and
Data Plane
RAN separation
UE UPF DN
11 19 September 2019
C2 General
Network Repository Function (NRF)
1. Register NF Service (API URI , API Profile) NRF 2. Discover the API endpoint of NF service Producer
C2 General
NRF 2. PCF Discovers PCF
1. AMF registers Repository AMF Consumer
with NRF
1. 2.
SBA
3. 3. PCF requests
AMF service
AMF
Producer
No state NF
• Doesn’t share UE state information
• UDM or AUSF
Stateless NF
• Hold UE state only for the duration of transaction
• UDM or AUSF
State efficient NF
• Holds UE state during periods of frequent activity
• e.g AMF ,SMF
Statelful NF
• Holds UE state permanently
14 19 September 2019
C2 General
5G SBA Protocol Stack (Control Plane)-Different approaches
HTTP Oriented Diameter Oriented
Diameter Oriented
HTTP1.1/HTTP2.0 Diameter
IP IP
Subscription and Policies data Data for Exposure Application Data Dynamic Context Session Data
Nudr
Nudsf
UDM PCF NEF NF’s
16
C2 General
Traditional Cloud Native 3-tier architecture (MSA)
VNF Service
Load Balancing Health Checks Authentication Traffic Management Circuit breakdown and
& service discovery & routing failover policy
18 19 September 2019
C2 General
Challenges and way-forward
Granularity of micro-service- SBA is balance between Micro-service based and SOA architecture.
Operators have to quickly move towards Automation , and do away with legacy OSS/BSS stack.
19 19 September 2019
C2 General
Potential use cases
• 5G RAN
– Functional split of RAN, beyond C-RAN.
– 5G RAN proposes functional split along two dimensions-
– Split of CP and UP (Vertical)
– BBU split in CU ( Centralized Unit) and DU ( Distributed Unit) (Horizontal)
– Lower layer ( near real time ) protocols require dedicated resources.
– Higher layer ( asynchronous) protocols can go cloud native way.
• Deployment of AI in Edge cloud.
• Disaggregated SDN and T-SDN Control Plane ( RSA , QoT, OC defragmentation , IP controller,
etc)
• Middle boxes ( like WAN optimizer , Edge Firewall , Load balancer ) in SFC ( Service Function
Chaining).
20 19 September 2019
C2 General
References and Inspirations
1. 5G-PPP Software Network Working Group From Webscale to Telco, the Cloud Native Journey july 2018.
2. Next Generation Network Architecture Devaki Chandramouli1, Subramanya Chandrashekar2, Andreas Maeder3,Tuomas
Niemela4, Thomas Theimer3 and Laurent Thiebaut5
4. http://nealford.com/downloads/Comparing_Service-based_Architectures_by_Neal_Ford.pdf
21 19 September 2019
C2 General