SlideShare a Scribd company logo
1 of 31
AIMS, Luxembourg, Luxembourg, June 6, 2012




      Cooperative Database Caching within
             Cloud Environments
          Andrei Vancea1, Guilherme Sperb Machado1, Laurent d’Orazio2,
                                   Burkhard Stiller1
        1
          Department of Informatics IFI, Communication Systems Group CSG,
                         University of Zürich UZH, Switzerland
                     2
                       Blaise Pascal University - LIMOS, France
                  vancea,stiller@ifi.uzh.ch, laurent.dorazio@isima.fr




© 2012 UZH,
Background
    Databases
      – Client: asks a query (SQL)
      – Server: returns the result (tuples)
    Client-side caching
      – Page Caching, Tuple Caching
      – Semantic Caching
              • Clients store the results of old queries
              • Old results used for answering new queries




© 2012 UZH,
Background - Semantic Caching
                                                       Query
    Semantic Regions
       – Query description
       – Result set
    Query rewriting           Queries             QUERY
       – Probe               descriptions        REWRITING
       – Remainder


                                             Probe         Remainder


                                            Semantic           Server
                                              cache

© 2012 UZH,
Database Caching & Cloud Computing

    Most cloud providers charge data transfer between
     cloud environment and “outside world” in a pay-as-you-
     go matter
    Database caching within cloud environment
       – Improves performance
       – Economic benefits
              • Amount of data transferred decreases
                  Payments for data transferred reduced




© 2012 UZH,
Approach




© 2012 UZH,
Cooperative Semantic Caching
     Share local semantic
     caches between clients
     Use cache entries of
     other clients
    Performance
     improvements




© 2012 UZH,
Cooperative Semantic Caching



                                  select * : select * fromresult age > 7 and age7 10
                                       Q3 from persons where where age > <=
                                                           persons



                      select * from R1
                      result




                                         Q1 : select * fromresult where age > 10
                                                            persons




              R1 : age > 10

© 2012 UZH,
Potential Use Cases
    GIS (Geographic Information System) storage
      – Large amount of data (e.g. seismic events)
      – Processing done on client side
      – Two-dimensional range selections (area)
    NetFlow-based architectures
      – Routers collect flow records and store them in databases
      – Analyzers (intrusion detection, accounting,… ) access them
      – Range selections (Start Time, IP)




© 2012 UZH,
Query Rewriting
                                        Query
 Query rewriting
  – Probe
  – Remote probes
  – Remainder   All queries           QUERY
                 descriptions       REWRITING
                                          ...
                                   Remote       Remote
                          Probe     probe        probe     Remainder



                          Local     Remote       Remote     Server
                        Semantic   Semantic     Semantic
                          cache      cache        cache

© 2012 UZH,
System Design




© 2012 UZH,
CoopSC
   Cooperative Semantic Caching
    Coop
    Query types
    – Selection (n-Dimensional range predicates)
    – select id, name, age from persons where 20 < age and
      age < 30
    Cache organization
    – Semantic regions
    – Distributed Index – built on top of a P2P overlay




© 2012 UZH,
CoopSC - Query Rewriting
    Local Rewriting                                           Query

       – Probe
                                                                                           Local Cache
       – Local Remainder                                   Local Rewriting

              • Portion of the query which is
                                                                                   Local
                not available in the local cache                                 Remainder

    Distributed Rewriting                                                                           Distributed
                                                                       Distributed Rewriting           Index
       – Remote Probes
       – Remainder
                                                                        …

                                                   Probe       Remote         Remote     Remainder
                                                                Probe          Probe




© 2012 UZH,
Distributed Index
                  Built on top of P2P overlay
                  Regions and queries represented as
                   rectangular shapes
                  MX-CIF Quad Tree
                   – Efficiently find intersection between
                     rectangular shapes
                  Each region is indexed in the smallest
                   quad which totally contains it
                  Easy to adapt to n-Dimensional
                   regions/queries

© 2012 UZH,
Update Handling
    Issues
       – Invalidation of old entries
       – Combining different snapshots can generate inconsistencies
    Quad space division (specified update level)
    Virtual timestamps stored in database
    Each modification increments the virtual timestamp of
     corresponding quad
    Regions store virtual timestamps of quads that they
     intersect


© 2012 UZH,
Cloud Computing Scenarios




© 2012 UZH,
Cloud Scenario A

                         Database server running
                          outside the cloud
                         Clients located inside in
                          the cloud
                         Non-operational use cases
                          – Example: cloud environment
                            used for running scientific
                            experiments




© 2012 UZH,
Cloud Scenario B

                         Database server running
                          inside the cloud
                         Clients located inside in
                          the cloud
                         Operational use cases
                          – Example: corporation
                            using cloud environment
                            as an alternative to
                            building a datacenter


