SlideShare a Scribd company logo
1 of 19
Download to read offline
Bassa: A Time Shifted Web Caching System for
            Developing Regions

     Wathsala W. Vithanage | Ajanth S. Atukorale



                   June 29, 2011
Introduction


   Web caches in developing regions have varying hit rates. (10% -
   25% in India according to J. Chen et al. [1] and 50% in Cambodia
   according to Bowei et al. [2])

   Even with web caching page load times are quite high in
   developing regions due to congestion on low bandwidth networks

   Large file downloads can be time shifted by a web proxy. When
   networks are highly congested web proxies can perform time shifted
   caching by queuing the request in order to fetch the file later.
Observations




      Networks in most developing countries are highly congested
      during the day time and underutilized during the night.
      This has been observed in an analysis of WWW traffic in
      Guana and Cambodia [2].
      This has been observed in Sri Lankan universities as well [3].
Bandwidth Utilization




        Figure: Bandwidth utilization before time shifted caching.
Time Shifting the Caching Process




      Based on content
        1   It might be possible to time shift caching of certain content
            types. (Ex: Video, Application, etc)
      Based on size
        1   It might be possible to time shift caching of content based on
            an object size threshold. (Ex: Objects larger than 20MB)
Time Shifting the Caching Process
                         10000                                                                     1e+06
                                                     Video Content                                                      Application Content
                                                                                                  100000
                          1000
             Frequency




                                                                                      Frequency
                                                                                                   10000


                           100                                                                      1000


                                                                                                     100
                            10
                                                                                                      10


                             1                                                                         1
                                  1   10     100      1000   10000 100000 1e+06                            1   10     100     1000 10000 100000 1e+06 1e+07
                                             Object Size                                                                    Object Size

                             (a) Video Content                                                 (b) Application Content
                         1e+07                                                                    1e+07
                                                       Peak Hours                                                   All Object for 24 Hours
                         1e+06                     Off Peak Hours                                 1e+06

                         100000                                                                   100000
          Frequency




                                                                                   Frequency
                         10000                                                                     10000

                          1000                                                                     1000

                           100                                                                      100

                            10                                                                       10

                             1                                                                        1
                                  1   10   100     1000 10000 100000 1e+06 1e+07                           1   10     100    1000 10000 100000 1e+06 1e+07
                                             Object Size                                                                Object Size

                             (c) Split by Time                                                             (d) All Objects
Time Shifting based on Object Size
   Deciding the appropriate object size threshold for time shifting.




   Figure: Object size threshold vs bandwidth usage with the fitted curve of
   the form a/x + b where a = 2.075 and b = 0.059.
Abstract Time Shifted Caching System




        Figure: Proxy server with time shifted caching capability.
Time Shifting Results

                             1
                                               Total
                                  Larger than 70MB

                            0.8
           Amount of Data




                            0.6




                            0.4




                            0.2




                             0
                                  0               5      10         15   20
                                                       Time of the Day

               Figure: Object size threshold vs bandwidth usage
Time Shifting Results


                                     0.8
                                                                        Data for 24 Hours
    Used bandwidth/Total Bandwidth




                                     0.7                              Data for Peak Hours


                                     0.6


                                     0.5


                                     0.4


                                     0.3


                                     0.2


                                     0.1


                                      0
                                           0   50     100     150      200         250      300
                                                     Object Size Threshold

                                     (a) Bandwidth Utilization After                              (b) Bandwidth Utilization Before

                                                    Figure: Bandwidth Utilization vs Size Threshold
Time Shifting Results


   The 23% of the bandwidth saved by time shifting of caching has
   increased the number of data volume and number of requests.

               Table: Details on Deployment Environment.


                   Number of Requests    Data Volume in GB
          Before       7,909,912                760
          After        9,967,372               1030
