SlideShare a Scribd company logo
1 of 19
Using Request Queues for
Enhancing the Performance of
Operations in Smart Homes
Andreas Kamilaris and Andreas Pitsillides
Networks Research Laboratory
Dept. of Computer Science, University of Cyprus
7th Performance Monitoring, Measurement and
Evaluation of Heterogeneous Wireless and
Wired Networks (PM2HW2N) Workshop
Paphos, Cyprus

21st October 2012
Introduction

University of Cyprus

• Modern smart homes tend to being equipped with embedded
sensors, actuators, smart power outlets and meters.

• Transmission failures are a common happening in indoor
environments.
• Resource-constrained home devices have battery limitations and
frequent failures.
• Reduced reliability and performance.
• No guarantees.
• High unpredictability.
Motivation
• Better management of the interactions with embedded
devices.
• Reliability and performance need to be ensured.
• Intermediate entities for handling communication with the
smart home environment.
• Request queues a suitable intermediate data structure for
enhancing the performance of pervasive applications that
target smart homes and building automation.

University of Cyprus
Request Queues
• Request queues are defined as FIFO queues.
• Installed on middleware applications for smart buildings.
• Handle the requests coming from the building's tenants,
targeting the embedded devices of the building.

University of Cyprus
An Application Framework for Smart Buildings

University of Cyprus

• Each home device is associated with its own request queue.
Request Queue Operation

University of Cyprus
Request Queue Analysis
• Incoming requests need to wait in the queue for their turn,
in order to be executed.

• The arrival rate lambda of Web clients at the framework is
modeled by the exponential distribution.

University of Cyprus
Experimental Setup
• 6LoWPAN-enabled Telosb sensor motes.
• Sensing capabilities exposed as RESTful Web services.
• Transmission power at -25 dBm, message sizes 128 bytes.

University of Cyprus
Request Queue Analysis
• Request queue retransmission interval α

University of Cyprus
Request Queue Analysis
• Influence of transmission failures and different arrival rates
on retransmission interval α.

University of Cyprus
Request Queue Analysis

University of Cyprus

• Influence of varied response times on retransmission interval α.

• RTT times and St. Deviation values learned from the device thread.
• Set initially to a larger value, leaving a "safe margin”.
• Fine-tune adaptively during the device operation.
Potential Benefits

University of Cyprus

• Multi-Client Support

• Multi-hop topology additional delays of around 200 ms.
• Heavy workload increases response times by 18-20% in the singlehop case and 14-17% in the multi-hop topology.
Potential Benefits

University of Cyprus

• Avoiding Transmission Failures

• In light workload, transmission failures not affect significantly
the response times.
• In heavy workloads, transmission failures cause the response
times to grow almost exponentially.
Potential Benefits

University of Cyprus

• Estimating Potential Response Times

• Average estimation error is 12.38%, and it increases to
14.60% when the request queue size becomes larger than 2.
Potential Benefits

University of Cyprus

• Load Balancing for Serving High Traffic

• In low traffic, the improvement of performance is around 4-6%.
• In increased traffic, the improvement reaches 11%.
Potential Benefits

University of Cyprus

• Handling Priorities
1. Assign a priority to each request (low, normal or high).
2: Each prioritized request is translated into an integer value by the application
framework, according to the following formula: low=1, normal=5 and high=10.
3: The priority heap selects for execution the request with the highest priority number.
4: To avoid starvation of low-priority requests, the priorities of all waiting requests are
increased by 1 at every round, i.e. at a successful execution of some request.
Future Work

University of Cyprus

• Support for moving objects and dynamic environments

• Detailed system analysis by employing queuing theory.
• Device Utilization.
• Expected number of building tenants/workers and waiting times.
• Estimation of the probability of the request queue to be in certain state.
• Distribution of the length of the busy periods, sojourn and waiting times.
• Distribution of the number of arrivals during the service time etc.

• Task scheduling through priority handling.
• Device-centric Vs Service-centric approach.
Conclusions

University of Cyprus

• Intermediate request queues a promising mechanism.
• Enhancing pervasive applications with numerous benefits.
• More useful in scenarios with multiple, concurrent users and
increased percentage of transmission failures.
• Support of prioritized requests.
• Serve high traffic through load balancing.
• A dynamic, adaptive system that handles failures in the
embedded environment providing certain reliability.
Thanks for your attention!