© 2012 UZH,
Evaluation




© 2012 UZH,
Experiment Design
    Measurements
       – Response time
       – Amount of data transferred
       – Payments for data transfer
    Experiments
       – Cache size
       – Update level
    Testing sessions
       – 5 select testing sessions (50 queries each)
       – Update sessions interleaved


© 2012 UZH,
Evaluation
    Wisconsin benchmark dataset (10.000.000 tuples)
    Scenario A
       – Database Server: Zurich testbed
       – 5 Client: Rackspace
    Scenario B
       – Database server
              • Amazon EC2
       – 5 Clients: EmanicsLab
    Queries
       – About 10.000 tuples
       – Semantic locality

© 2012 UZH,
Scenario A




© 2012 UZH,
Data transferred/Payments

                                 CoopSC
                                  significantly reduces
                                  the number of
                                  tuples sent by
                                  database server
                                 Amount of money
                                  also reduced




© 2012 UZH,
Response Time

                           Rackspace
                            behaves unstable
                           No performance
                            improvements
                            noticed




© 2012 UZH,
Scenario B




© 2012 UZH,
Data transferred/Payments

                                 CoopSC
                                  significantly reduces
                                  the number of
                                  tuples sent by
                                  database server
                                 Bandwidth
                                  payments also
                                  reduced



© 2012 UZH,
Response Time

                           CoopSC improves
                            response time




© 2012 UZH,
Data transferred/Payments (Updates)
                               Good behavior for
                                low update rate
                               Economic and
                                performance
                                benefits




© 2012 UZH,
Response Times (Updates)
                                 Response
                                  increases with the
                                  grow of update
                                  rate




© 2012 UZH,
Summary & Conclusion
    Summary
       – Cooperative caching approach used for reducing the load of
         the database server
       – Update statements supported
       – CoopSC applied in the context of cloud environments
    CoopSC reduces the amount of data transferred
     between cloud and outside world which has economic
     benefits
    Performance benefits as long as cloud providers are
     stable

© 2012 UZH,
Questions?




© 2012 UZH,
Update Handling - Algorithm
 procedure Execute(query)
    quads = query.getIntersecteQuad(updateLevel);

     before = database.getTimestamps(quads);

     plan = rewrite(query, before);
     result = plan.execute();

     after = database.getTimestamps(quads);

     if (before == after)
           return result;
     else
           result database.execute(query);


© 2012 UZH,

More Related Content

Viewers also liked

Cooperative Database Caching within Cloud Environments
Cooperative Database Caching within Cloud EnvironmentsCooperative Database Caching within Cloud Environments
Cooperative Database Caching within Cloud Environmentsictseserv
 
2:a generationens sociala medier
2:a generationens sociala medier2:a generationens sociala medier
2:a generationens sociala medierpajo01
 
Mturi licentiate presentation
Mturi licentiate presentationMturi licentiate presentation
Mturi licentiate presentationpajo01
 
Burkhard stiller cloiuds-fu-nems-2012
Burkhard stiller cloiuds-fu-nems-2012Burkhard stiller cloiuds-fu-nems-2012
Burkhard stiller cloiuds-fu-nems-2012ictseserv
 
Fia aalborg-statement-iopapafi-v0.5
Fia aalborg-statement-iopapafi-v0.5Fia aalborg-statement-iopapafi-v0.5
Fia aalborg-statement-iopapafi-v0.5ictseserv
 
BPM in crisis
BPM in crisisBPM in crisis
BPM in crisispajo01
 
A SESERV methodology for tussle analysis in Future Internet technologies - In...
A SESERV methodology for tussle analysis in Future Internet technologies - In...A SESERV methodology for tussle analysis in Future Internet technologies - In...
A SESERV methodology for tussle analysis in Future Internet technologies - In...ictseserv
 
Socioeconomic Tussles Analysis of the ETICS Approach for Providing QoS-enable...
Socioeconomic Tussles Analysis of the ETICS Approach for Providing QoS-enable...Socioeconomic Tussles Analysis of the ETICS Approach for Providing QoS-enable...
Socioeconomic Tussles Analysis of the ETICS Approach for Providing QoS-enable...ictseserv
 
How Disruptive Technologies Influence the FI Ecosystem
How Disruptive Technologies Influence the FI EcosystemHow Disruptive Technologies Influence the FI Ecosystem
How Disruptive Technologies Influence the FI Ecosystemictseserv
 
Business models for dynamic optical infrastructures
Business models for dynamic optical infrastructures Business models for dynamic optical infrastructures
Business models for dynamic optical infrastructures ictseserv
 
Collective and participative experiences in real-world and online communities
Collective and participative experiences in real-world and online communitiesCollective and participative experiences in real-world and online communities
Collective and participative experiences in real-world and online communitiesictseserv
 