Time Shifting Results



                     Table: Summary percentages.
      Content Type   Before As a    After As a     Change
                     Percentage     Percentage     in     Data
                     of 760GB       of 1030GB      Volume
         Video       40.38%         47.42%         +59.15%
       Application   33.06%         33.03%         +35.40%
         Audio       0.29%          0.59%          +175.72%
         Image       13.74%         8.95%          -11.52%
          Text       12.04%         5.99%          -32.57%
         Other       0.49%          4.02%          +1011.86%
Time Shifting Results

      7% of the total bandwidth was used during the night for
      downloading video content.
      4% of the total bandwidth was used for downloading binary,
      octet-stream types (ISO disk images and Executables).
      Bandwidth consumed for text and images were reduced by
      -32.5% and -11.5% respectively.
      35% increase in the data volume after time shifted caching
      was introduced.
      Even though 23% of the bandwidth was freed during the
      daytime only 21.7% of this amount was utilized.
        1   This implies that our network was not saturated after
            deploying Bassa.
        2   This also tells us that it is possible to increase the object size
            threshold to a larger value.
      100% increase in large file downloads.
Conclusion



      Bassa has reduced the network congestion during the day.
      Increased video content is an evidence.
      Bassa has utilized the network that idles throughout night.
      Bassa has encouraged users to download large files such as
      ISO disk images and Videos. 100% increase in large file
      downloads.
      Some users got annoyed as 8% of the downloads failed due to
      session timeouts.
Bassa Architecture




             Figure: Bassa Components and Messages.
User Interface




                 Figure: Bassa Main User Interface.
User Interface




                 Figure: Bassa Personal User Interface.
Questions and Comments
References
      Jay Chen, Saleema Amershi, Aditya Dhananjay, and Lakshmi
      Subramanian.
      Comparing web interaction models in developing regions.
      In Proceedings of the First ACM Symposium on Computing
      for Development, ACM DEV ’10, pages 6:1–6:9, New York,
      NY, USA, 2010. ACM.
      Bowei Du, Michael Demmer, and Eric Brewer.
      Analysis of www traffic in cambodia and ghana.
      In Proceedings of the 15th international conference on World
      Wide Web, WWW ’06, pages 771–780, New York, NY, USA,
      2006. ACM.
      W V Wathsala, B Siddhisena, and A S Atukorale.
      Next generation proxy servers.
      In Proceedings of 10th International Conference on Advanced
      Communication Technology, volume 3 of ICACT ’08, pages

More Related Content

Recently uploaded

Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
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
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe 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
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
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
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
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
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 