Contact Details: Andreas Kamilaris (kami@cs.ucy.ac.cy)

More Related Content

Viewers also liked

Scott Guthrie at Dot Net Startup meetup
Scott Guthrie at Dot Net Startup meetupScott Guthrie at Dot Net Startup meetup
Scott Guthrie at Dot Net Startup meetupMarcelo Calbucci
 
Building a Startup in .NET
Building a Startup in .NETBuilding a Startup in .NET
Building a Startup in .NETMarcelo Calbucci
 
Six Lessons to build YOUR Market
Six Lessons to build YOUR MarketSix Lessons to build YOUR Market
Six Lessons to build YOUR MarketMarcelo Calbucci
 
Energy Conservation through Social Competitions in Blocks of Flats
Energy Conservation through Social Competitions in Blocks of FlatsEnergy Conservation through Social Competitions in Blocks of Flats
Energy Conservation through Social Competitions in Blocks of FlatsAndreas Kamilaris
 
A brief history of seattle startups
A brief history of seattle startupsA brief history of seattle startups
A brief history of seattle startupsMarcelo Calbucci
 
Exploring the Use of DNS as a Search Engine for the Web of Things
Exploring the Use of DNS as a Search Engine for the Web of ThingsExploring the Use of DNS as a Search Engine for the Web of Things
Exploring the Use of DNS as a Search Engine for the Web of ThingsAndreas Kamilaris
 
Validating your early stage idea
Validating your early stage ideaValidating your early stage idea
Validating your early stage ideaMarcelo Calbucci
 

Viewers also liked (7)

Scott Guthrie at Dot Net Startup meetup
Scott Guthrie at Dot Net Startup meetupScott Guthrie at Dot Net Startup meetup
Scott Guthrie at Dot Net Startup meetup
 
Building a Startup in .NET
Building a Startup in .NETBuilding a Startup in .NET
Building a Startup in .NET
 
Six Lessons to build YOUR Market
Six Lessons to build YOUR MarketSix Lessons to build YOUR Market
Six Lessons to build YOUR Market
 
Energy Conservation through Social Competitions in Blocks of Flats
Energy Conservation through Social Competitions in Blocks of FlatsEnergy Conservation through Social Competitions in Blocks of Flats
Energy Conservation through Social Competitions in Blocks of Flats
 
A brief history of seattle startups
A brief history of seattle startupsA brief history of seattle startups
A brief history of seattle startups
 
Exploring the Use of DNS as a Search Engine for the Web of Things
Exploring the Use of DNS as a Search Engine for the Web of ThingsExploring the Use of DNS as a Search Engine for the Web of Things
Exploring the Use of DNS as a Search Engine for the Web of Things
 
Validating your early stage idea
Validating your early stage ideaValidating your early stage idea
Validating your early stage idea
 

Similar to Request Queues Enhance Smart Home Performance