Seserv concertation-01
Seserv concertation-01Seserv concertation-01
Seserv concertation-01ictseserv
 
Update on Recent SESERV Results and Upcoming Events
Update on Recent SESERV Results and Upcoming EventsUpdate on Recent SESERV Results and Upcoming Events
Update on Recent SESERV Results and Upcoming Eventsictseserv
 

Viewers also liked (14)

Cooperative Database Caching within Cloud Environments
Cooperative Database Caching within Cloud EnvironmentsCooperative Database Caching within Cloud Environments
Cooperative Database Caching within Cloud Environments
 
2:a generationens sociala medier
2:a generationens sociala medier2:a generationens sociala medier
2:a generationens sociala medier
 
Eunice2012
Eunice2012Eunice2012
Eunice2012
 
Mturi licentiate presentation
Mturi licentiate presentationMturi licentiate presentation
Mturi licentiate presentation
 
Burkhard stiller cloiuds-fu-nems-2012
Burkhard stiller cloiuds-fu-nems-2012Burkhard stiller cloiuds-fu-nems-2012
Burkhard stiller cloiuds-fu-nems-2012
 
Fia aalborg-statement-iopapafi-v0.5
Fia aalborg-statement-iopapafi-v0.5Fia aalborg-statement-iopapafi-v0.5
Fia aalborg-statement-iopapafi-v0.5
 
BPM in crisis
BPM in crisisBPM in crisis
BPM in crisis
 
A SESERV methodology for tussle analysis in Future Internet technologies - In...
A SESERV methodology for tussle analysis in Future Internet technologies - In...A SESERV methodology for tussle analysis in Future Internet technologies - In...
A SESERV methodology for tussle analysis in Future Internet technologies - In...
 
Socioeconomic Tussles Analysis of the ETICS Approach for Providing QoS-enable...
Socioeconomic Tussles Analysis of the ETICS Approach for Providing QoS-enable...Socioeconomic Tussles Analysis of the ETICS Approach for Providing QoS-enable...
Socioeconomic Tussles Analysis of the ETICS Approach for Providing QoS-enable...
 
How Disruptive Technologies Influence the FI Ecosystem
How Disruptive Technologies Influence the FI EcosystemHow Disruptive Technologies Influence the FI Ecosystem
How Disruptive Technologies Influence the FI Ecosystem
 
Business models for dynamic optical infrastructures
Business models for dynamic optical infrastructures Business models for dynamic optical infrastructures
Business models for dynamic optical infrastructures
 
Collective and participative experiences in real-world and online communities
Collective and participative experiences in real-world and online communitiesCollective and participative experiences in real-world and online communities
Collective and participative experiences in real-world and online communities
 
Seserv concertation-01
Seserv concertation-01Seserv concertation-01
Seserv concertation-01
 
Update on Recent SESERV Results and Upcoming Events
Update on Recent SESERV Results and Upcoming EventsUpdate on Recent SESERV Results and Upcoming Events
Update on Recent SESERV Results and Upcoming Events
 

Similar to Aims2012

Model-Driven Cloud Data Storage
Model-Driven Cloud Data StorageModel-Driven Cloud Data Storage
Model-Driven Cloud Data Storagejccastrejon
 
Fusion-io Memory Flash for Microsoft SQL Server 2012
Fusion-io Memory Flash for Microsoft SQL Server 2012Fusion-io Memory Flash for Microsoft SQL Server 2012
Fusion-io Memory Flash for Microsoft SQL Server 2012Mark Ginnebaugh
 
Ceph Day New York 2014: Best Practices for Ceph-Powered Implementations of St...
Ceph Day New York 2014: Best Practices for Ceph-Powered Implementations of St...Ceph Day New York 2014: Best Practices for Ceph-Powered Implementations of St...
Ceph Day New York 2014: Best Practices for Ceph-Powered Implementations of St...Ceph Community
 
Hadoop in the Clouds, Virtualization and Virtual Machines
Hadoop in the Clouds, Virtualization and Virtual MachinesHadoop in the Clouds, Virtualization and Virtual Machines
Hadoop in the Clouds, Virtualization and Virtual MachinesDataWorks Summit
 
Ramakrishnan Keynote Ladis2009
Ramakrishnan Keynote Ladis2009Ramakrishnan Keynote Ladis2009
Ramakrishnan Keynote Ladis2009yarapavan
 
State of Resource Management in Big Data
State of Resource Management in Big DataState of Resource Management in Big Data
State of Resource Management in Big DataKhalid Ahmed
 
State of Resource Management in Big Data
State of Resource Management in Big DataState of Resource Management in Big Data
State of Resource Management in Big DataYong Feng
 
Move your Data Center to the Cloud
Move your Data Center to the CloudMove your Data Center to the Cloud
Move your Data Center to the CloudRedZone Technologies
 