Recently uploaded (20)

Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
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
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
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
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
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
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
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?
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Bassa presentation

  • 1. Bassa: A Time Shifted Web Caching System for Developing Regions Wathsala W. Vithanage | Ajanth S. Atukorale June 29, 2011
  • 2. Introduction Web caches in developing regions have varying hit rates. (10% - 25% in India according to J. Chen et al. [1] and 50% in Cambodia according to Bowei et al. [2]) Even with web caching page load times are quite high in developing regions due to congestion on low bandwidth networks Large file downloads can be time shifted by a web proxy. When networks are highly congested web proxies can perform time shifted caching by queuing the request in order to fetch the file later.
  • 3. Observations Networks in most developing countries are highly congested during the day time and underutilized during the night. This has been observed in an analysis of WWW traffic in Guana and Cambodia [2]. This has been observed in Sri Lankan universities as well [3].
  • 4. Bandwidth Utilization Figure: Bandwidth utilization before time shifted caching.
  • 5. Time Shifting the Caching Process Based on content 1 It might be possible to time shift caching of certain content types. (Ex: Video, Application, etc) Based on size 1 It might be possible to time shift caching of content based on an object size threshold. (Ex: Objects larger than 20MB)
  • 6. Time Shifting the Caching Process 10000 1e+06 Video Content Application Content 100000 1000 Frequency Frequency 10000 100 1000 100 10 10 1 1 1 10 100 1000 10000 100000 1e+06 1 10 100 1000 10000 100000 1e+06 1e+07 Object Size Object Size (a) Video Content (b) Application Content 1e+07 1e+07 Peak Hours All Object for 24 Hours 1e+06 Off Peak Hours 1e+06 100000 100000 Frequency Frequency 10000 10000 1000 1000 100 100 10 10 1 1 1 10 100 1000 10000 100000 1e+06 1e+07 1 10 100 1000 10000 100000 1e+06 1e+07 Object Size Object Size (c) Split by Time (d) All Objects
  • 7. Time Shifting based on Object Size Deciding the appropriate object size threshold for time shifting. Figure: Object size threshold vs bandwidth usage with the fitted curve of the form a/x + b where a = 2.075 and b = 0.059.
  • 8. Abstract Time Shifted Caching System Figure: Proxy server with time shifted caching capability.
  • 9. Time Shifting Results 1 Total Larger than 70MB 0.8 Amount of Data 0.6 0.4 0.2 0 0 5 10 15 20 Time of the Day Figure: Object size threshold vs bandwidth usage
  • 10. Time Shifting Results 0.8 Data for 24 Hours Used bandwidth/Total Bandwidth 0.7 Data for Peak Hours 0.6 0.5 0.4 0.3 0.2 0.1 0 0 50 100 150 200 250 300 Object Size Threshold (a) Bandwidth Utilization After (b) Bandwidth Utilization Before Figure: Bandwidth Utilization vs Size Threshold
  • 11. Time Shifting Results The 23% of the bandwidth saved by time shifting of caching has increased the number of data volume and number of requests. Table: Details on Deployment Environment. Number of Requests Data Volume in GB Before 7,909,912 760 After 9,967,372 1030
  • 12. Time Shifting Results Table: Summary percentages. Content Type Before As a After As a Change Percentage Percentage in Data of 760GB of 1030GB Volume Video 40.38% 47.42% +59.15% Application 33.06% 33.03% +35.40% Audio 0.29% 0.59% +175.72% Image 13.74% 8.95% -11.52% Text 12.04% 5.99% -32.57% Other 0.49% 4.02% +1011.86%
  • 13. Time Shifting Results 7% of the total bandwidth was used during the night for downloading video content. 4% of the total bandwidth was used for downloading binary, octet-stream types (ISO disk images and Executables). Bandwidth consumed for text and images were reduced by -32.5% and -11.5% respectively. 35% increase in the data volume after time shifted caching was introduced. Even though 23% of the bandwidth was freed during the daytime only 21.7% of this amount was utilized. 1 This implies that our network was not saturated after deploying Bassa. 2 This also tells us that it is possible to increase the object size threshold to a larger value. 100% increase in large file downloads.
  • 14. Conclusion Bassa has reduced the network congestion during the day. Increased video content is an evidence. Bassa has utilized the network that idles throughout night. Bassa has encouraged users to download large files such as ISO disk images and Videos. 100% increase in large file downloads. Some users got annoyed as 8% of the downloads failed due to session timeouts.
  • 15. Bassa Architecture Figure: Bassa Components and Messages.
  • 16. User Interface Figure: Bassa Main User Interface.
  • 17. User Interface Figure: Bassa Personal User Interface.
  • 19. References Jay Chen, Saleema Amershi, Aditya Dhananjay, and Lakshmi Subramanian. Comparing web interaction models in developing regions. In Proceedings of the First ACM Symposium on Computing for Development, ACM DEV ’10, pages 6:1–6:9, New York, NY, USA, 2010. ACM. Bowei Du, Michael Demmer, and Eric Brewer. Analysis of www traffic in cambodia and ghana. In Proceedings of the 15th international conference on World Wide Web, WWW ’06, pages 771–780, New York, NY, USA, 2006. ACM. W V Wathsala, B Siddhisena, and A S Atukorale. Next generation proxy servers. In Proceedings of 10th International Conference on Advanced Communication Technology, volume 3 of ICACT ’08, pages