Performance Analysis and Optimization of Next Generation Wireless Networks (P...
Performance Analysis and Optimization of Next Generation Wireless Networks (P...Performance Analysis and Optimization of Next Generation Wireless Networks (P...
Performance Analysis and Optimization of Next Generation Wireless Networks (P...University of Piraeus
 
Cp7101 design and management of computer networks-requirements analysis 2
Cp7101 design and management of computer networks-requirements analysis 2 Cp7101 design and management of computer networks-requirements analysis 2
Cp7101 design and management of computer networks-requirements analysis 2 Dr Geetha Mohan
 
Cp7101 design and management of computer networks-requirements analysis
Cp7101 design and management of computer networks-requirements analysisCp7101 design and management of computer networks-requirements analysis
Cp7101 design and management of computer networks-requirements analysisDr Geetha Mohan
 
Wireless LAN technologies
Wireless LAN technologiesWireless LAN technologies
Wireless LAN technologiesbalasubramani p
 
Thesis PresentationvFinal3
Thesis PresentationvFinal3Thesis PresentationvFinal3
Thesis PresentationvFinal3M Ghorbanzadeh
 
Distribution Automation Europe 2013
Distribution Automation Europe 2013Distribution Automation Europe 2013
Distribution Automation Europe 2013Dale Butler
 
Measuring quality of Internet links in NRENs
Measuring quality of Internet links in NRENsMeasuring quality of Internet links in NRENs
Measuring quality of Internet links in NRENsAFRINIC
 
Modern Computing: Cloud, Distributed, & High Performance
Modern Computing: Cloud, Distributed, & High PerformanceModern Computing: Cloud, Distributed, & High Performance
Modern Computing: Cloud, Distributed, & High Performanceinside-BigData.com
 
Networkproposalppt 101202160050-phpapp01
Networkproposalppt 101202160050-phpapp01Networkproposalppt 101202160050-phpapp01
Networkproposalppt 101202160050-phpapp01hamza khan
 
Extend Your Journey: Considering Signal Strength and Fluctuation in Location-...
Extend Your Journey: Considering Signal Strength and Fluctuation in Location-...Extend Your Journey: Considering Signal Strength and Fluctuation in Location-...
Extend Your Journey: Considering Signal Strength and Fluctuation in Location-...Chih-Chuan Cheng
 
Introduction(2)
Introduction(2)Introduction(2)
Introduction(2)trayyoo
 
Cognitive Technique for Software Defined Optical Network (SDON)
Cognitive Technique for Software Defined Optical Network (SDON)Cognitive Technique for Software Defined Optical Network (SDON)
Cognitive Technique for Software Defined Optical Network (SDON)CPqD
 
Numerical Relaying.pptx
Numerical Relaying.pptxNumerical Relaying.pptx
Numerical Relaying.pptxrohith650557
 
Study of self optimization of neighbor cell listing for e nodeb in long term ...
Study of self optimization of neighbor cell listing for e nodeb in long term ...Study of self optimization of neighbor cell listing for e nodeb in long term ...
Study of self optimization of neighbor cell listing for e nodeb in long term ...Rajib Chakrabarti
 
RE3- Transmission Grid Technologies.pdf
RE3- Transmission Grid Technologies.pdfRE3- Transmission Grid Technologies.pdf
RE3- Transmission Grid Technologies.pdfMuhammadArshad436
 

Similar to Request Queues Enhance Smart Home Performance (20)

Performance Analysis and Optimization of Next Generation Wireless Networks (P...
Performance Analysis and Optimization of Next Generation Wireless Networks (P...Performance Analysis and Optimization of Next Generation Wireless Networks (P...
Performance Analysis and Optimization of Next Generation Wireless Networks (P...
 
Transport layer services
Transport layer servicesTransport layer services
Transport layer services
 
ERTOS UNIT6.ppt
ERTOS UNIT6.pptERTOS UNIT6.ppt
ERTOS UNIT6.ppt
 
Smart optimization techniques for virtual power plants
Smart optimization techniques for virtual power plants Smart optimization techniques for virtual power plants
Smart optimization techniques for virtual power plants
 
Cp7101 design and management of computer networks-requirements analysis 2
Cp7101 design and management of computer networks-requirements analysis 2 Cp7101 design and management of computer networks-requirements analysis 2
Cp7101 design and management of computer networks-requirements analysis 2
 
Smart grid communications and measurement technology
Smart grid communications and measurement technologySmart grid communications and measurement technology
Smart grid communications and measurement technology
 
Cp7101 design and management of computer networks-requirements analysis
Cp7101 design and management of computer networks-requirements analysisCp7101 design and management of computer networks-requirements analysis
Cp7101 design and management of computer networks-requirements analysis
 
Wireless LAN technologies
Wireless LAN technologiesWireless LAN technologies
Wireless LAN technologies
 
Thesis PresentationvFinal3
Thesis PresentationvFinal3Thesis PresentationvFinal3
Thesis PresentationvFinal3
 
Distribution Automation Europe 2013
Distribution Automation Europe 2013Distribution Automation Europe 2013
Distribution Automation Europe 2013
 
Measuring quality of Internet links in NRENs
Measuring quality of Internet links in NRENsMeasuring quality of Internet links in NRENs
Measuring quality of Internet links in NRENs
 
Modern Computing: Cloud, Distributed, & High Performance
Modern Computing: Cloud, Distributed, & High PerformanceModern Computing: Cloud, Distributed, & High Performance
Modern Computing: Cloud, Distributed, & High Performance
 
Networkproposalppt 101202160050-phpapp01
Networkproposalppt 101202160050-phpapp01Networkproposalppt 101202160050-phpapp01
Networkproposalppt 101202160050-phpapp01
 
Extend Your Journey: Considering Signal Strength and Fluctuation in Location-...
Extend Your Journey: Considering Signal Strength and Fluctuation in Location-...Extend Your Journey: Considering Signal Strength and Fluctuation in Location-...
Extend Your Journey: Considering Signal Strength and Fluctuation in Location-...
 
Introduction(2)
Introduction(2)Introduction(2)
Introduction(2)
 
Cognitive Technique for Software Defined Optical Network (SDON)
Cognitive Technique for Software Defined Optical Network (SDON)Cognitive Technique for Software Defined Optical Network (SDON)
Cognitive Technique for Software Defined Optical Network (SDON)
 
Research Issues on WSN
Research Issues on WSNResearch Issues on WSN
Research Issues on WSN
 
Numerical Relaying.pptx
Numerical Relaying.pptxNumerical Relaying.pptx
Numerical Relaying.pptx
 
Study of self optimization of neighbor cell listing for e nodeb in long term ...
Study of self optimization of neighbor cell listing for e nodeb in long term ...Study of self optimization of neighbor cell listing for e nodeb in long term ...
Study of self optimization of neighbor cell listing for e nodeb in long term ...
 
RE3- Transmission Grid Technologies.pdf
RE3- Transmission Grid Technologies.pdfRE3- Transmission Grid Technologies.pdf
RE3- Transmission Grid Technologies.pdf
 

More from Andreas Kamilaris

Experiences from the use of CovTracer: A contact tracing tool deployed in Cyp...
Experiences from the use of CovTracer: A contact tracing tool deployed in Cyp...Experiences from the use of CovTracer: A contact tracing tool deployed in Cyp...
Experiences from the use of CovTracer: A contact tracing tool deployed in Cyp...Andreas Kamilaris
 
Transferring manure from livestock farms to be used as fertilizer in crop fields
Transferring manure from livestock farms to be used as fertilizer in crop fieldsTransferring manure from livestock farms to be used as fertilizer in crop fields
Transferring manure from livestock farms to be used as fertilizer in crop fieldsAndreas Kamilaris
 
Training deep learning models to count using synthetic images
Training deep learning models to count using synthetic imagesTraining deep learning models to count using synthetic images
Training deep learning models to count using synthetic imagesAndreas Kamilaris
 
Geospatial Analysis and Internet of Things in Environmental Informatics
Geospatial Analysis and Internet of Things in Environmental InformaticsGeospatial Analysis and Internet of Things in Environmental Informatics
Geospatial Analysis and Internet of Things in Environmental InformaticsAndreas Kamilaris
 
A Review on the Application of Natural Computing in Environmental Informatics
A Review on the Application of Natural Computing in Environmental InformaticsA Review on the Application of Natural Computing in Environmental Informatics
A Review on the Application of Natural Computing in Environmental InformaticsAndreas Kamilaris
 
The evolution of pervasive computing towards a Web of Things
The evolution of pervasive computing towards a Web of ThingsThe evolution of pervasive computing towards a Web of Things
The evolution of pervasive computing towards a Web of ThingsAndreas Kamilaris
 
AgriBigCAT: An Online Platform for Estimating the Impact of Livestock Agricul...
AgriBigCAT: An Online Platform for Estimating the Impact of Livestock Agricul...AgriBigCAT: An Online Platform for Estimating the Impact of Livestock Agricul...
AgriBigCAT: An Online Platform for Estimating the Impact of Livestock Agricul...Andreas Kamilaris
 
Estimating the Environmental Impact of Agriculture by means of Geospatial and...
Estimating the Environmental Impact of Agriculture by means of Geospatial and...Estimating the Environmental Impact of Agriculture by means of Geospatial and...
Estimating the Environmental Impact of Agriculture by means of Geospatial and...Andreas Kamilaris
 
Disaster Monitoring using Unmanned Aerial Vehicles and Deep Learning
Disaster Monitoring using Unmanned Aerial Vehicles and Deep LearningDisaster Monitoring using Unmanned Aerial Vehicles and Deep Learning
Disaster Monitoring using Unmanned Aerial Vehicles and Deep LearningAndreas Kamilaris
 
A Web of Things Based Eco-System for Urban Computing - Towards Smarter Cities
A Web of Things Based Eco-System for Urban Computing - Towards Smarter CitiesA Web of Things Based Eco-System for Urban Computing - Towards Smarter Cities
A Web of Things Based Eco-System for Urban Computing - Towards Smarter CitiesAndreas Kamilaris
 
Big data analysis and Integration of Geophysical information from the Catalan...
Big data analysis and Integration of Geophysical information from the Catalan...Big data analysis and Integration of Geophysical information from the Catalan...
Big data analysis and Integration of Geophysical information from the Catalan...Andreas Kamilaris
 
Estimating the Impact of Agriculture on the Environment of Catalunya by means...
Estimating the Impact of Agriculture on the Environment of Catalunya by means...Estimating the Impact of Agriculture on the Environment of Catalunya by means...
Estimating the Impact of Agriculture on the Environment of Catalunya by means...Andreas Kamilaris
 
Agri-IoT: A Semantic Framework for Internet of Things-enabled Smart Farming A...
Agri-IoT: A Semantic Framework for Internet of Things-enabled Smart Farming A...Agri-IoT: A Semantic Framework for Internet of Things-enabled Smart Farming A...
Agri-IoT: A Semantic Framework for Internet of Things-enabled Smart Farming A...Andreas Kamilaris
 
Do ”Web of Things Platforms” Truly Follow the Web of Things?
Do ”Web of Things Platforms” Truly Follow the Web of Things?Do ”Web of Things Platforms” Truly Follow the Web of Things?
Do ”Web of Things Platforms” Truly Follow the Web of Things?Andreas Kamilaris
 
WOTS2E: A Search Engine for a Semantic Web of Things
WOTS2E: A Search Engine for a Semantic Web of ThingsWOTS2E: A Search Engine for a Semantic Web of Things
WOTS2E: A Search Engine for a Semantic Web of ThingsAndreas Kamilaris
 
Enabling the physical world to the Internet and potential benefits for agricu...
Enabling the physical world to the Internet and potential benefits for agricu...Enabling the physical world to the Internet and potential benefits for agricu...
Enabling the physical world to the Internet and potential benefits for agricu...Andreas Kamilaris
 
Privacy Concerns in Sharing Personal Consumption Data through Online Applicat...
Privacy Concerns in Sharing Personal Consumption Data through Online Applicat...Privacy Concerns in Sharing Personal Consumption Data through Online Applicat...
Privacy Concerns in Sharing Personal Consumption Data through Online Applicat...Andreas Kamilaris
 
Social Electricity User Manual
Social Electricity User ManualSocial Electricity User Manual
Social Electricity User ManualAndreas Kamilaris
 
Social Electricity Online Platform (SEOP) EU Project Description
Social Electricity Online Platform (SEOP) EU Project DescriptionSocial Electricity Online Platform (SEOP) EU Project Description
Social Electricity Online Platform (SEOP) EU Project DescriptionAndreas Kamilaris
 

More from Andreas Kamilaris (20)

Experiences from the use of CovTracer: A contact tracing tool deployed in Cyp...
Experiences from the use of CovTracer: A contact tracing tool deployed in Cyp...Experiences from the use of CovTracer: A contact tracing tool deployed in Cyp...
Experiences from the use of CovTracer: A contact tracing tool deployed in Cyp...
 
Transferring manure from livestock farms to be used as fertilizer in crop fields
Transferring manure from livestock farms to be used as fertilizer in crop fieldsTransferring manure from livestock farms to be used as fertilizer in crop fields
Transferring manure from livestock farms to be used as fertilizer in crop fields
 
Training deep learning models to count using synthetic images
Training deep learning models to count using synthetic imagesTraining deep learning models to count using synthetic images
Training deep learning models to count using synthetic images
 
Geospatial Analysis and Internet of Things in Environmental Informatics
Geospatial Analysis and Internet of Things in Environmental InformaticsGeospatial Analysis and Internet of Things in Environmental Informatics
Geospatial Analysis and Internet of Things in Environmental Informatics
 
A Review on the Application of Natural Computing in Environmental Informatics
A Review on the Application of Natural Computing in Environmental InformaticsA Review on the Application of Natural Computing in Environmental Informatics
A Review on the Application of Natural Computing in Environmental Informatics
 
The evolution of pervasive computing towards a Web of Things
The evolution of pervasive computing towards a Web of ThingsThe evolution of pervasive computing towards a Web of Things
The evolution of pervasive computing towards a Web of Things
 
AgriBigCAT: An Online Platform for Estimating the Impact of Livestock Agricul...
AgriBigCAT: An Online Platform for Estimating the Impact of Livestock Agricul...AgriBigCAT: An Online Platform for Estimating the Impact of Livestock Agricul...
AgriBigCAT: An Online Platform for Estimating the Impact of Livestock Agricul...
 
Estimating the Environmental Impact of Agriculture by means of Geospatial and...
Estimating the Environmental Impact of Agriculture by means of Geospatial and...Estimating the Environmental Impact of Agriculture by means of Geospatial and...
Estimating the Environmental Impact of Agriculture by means of Geospatial and...
 
Disaster Monitoring using Unmanned Aerial Vehicles and Deep Learning
Disaster Monitoring using Unmanned Aerial Vehicles and Deep LearningDisaster Monitoring using Unmanned Aerial Vehicles and Deep Learning
Disaster Monitoring using Unmanned Aerial Vehicles and Deep Learning
 
A Web of Things Based Eco-System for Urban Computing - Towards Smarter Cities
A Web of Things Based Eco-System for Urban Computing - Towards Smarter CitiesA Web of Things Based Eco-System for Urban Computing - Towards Smarter Cities
A Web of Things Based Eco-System for Urban Computing - Towards Smarter Cities
 
Big data analysis and Integration of Geophysical information from the Catalan...
Big data analysis and Integration of Geophysical information from the Catalan...Big data analysis and Integration of Geophysical information from the Catalan...
Big data analysis and Integration of Geophysical information from the Catalan...
 
Estimating the Impact of Agriculture on the Environment of Catalunya by means...
Estimating the Impact of Agriculture on the Environment of Catalunya by means...Estimating the Impact of Agriculture on the Environment of Catalunya by means...
Estimating the Impact of Agriculture on the Environment of Catalunya by means...
 
Agri-IoT: A Semantic Framework for Internet of Things-enabled Smart Farming A...
Agri-IoT: A Semantic Framework for Internet of Things-enabled Smart Farming A...Agri-IoT: A Semantic Framework for Internet of Things-enabled Smart Farming A...
Agri-IoT: A Semantic Framework for Internet of Things-enabled Smart Farming A...
 
Do ”Web of Things Platforms” Truly Follow the Web of Things?
Do ”Web of Things Platforms” Truly Follow the Web of Things?Do ”Web of Things Platforms” Truly Follow the Web of Things?
Do ”Web of Things Platforms” Truly Follow the Web of Things?
 
WOTS2E: A Search Engine for a Semantic Web of Things
WOTS2E: A Search Engine for a Semantic Web of ThingsWOTS2E: A Search Engine for a Semantic Web of Things
WOTS2E: A Search Engine for a Semantic Web of Things
 
Enabling the physical world to the Internet and potential benefits for agricu...
Enabling the physical world to the Internet and potential benefits for agricu...Enabling the physical world to the Internet and potential benefits for agricu...
Enabling the physical world to the Internet and potential benefits for agricu...
 
Privacy Concerns in Sharing Personal Consumption Data through Online Applicat...
Privacy Concerns in Sharing Personal Consumption Data through Online Applicat...Privacy Concerns in Sharing Personal Consumption Data through Online Applicat...
Privacy Concerns in Sharing Personal Consumption Data through Online Applicat...
 
Social Electricity User Manual
Social Electricity User ManualSocial Electricity User Manual
Social Electricity User Manual
 
Social Electricity
Social ElectricitySocial Electricity
Social Electricity
 
Social Electricity Online Platform (SEOP) EU Project Description
Social Electricity Online Platform (SEOP) EU Project DescriptionSocial Electricity Online Platform (SEOP) EU Project Description
Social Electricity Online Platform (SEOP) EU Project Description
 

Recently uploaded

Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 

Recently uploaded (20)

Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 

Request Queues Enhance Smart Home Performance

  • 1. Using Request Queues for Enhancing the Performance of Operations in Smart Homes Andreas Kamilaris and Andreas Pitsillides Networks Research Laboratory Dept. of Computer Science, University of Cyprus 7th Performance Monitoring, Measurement and Evaluation of Heterogeneous Wireless and Wired Networks (PM2HW2N) Workshop Paphos, Cyprus 21st October 2012
  • 2. Introduction University of Cyprus • Modern smart homes tend to being equipped with embedded sensors, actuators, smart power outlets and meters. • Transmission failures are a common happening in indoor environments. • Resource-constrained home devices have battery limitations and frequent failures. • Reduced reliability and performance. • No guarantees. • High unpredictability.
  • 3. Motivation • Better management of the interactions with embedded devices. • Reliability and performance need to be ensured. • Intermediate entities for handling communication with the smart home environment. • Request queues a suitable intermediate data structure for enhancing the performance of pervasive applications that target smart homes and building automation. University of Cyprus
  • 4. Request Queues • Request queues are defined as FIFO queues. • Installed on middleware applications for smart buildings. • Handle the requests coming from the building's tenants, targeting the embedded devices of the building. University of Cyprus
  • 5. An Application Framework for Smart Buildings University of Cyprus • Each home device is associated with its own request queue.
  • 7. Request Queue Analysis • Incoming requests need to wait in the queue for their turn, in order to be executed. • The arrival rate lambda of Web clients at the framework is modeled by the exponential distribution. University of Cyprus
  • 8. Experimental Setup • 6LoWPAN-enabled Telosb sensor motes. • Sensing capabilities exposed as RESTful Web services. • Transmission power at -25 dBm, message sizes 128 bytes. University of Cyprus
  • 9. Request Queue Analysis • Request queue retransmission interval α University of Cyprus
  • 10. Request Queue Analysis • Influence of transmission failures and different arrival rates on retransmission interval α. University of Cyprus
  • 11. Request Queue Analysis University of Cyprus • Influence of varied response times on retransmission interval α. • RTT times and St. Deviation values learned from the device thread. • Set initially to a larger value, leaving a "safe margin”. • Fine-tune adaptively during the device operation.
  • 12. Potential Benefits University of Cyprus • Multi-Client Support • Multi-hop topology additional delays of around 200 ms. • Heavy workload increases response times by 18-20% in the singlehop case and 14-17% in the multi-hop topology.
  • 13. Potential Benefits University of Cyprus • Avoiding Transmission Failures • In light workload, transmission failures not affect significantly the response times. • In heavy workloads, transmission failures cause the response times to grow almost exponentially.
  • 14. Potential Benefits University of Cyprus • Estimating Potential Response Times • Average estimation error is 12.38%, and it increases to 14.60% when the request queue size becomes larger than 2.
  • 15. Potential Benefits University of Cyprus • Load Balancing for Serving High Traffic • In low traffic, the improvement of performance is around 4-6%. • In increased traffic, the improvement reaches 11%.
  • 16. Potential Benefits University of Cyprus • Handling Priorities 1. Assign a priority to each request (low, normal or high). 2: Each prioritized request is translated into an integer value by the application framework, according to the following formula: low=1, normal=5 and high=10. 3: The priority heap selects for execution the request with the highest priority number. 4: To avoid starvation of low-priority requests, the priorities of all waiting requests are increased by 1 at every round, i.e. at a successful execution of some request.
  • 17. Future Work University of Cyprus • Support for moving objects and dynamic environments • Detailed system analysis by employing queuing theory. • Device Utilization. • Expected number of building tenants/workers and waiting times. • Estimation of the probability of the request queue to be in certain state. • Distribution of the length of the busy periods, sojourn and waiting times. • Distribution of the number of arrivals during the service time etc. • Task scheduling through priority handling. • Device-centric Vs Service-centric approach.
  • 18. Conclusions University of Cyprus • Intermediate request queues a promising mechanism. • Enhancing pervasive applications with numerous benefits. • More useful in scenarios with multiple, concurrent users and increased percentage of transmission failures. • Support of prioritized requests. • Serve high traffic through load balancing. • A dynamic, adaptive system that handles failures in the embedded environment providing certain reliability.
  • 19. Thanks for your attention! Contact Details: Andreas Kamilaris (kami@cs.ucy.ac.cy)