Tiny Sensors, Big Data
Tiny Sensors, Big DataTiny Sensors, Big Data
Tiny Sensors, Big DataJake Galbreath
 
Communication Patterns Using Data-Centric Publish/Subscribe
Communication Patterns Using Data-Centric Publish/SubscribeCommunication Patterns Using Data-Centric Publish/Subscribe
Communication Patterns Using Data-Centric Publish/SubscribeSumant Tambe
 
Communication Patterns Using Data-Centric Publish/Subscribe
Communication Patterns Using Data-Centric Publish/SubscribeCommunication Patterns Using Data-Centric Publish/Subscribe
Communication Patterns Using Data-Centric Publish/SubscribeReal-Time Innovations (RTI)
 
Cloud Computing - Making IT Simple
 Cloud Computing - Making IT Simple Cloud Computing - Making IT Simple
Cloud Computing - Making IT SimpleBob Rhubart
 
Complex Er[jl]ang Processing with StreamBase
Complex Er[jl]ang Processing with StreamBaseComplex Er[jl]ang Processing with StreamBase
Complex Er[jl]ang Processing with StreamBasedarach
 
Distributed Block-level Storage Management for OpenStack, by Danile lee
Distributed Block-level Storage Management for OpenStack, by Danile leeDistributed Block-level Storage Management for OpenStack, by Danile lee
Distributed Block-level Storage Management for OpenStack, by Danile leeHui Cheng
 
Danile lee -open stackblocklevelstorage
Danile lee -open stackblocklevelstorageDanile lee -open stackblocklevelstorage
Danile lee -open stackblocklevelstorageOpenCity Community
 
Cloud Computing: Making IT Simple
Cloud Computing: Making IT SimpleCloud Computing: Making IT Simple
Cloud Computing: Making IT SimpleBob Rhubart
 
Dds the ideal_bus_for_event_processing_engines
Dds the ideal_bus_for_event_processing_enginesDds the ideal_bus_for_event_processing_engines
Dds the ideal_bus_for_event_processing_enginesGerardo Pardo-Castellote
 
Standardizing the Data Distribution Service (DDS) API for Modern C++
Standardizing the Data Distribution Service (DDS) API for Modern C++Standardizing the Data Distribution Service (DDS) API for Modern C++
Standardizing the Data Distribution Service (DDS) API for Modern C++Sumant Tambe
 
CloudStack Best Practice in PPTV
CloudStack Best Practice in PPTVCloudStack Best Practice in PPTV
CloudStack Best Practice in PPTVgavin_lee
 
Introduction to Cloud Data Center and Network Issues
Introduction to Cloud Data Center and Network IssuesIntroduction to Cloud Data Center and Network Issues
Introduction to Cloud Data Center and Network IssuesJason TC HOU (侯宗成)
 

Similar to Aims2012 (20)

Model-Driven Cloud Data Storage
Model-Driven Cloud Data StorageModel-Driven Cloud Data Storage
Model-Driven Cloud Data Storage
 
Fusion-io Memory Flash for Microsoft SQL Server 2012
Fusion-io Memory Flash for Microsoft SQL Server 2012Fusion-io Memory Flash for Microsoft SQL Server 2012
Fusion-io Memory Flash for Microsoft SQL Server 2012
 
Ceph Day New York 2014: Best Practices for Ceph-Powered Implementations of St...
Ceph Day New York 2014: Best Practices for Ceph-Powered Implementations of St...Ceph Day New York 2014: Best Practices for Ceph-Powered Implementations of St...
Ceph Day New York 2014: Best Practices for Ceph-Powered Implementations of St...
 
Hadoop in the Clouds, Virtualization and Virtual Machines
Hadoop in the Clouds, Virtualization and Virtual MachinesHadoop in the Clouds, Virtualization and Virtual Machines
Hadoop in the Clouds, Virtualization and Virtual Machines
 
Ramakrishnan Keynote Ladis2009
Ramakrishnan Keynote Ladis2009Ramakrishnan Keynote Ladis2009
Ramakrishnan Keynote Ladis2009
 
State of Resource Management in Big Data
State of Resource Management in Big DataState of Resource Management in Big Data
State of Resource Management in Big Data
 
State of Resource Management in Big Data
State of Resource Management in Big DataState of Resource Management in Big Data
State of Resource Management in Big Data
 
Move your Data Center to the Cloud
Move your Data Center to the CloudMove your Data Center to the Cloud
Move your Data Center to the Cloud
 
Tiny Sensors, Big Data
Tiny Sensors, Big DataTiny Sensors, Big Data
Tiny Sensors, Big Data
 
Communication Patterns Using Data-Centric Publish/Subscribe
Communication Patterns Using Data-Centric Publish/SubscribeCommunication Patterns Using Data-Centric Publish/Subscribe
Communication Patterns Using Data-Centric Publish/Subscribe
 
