Performance Modelling of Message-Oriented Middleware with Priority - - PowerPoint PPT Presentation

performance modelling of message oriented middleware with
SMART_READER_LITE
LIVE PREVIEW

Performance Modelling of Message-Oriented Middleware with Priority - - PowerPoint PPT Presentation

Performance Modelling of Message-Oriented Middleware with Priority Queues Snigdha Singh, Larissa Schmid, Anne Koziolek ARCHITECTURE-DRIVEN REQUIREMENTS ENGINEERING GROUP, INSTITUTE FOR PROGRAM STRUCTURES AND DATA ORGANIZATION, KIT DEPARTMENT OF


slide-1
SLIDE 1

ARCHITECTURE-DRIVEN REQUIREMENTS ENGINEERING GROUP, INSTITUTE FOR PROGRAM STRUCTURES AND DATA ORGANIZATION, KIT DEPARTMENT OF INFORMATICS

KIT – The Research University in the Helmholtz Association

www.kit.edu

Performance Modelling of Message-Oriented Middleware with Priority Queues

Snigdha Singh, Larissa Schmid, Anne Koziolek

slide-2
SLIDE 2

Architecture-driven Requirements Engineering Group Institute for Program Structures and Data Organization Snigdha, Larissa and Anne- Performance Modelling of Message-Oriented Middleware with Priority Queues

Message-oriented-middleware (MOM)

9 November 2020 2

Overview of the entities of the AMQ model

  • Queue length
  • Queue durability
  • Queue latency
  • Queue message length

limit Performance-relevant factors

slide-3
SLIDE 3

Architecture-driven Requirements Engineering Group Institute for Program Structures and Data Organization Snigdha, Larissa and Anne- Performance Modelling of Message-Oriented Middleware with Priority Queues

Priority queue

9 November 2020 3

More processing delay of high priority messages Increases the latency Reduces the performance

slide-4
SLIDE 4

Architecture-driven Requirements Engineering Group Institute for Program Structures and Data Organization Snigdha, Larissa and Anne- Performance Modelling of Message-Oriented Middleware with Priority Queues

Motivation

  • Event-extension approach extends the PCM model elements to predict the performance

and quality attributes of MOM

  • Message-queuing-simulation approach further adds new model elements for modelling

and simulation of MOM with PCM to predict the performance

9 November 2020 4

Can we model and simulate the MOM with priority queue with palladio component model (PCM)?

Idea

  • Propose possible extensions to existing PCM approaches to support performance predictions

for MOM with priority queuing

  • Compare the proposed approach for delay of individual events at the subscriber end
slide-5
SLIDE 5

Architecture-driven Requirements Engineering Group Institute for Program Structures and Data Organization Snigdha, Larissa and Anne- Performance Modelling of Message-Oriented Middleware with Priority Queues

Research questions and Contribution

RQ1: What is the efficient way to model such MOM with priority queue using palladio component model (PCM)?

  • Which performance related metrices can be measured?

9 November 2020 5

C1: New model elements are added in message-queuing-simulation priority extension and event- extension priority extension to predict the performance of MOM with priority queue

  • Message-queuing-simulation priority extension approach is semantically more clearer
  • Queue length and queue latency
slide-6
SLIDE 6

Architecture-driven Requirements Engineering Group Institute for Program Structures and Data Organization Snigdha, Larissa and Anne- Performance Modelling of Message-Oriented Middleware with Priority Queues

Event-extension approach with PCM

9 November 2020 6

https://sdqweb.ipd.kit.edu/wiki/PCM_Event-Based_Communication

slide-7
SLIDE 7

Architecture-driven Requirements Engineering Group Institute for Program Structures and Data Organization Snigdha, Larissa and Anne- Performance Modelling of Message-Oriented Middleware with Priority Queues

Priority scheduling for event-extension approach

9 November 2020 7

  • Messages are queued and processed at the resource level
  • Could not measure the individual queue length at the receiving end
  • The component can not consume from both priority and non-priority

queue at the same time Challenges

slide-8
SLIDE 8

Architecture-driven Requirements Engineering Group Institute for Program Structures and Data Organization Snigdha, Larissa and Koziolek- Performance Modelling of Message-Oriented Middleware with Priority Queues

Message-queuing simulation approach with PCM

9 November 2020 8

slide-9
SLIDE 9

Architecture-driven Requirements Engineering Group Institute for Program Structures and Data Organization Snigdha, Larissa and Anne- Performance Modelling of Message-Oriented Middleware with Priority Queues

Priority scheduling for message-queuing-simulation approach

9 November 2020 9

  • Queue length can be measured
  • Priority queues can be modelled directly in the assembly view type instead
  • f in the resource environment view type
  • Messages are processed in message broker in separate queues
slide-10
SLIDE 10

Architecture-driven Requirements Engineering Group Institute for Program Structures and Data Organization Snigdha, Larissa and Anne- Performance Modelling of Message-Oriented Middleware with Priority Queues

Comparison

9 November 2020 10

Parameters Event-extension Message-queuing-simulation new attributes number to EmitEvent action VariableCharacterisation to SendMessageAsync scheduling policy preemptive-priority scheduling approach available scheduling policy processing at resource level based on priority- number in message-broker in separate queues queue position

  • utside resource container

inside message broker performance metrics queue latency individual queue length, queue latency

slide-11
SLIDE 11

Architecture-driven Requirements Engineering Group Institute for Program Structures and Data Organization Snigdha, Larissa and Anne- Performance Modelling of Message-Oriented Middleware with Priority Queues

Conclusion

9 November 2020 11

Message-queuing-simulation priority extension will be much easier and semantically more clearer as compared to the event-extension priority extension

Future Work

Implement the Message-queuing-simulation priority extension with a real-world case study and measure the latency and queue length for validation

slide-12
SLIDE 12

Architecture-driven Requirements Engineering Group Institute for Program Structures and Data Organization Snigdha, Larissa and Anne- Performance Modelling of Message-Oriented Middleware with Priority Queues 9 November 2020 12

Thank You!