Communication Patterns Using Data-Centric Publish/Subscribe
Communication Patterns Using Data-Centric Publish/SubscribeCommunication Patterns Using Data-Centric Publish/Subscribe
Communication Patterns Using Data-Centric Publish/Subscribe
 
Cloud Computing - Making IT Simple
 Cloud Computing - Making IT Simple Cloud Computing - Making IT Simple
Cloud Computing - Making IT Simple
 
Complex Er[jl]ang Processing with StreamBase
Complex Er[jl]ang Processing with StreamBaseComplex Er[jl]ang Processing with StreamBase
Complex Er[jl]ang Processing with StreamBase
 
Distributed Block-level Storage Management for OpenStack, by Danile lee
Distributed Block-level Storage Management for OpenStack, by Danile leeDistributed Block-level Storage Management for OpenStack, by Danile lee
Distributed Block-level Storage Management for OpenStack, by Danile lee
 
Danile lee -open stackblocklevelstorage
Danile lee -open stackblocklevelstorageDanile lee -open stackblocklevelstorage
Danile lee -open stackblocklevelstorage
 
Cloud Computing: Making IT Simple
Cloud Computing: Making IT SimpleCloud Computing: Making IT Simple
Cloud Computing: Making IT Simple
 
Dds the ideal_bus_for_event_processing_engines
Dds the ideal_bus_for_event_processing_enginesDds the ideal_bus_for_event_processing_engines
Dds the ideal_bus_for_event_processing_engines
 
Standardizing the Data Distribution Service (DDS) API for Modern C++
Standardizing the Data Distribution Service (DDS) API for Modern C++Standardizing the Data Distribution Service (DDS) API for Modern C++
Standardizing the Data Distribution Service (DDS) API for Modern C++
 
CloudStack Best Practice in PPTV
CloudStack Best Practice in PPTVCloudStack Best Practice in PPTV
CloudStack Best Practice in PPTV
 
Introduction to Cloud Data Center and Network Issues
Introduction to Cloud Data Center and Network IssuesIntroduction to Cloud Data Center and Network Issues
Introduction to Cloud Data Center and Network Issues
 

More from ictseserv

Socio-Economic Aware Design of Future Network Technology (Y.FNsocioeconomic)
Socio-Economic Aware Design of Future Network Technology (Y.FNsocioeconomic)Socio-Economic Aware Design of Future Network Technology (Y.FNsocioeconomic)
Socio-Economic Aware Design of Future Network Technology (Y.FNsocioeconomic)ictseserv
 
Vesa terava net neutrality in europe - seserv se workshop june 2012
Vesa terava   net neutrality in europe - seserv se workshop june 2012Vesa terava   net neutrality in europe - seserv se workshop june 2012
Vesa terava net neutrality in europe - seserv se workshop june 2012ictseserv
 
Stephen minton tech transformation in the age of uncertainty - seserv se wo...
Stephen minton   tech transformation in the age of uncertainty - seserv se wo...Stephen minton   tech transformation in the age of uncertainty - seserv se wo...
Stephen minton tech transformation in the age of uncertainty - seserv se wo...ictseserv
 
Sara de freitas the gamification of everyday life - seserv se workshop june...
Sara de freitas   the gamification of everyday life - seserv se workshop june...Sara de freitas   the gamification of everyday life - seserv se workshop june...
Sara de freitas the gamification of everyday life - seserv se workshop june...ictseserv
 
Javier salcedo cloud computing - seserv se workshop june 2012
Javier salcedo   cloud computing - seserv se workshop june 2012Javier salcedo   cloud computing - seserv se workshop june 2012
Javier salcedo cloud computing - seserv se workshop june 2012ictseserv
 
Falk von bornstaedt networks perspectives and analysis in the future intern...
Falk von bornstaedt   networks perspectives and analysis in the future intern...Falk von bornstaedt   networks perspectives and analysis in the future intern...
Falk von bornstaedt networks perspectives and analysis in the future intern...ictseserv
 
Brian pickering introduction to seserv - seserv se workshop june 2012
Brian pickering   introduction to seserv - seserv se workshop june 2012Brian pickering   introduction to seserv - seserv se workshop june 2012
Brian pickering introduction to seserv - seserv se workshop june 2012ictseserv
 
Andrea Glorioso: No Disconnect Strategy - SESERV Workshop, June 2012
Andrea Glorioso: No Disconnect Strategy - SESERV Workshop, June 2012Andrea Glorioso: No Disconnect Strategy - SESERV Workshop, June 2012
Andrea Glorioso: No Disconnect Strategy - SESERV Workshop, June 2012ictseserv
 
Alessandro bogliolo workshop introduction - seserv se workshop june 2012
Alessandro bogliolo   workshop introduction - seserv se workshop june 2012Alessandro bogliolo   workshop introduction - seserv se workshop june 2012
Alessandro bogliolo workshop introduction - seserv se workshop june 2012ictseserv
 
Aleksandra kuczerawy privacy issues in future internet - seserv se workshop...
Aleksandra kuczerawy   privacy issues in future internet - seserv se workshop...Aleksandra kuczerawy   privacy issues in future internet - seserv se workshop...
Aleksandra kuczerawy privacy issues in future internet - seserv se workshop...ictseserv
 
Alan hartman trust measurement and management - seserv se workshop june 2012
Alan hartman   trust measurement and management - seserv se workshop june 2012Alan hartman   trust measurement and management - seserv se workshop june 2012
Alan hartman trust measurement and management - seserv se workshop june 2012ictseserv
 
Socio-Economic Aware Design of Future Network Technology (Y.FNsocioeconomic)
Socio-Economic Aware Design of Future Network Technology (Y.FNsocioeconomic)Socio-Economic Aware Design of Future Network Technology (Y.FNsocioeconomic)
Socio-Economic Aware Design of Future Network Technology (Y.FNsocioeconomic)ictseserv
 
Fia presentatie
Fia presentatieFia presentatie
Fia presentatieictseserv
 
Socio-Economic Aware Design of Future Network Technology (Y.FNsocioeconomic)
Socio-Economic Aware Design of Future Network Technology (Y.FNsocioeconomic)Socio-Economic Aware Design of Future Network Technology (Y.FNsocioeconomic)
Socio-Economic Aware Design of Future Network Technology (Y.FNsocioeconomic)ictseserv
 
Seserv workshop manos dramitinos - tussle analysis from etics project
Seserv workshop   manos dramitinos - tussle analysis from etics projectSeserv workshop   manos dramitinos - tussle analysis from etics project
Seserv workshop manos dramitinos - tussle analysis from etics projectictseserv
 
Seserv workshop costas kalogiros - tussle analysis examples dns-tcp
Seserv workshop   costas kalogiros - tussle analysis examples dns-tcpSeserv workshop   costas kalogiros - tussle analysis examples dns-tcp
Seserv workshop costas kalogiros - tussle analysis examples dns-tcpictseserv
 
Seserv workshop costas courcoubetis - introduction to tussle analysis metho...
Seserv workshop   costas courcoubetis - introduction to tussle analysis metho...Seserv workshop   costas courcoubetis - introduction to tussle analysis metho...
Seserv workshop costas courcoubetis - introduction to tussle analysis metho...ictseserv
 
Sending party network pays
Sending party network paysSending party network pays
Sending party network paysictseserv
 
Seserv workshop alissa cooper - net neutrality practices
Seserv workshop   alissa cooper - net neutrality practicesSeserv workshop   alissa cooper - net neutrality practices
Seserv workshop alissa cooper - net neutrality practicesictseserv
 
Seserv athens-workshop-brief-report
Seserv athens-workshop-brief-reportSeserv athens-workshop-brief-report
Seserv athens-workshop-brief-reportictseserv
 

More from ictseserv (20)

Socio-Economic Aware Design of Future Network Technology (Y.FNsocioeconomic)
Socio-Economic Aware Design of Future Network Technology (Y.FNsocioeconomic)Socio-Economic Aware Design of Future Network Technology (Y.FNsocioeconomic)
Socio-Economic Aware Design of Future Network Technology (Y.FNsocioeconomic)
 
Vesa terava net neutrality in europe - seserv se workshop june 2012
Vesa terava   net neutrality in europe - seserv se workshop june 2012Vesa terava   net neutrality in europe - seserv se workshop june 2012
Vesa terava net neutrality in europe - seserv se workshop june 2012
 
Stephen minton tech transformation in the age of uncertainty - seserv se wo...
Stephen minton   tech transformation in the age of uncertainty - seserv se wo...Stephen minton   tech transformation in the age of uncertainty - seserv se wo...
Stephen minton tech transformation in the age of uncertainty - seserv se wo...
 
Sara de freitas the gamification of everyday life - seserv se workshop june...
Sara de freitas   the gamification of everyday life - seserv se workshop june...Sara de freitas   the gamification of everyday life - seserv se workshop june...
Sara de freitas the gamification of everyday life - seserv se workshop june...
 
Javier salcedo cloud computing - seserv se workshop june 2012
Javier salcedo   cloud computing - seserv se workshop june 2012Javier salcedo   cloud computing - seserv se workshop june 2012
Javier salcedo cloud computing - seserv se workshop june 2012
 
Falk von bornstaedt networks perspectives and analysis in the future intern...
Falk von bornstaedt   networks perspectives and analysis in the future intern...Falk von bornstaedt   networks perspectives and analysis in the future intern...
Falk von bornstaedt networks perspectives and analysis in the future intern...
 
Brian pickering introduction to seserv - seserv se workshop june 2012
Brian pickering   introduction to seserv - seserv se workshop june 2012Brian pickering   introduction to seserv - seserv se workshop june 2012
Brian pickering introduction to seserv - seserv se workshop june 2012
 
Andrea Glorioso: No Disconnect Strategy - SESERV Workshop, June 2012
Andrea Glorioso: No Disconnect Strategy - SESERV Workshop, June 2012Andrea Glorioso: No Disconnect Strategy - SESERV Workshop, June 2012
Andrea Glorioso: No Disconnect Strategy - SESERV Workshop, June 2012
 
Alessandro bogliolo workshop introduction - seserv se workshop june 2012
Alessandro bogliolo   workshop introduction - seserv se workshop june 2012Alessandro bogliolo   workshop introduction - seserv se workshop june 2012
Alessandro bogliolo workshop introduction - seserv se workshop june 2012
 
Aleksandra kuczerawy privacy issues in future internet - seserv se workshop...
Aleksandra kuczerawy   privacy issues in future internet - seserv se workshop...Aleksandra kuczerawy   privacy issues in future internet - seserv se workshop...
Aleksandra kuczerawy privacy issues in future internet - seserv se workshop...
 
Alan hartman trust measurement and management - seserv se workshop june 2012
Alan hartman   trust measurement and management - seserv se workshop june 2012Alan hartman   trust measurement and management - seserv se workshop june 2012
Alan hartman trust measurement and management - seserv se workshop june 2012
 
Socio-Economic Aware Design of Future Network Technology (Y.FNsocioeconomic)
Socio-Economic Aware Design of Future Network Technology (Y.FNsocioeconomic)Socio-Economic Aware Design of Future Network Technology (Y.FNsocioeconomic)
Socio-Economic Aware Design of Future Network Technology (Y.FNsocioeconomic)
 
Fia presentatie
Fia presentatieFia presentatie
Fia presentatie
 
Socio-Economic Aware Design of Future Network Technology (Y.FNsocioeconomic)
Socio-Economic Aware Design of Future Network Technology (Y.FNsocioeconomic)Socio-Economic Aware Design of Future Network Technology (Y.FNsocioeconomic)
Socio-Economic Aware Design of Future Network Technology (Y.FNsocioeconomic)
 
Seserv workshop manos dramitinos - tussle analysis from etics project
Seserv workshop   manos dramitinos - tussle analysis from etics projectSeserv workshop   manos dramitinos - tussle analysis from etics project
Seserv workshop manos dramitinos - tussle analysis from etics project
 
Seserv workshop costas kalogiros - tussle analysis examples dns-tcp
Seserv workshop   costas kalogiros - tussle analysis examples dns-tcpSeserv workshop   costas kalogiros - tussle analysis examples dns-tcp
Seserv workshop costas kalogiros - tussle analysis examples dns-tcp
 
Seserv workshop costas courcoubetis - introduction to tussle analysis metho...
Seserv workshop   costas courcoubetis - introduction to tussle analysis metho...Seserv workshop   costas courcoubetis - introduction to tussle analysis metho...
Seserv workshop costas courcoubetis - introduction to tussle analysis metho...
 
Sending party network pays
Sending party network paysSending party network pays
Sending party network pays
 
Seserv workshop alissa cooper - net neutrality practices
Seserv workshop   alissa cooper - net neutrality practicesSeserv workshop   alissa cooper - net neutrality practices
Seserv workshop alissa cooper - net neutrality practices
 
Seserv athens-workshop-brief-report
Seserv athens-workshop-brief-reportSeserv athens-workshop-brief-report
Seserv athens-workshop-brief-report
 

Recently uploaded

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
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
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 

Recently uploaded (20)

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
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
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 

Aims2012

  • 1. AIMS, Luxembourg, Luxembourg, June 6, 2012 Cooperative Database Caching within Cloud Environments Andrei Vancea1, Guilherme Sperb Machado1, Laurent d’Orazio2, Burkhard Stiller1 1 Department of Informatics IFI, Communication Systems Group CSG, University of Zürich UZH, Switzerland 2 Blaise Pascal University - LIMOS, France vancea,stiller@ifi.uzh.ch, laurent.dorazio@isima.fr © 2012 UZH,
  • 2. Background  Databases – Client: asks a query (SQL) – Server: returns the result (tuples)  Client-side caching – Page Caching, Tuple Caching – Semantic Caching • Clients store the results of old queries • Old results used for answering new queries © 2012 UZH,
  • 3. Background - Semantic Caching Query  Semantic Regions – Query description – Result set  Query rewriting Queries QUERY – Probe descriptions REWRITING – Remainder Probe Remainder Semantic Server cache © 2012 UZH,
  • 4. Database Caching & Cloud Computing  Most cloud providers charge data transfer between cloud environment and “outside world” in a pay-as-you- go matter  Database caching within cloud environment – Improves performance – Economic benefits • Amount of data transferred decreases Payments for data transferred reduced © 2012 UZH,
  • 6. Cooperative Semantic Caching Share local semantic caches between clients Use cache entries of other clients  Performance improvements © 2012 UZH,
  • 7. Cooperative Semantic Caching select * : select * fromresult age > 7 and age7 10 Q3 from persons where where age > <= persons select * from R1 result Q1 : select * fromresult where age > 10 persons R1 : age > 10 © 2012 UZH,
  • 8. Potential Use Cases  GIS (Geographic Information System) storage – Large amount of data (e.g. seismic events) – Processing done on client side – Two-dimensional range selections (area)  NetFlow-based architectures – Routers collect flow records and store them in databases – Analyzers (intrusion detection, accounting,… ) access them – Range selections (Start Time, IP) © 2012 UZH,
  • 9. Query Rewriting Query Query rewriting – Probe – Remote probes – Remainder All queries QUERY descriptions REWRITING ... Remote Remote Probe probe probe Remainder Local Remote Remote Server Semantic Semantic Semantic cache cache cache © 2012 UZH,
  • 11. CoopSC  Cooperative Semantic Caching Coop Query types – Selection (n-Dimensional range predicates) – select id, name, age from persons where 20 < age and age < 30 Cache organization – Semantic regions – Distributed Index – built on top of a P2P overlay © 2012 UZH,
  • 12. CoopSC - Query Rewriting  Local Rewriting Query – Probe Local Cache – Local Remainder Local Rewriting • Portion of the query which is Local not available in the local cache Remainder  Distributed Rewriting Distributed Distributed Rewriting Index – Remote Probes – Remainder … Probe Remote Remote Remainder Probe Probe © 2012 UZH,
  • 13. Distributed Index  Built on top of P2P overlay  Regions and queries represented as rectangular shapes  MX-CIF Quad Tree – Efficiently find intersection between rectangular shapes  Each region is indexed in the smallest quad which totally contains it  Easy to adapt to n-Dimensional regions/queries © 2012 UZH,
  • 14. Update Handling  Issues – Invalidation of old entries – Combining different snapshots can generate inconsistencies  Quad space division (specified update level)  Virtual timestamps stored in database  Each modification increments the virtual timestamp of corresponding quad  Regions store virtual timestamps of quads that they intersect © 2012 UZH,
  • 16. Cloud Scenario A  Database server running outside the cloud  Clients located inside in the cloud  Non-operational use cases – Example: cloud environment used for running scientific experiments © 2012 UZH,
  • 17. Cloud Scenario B  Database server running inside the cloud  Clients located inside in the cloud  Operational use cases – Example: corporation using cloud environment as an alternative to building a datacenter © 2012 UZH,
  • 19. Experiment Design  Measurements – Response time – Amount of data transferred – Payments for data transfer  Experiments – Cache size – Update level  Testing sessions – 5 select testing sessions (50 queries each) – Update sessions interleaved © 2012 UZH,
  • 20. Evaluation  Wisconsin benchmark dataset (10.000.000 tuples)  Scenario A – Database Server: Zurich testbed – 5 Client: Rackspace  Scenario B – Database server • Amazon EC2 – 5 Clients: EmanicsLab  Queries – About 10.000 tuples – Semantic locality © 2012 UZH,
  • 22. Data transferred/Payments  CoopSC significantly reduces the number of tuples sent by database server  Amount of money also reduced © 2012 UZH,
  • 23. Response Time  Rackspace behaves unstable  No performance improvements noticed © 2012 UZH,
  • 25. Data transferred/Payments  CoopSC significantly reduces the number of tuples sent by database server  Bandwidth payments also reduced © 2012 UZH,
  • 26. Response Time  CoopSC improves response time © 2012 UZH,
  • 27. Data transferred/Payments (Updates)  Good behavior for low update rate  Economic and performance benefits © 2012 UZH,
  • 28. Response Times (Updates)  Response increases with the grow of update rate © 2012 UZH,
  • 29. Summary & Conclusion  Summary – Cooperative caching approach used for reducing the load of the database server – Update statements supported – CoopSC applied in the context of cloud environments  CoopSC reduces the amount of data transferred between cloud and outside world which has economic benefits  Performance benefits as long as cloud providers are stable © 2012 UZH,
  • 31. Update Handling - Algorithm procedure Execute(query) quads = query.getIntersecteQuad(updateLevel); before = database.getTimestamps(quads); plan = rewrite(query, before); result = plan.execute(); after = database.getTimestamps(quads); if (before == after) return result; else result database.execute(query); © 2012 UZH,