SlideShare a Scribd company logo
1
A Web Service for Flexible Integration
of
Mobile Applications with Social
Networks
Victor Pantoja and Markus Endler
PUC-Rio, Brazil
2
Technical advances of mobile technologies and Web have
promoted new forms of social interactions
Motivation
»
Mobile Social Software (MoSoSo) made social connectivity even
more explicit:
»
· Extends interpersonal to network interactions through the many-
to-many communication paradigm of online social networks.
Virtual and physical worlds are rapidly growing together:»
· Online social networks are increasingly used for
interaction
2
3
Motivation
Current MoSoSo has usually no support for uniform and extensible
interaction with online social networks, other web services and
mobile middleware systems for context processing.
»
Inefficient transfer of information:»
· Amount of data transferred
· Higher consumption of wireless bandwidth and battery
· Example: Google Maps API
3
4
ss
Motivation - Scenario
4
Academic Car Sharing Network
Prof. Paul
UniRio Campus
Student Anna
5
Motivation - Scenario
5
UniRio Campus
Academic Car Sharing Network
Prof. PaulStudent Anna
Pervasive Context:
Location, speed, userID
Pervasive Context:
Location, userID
Social Context:
Anna and Paul have common
acquaintaces
6
Mobile Social Gateway
Provides a generic interface for optimized information transfer
between mobile devices and social networks or other web
services
»
» Allows third-party Web services to subscribe for a specific
context information
» Performance and scalability were major concerns
6
7
Architecture
Prototype
Performance
Conclusion
Agenda
1
2
3
4
7
8
Architecture of MoSoGw
MoSoGw is responsible for filtering, caching and distributing
context data from the mobile device to social networks and vice-
versa
»
The primary goals of MoSoGw are:»
· Minimize the amount of data transferred
· Allow for some kind of processing of the pervasive and social
context data
· Provide a uniform interface to the social networks
8
9
Architecture of
MoSoGw
SN: Social Network
WS: Web Service
CMS: Context Management
System
9
10
Architecture of MoSoGw
nginx HTTP server:»
· Event-driven architecture
· Asynchronous non-blocking I/O
· disk cache
Tornado:»
· lean Python framework
· high performance
· non-blocking I/O
Each component was chosen
in order to achieve high
performance:
10
memcached: memory cache»
11
APIs
11
Android Java API»
· better suited to mobile app developers
· details are hidden behind the Java class abstraction
Allows client applications and third-party web services to be built
by using any platform/environment
»
REST API:»
· applications must know MoSoGw interfaces and URLs
12
Prototype
Mobile Social Share:»
· Allows mobile users to share context information about their
position
· Estimates traffic conditions based on users’ velocities
· Twitter, Facebook and 3rd Party Apps
12
13
Prototype
13
14
Prototype
14
15
Performance Evaluation
Ubuntu 10.04 with 512MB RAM»
»Simple MoSoGw box:
· 1 nginx instance
· 1 Tornado instance
· 1 MySQL Server
All the three cache layers described were implemented»
Scenario:»
1 - Create a new user
2 - Log in with a user
3 - Send an invitation to another user
4 - Send context information to Twitter15
16
Performance
Evaluation
16
17
Performance
Evaluation
Peak of 4.45s but it is quite reasonable to assume that users can wait
4.45s to get a context information update17
Average: 0.177s
18
Conclusion
MoSoGw facilitates integration with social networks»
It enables third-party web services to process or match users’
context information and social network data
»
Initial usage and performance tests are non-conclusive»
MoSoGw has some promising architectural features.»
18
· makes it transparent for developers
19
Future Work
Parallel/distributed deployment MoSoGw and precisely assess its
scalability
19
20
Future Work
Better exploring integration with third party apps
20
21
Thank You!
victor.pantoja@gmail.com
21

More Related Content

Similar to A Web Service for Flexible Integration of Mobile Applications with Social Networks

Crime security.
Crime security.Crime security.
Crime security.
Nishan Shah
 
PROCEDURE OF EFFECTIVE USE OF CLOUDLETS IN WIRELESS METROPOLITAN AREA NETWORK...
PROCEDURE OF EFFECTIVE USE OF CLOUDLETS IN WIRELESS METROPOLITAN AREA NETWORK...PROCEDURE OF EFFECTIVE USE OF CLOUDLETS IN WIRELESS METROPOLITAN AREA NETWORK...
PROCEDURE OF EFFECTIVE USE OF CLOUDLETS IN WIRELESS METROPOLITAN AREA NETWORK...
IJCNCJournal
 
Towards Interoperable, Cognitive and Autonomic IoT Systems: an Agent-based Ap...
Towards Interoperable, Cognitive and Autonomic IoT Systems: an Agent-based Ap...Towards Interoperable, Cognitive and Autonomic IoT Systems: an Agent-based Ap...
Towards Interoperable, Cognitive and Autonomic IoT Systems: an Agent-based Ap...
Universita della Calabria,
 
Grid computing
Grid computingGrid computing
Grid computing
Beethika Sarangi
 
Cloud Camp Milan 2K9 Telecom Italia: Where P2P?
Cloud Camp Milan 2K9 Telecom Italia: Where P2P?Cloud Camp Milan 2K9 Telecom Italia: Where P2P?
Cloud Camp Milan 2K9 Telecom Italia: Where P2P?
Gabriele Bozzi
 
CloudCamp Milan 2009: Telecom Italia
CloudCamp Milan 2009: Telecom ItaliaCloudCamp Milan 2009: Telecom Italia
CloudCamp Milan 2009: Telecom Italia
Gabriele Bozzi
 
Geochronos File Sharing Application Using Cloud
Geochronos File Sharing Application Using CloudGeochronos File Sharing Application Using Cloud
Geochronos File Sharing Application Using Cloud
IJERA Editor
 
presentation_SB_v01
presentation_SB_v01presentation_SB_v01
presentation_SB_v01
Salvatore Balzano
 
Real-Time WebRTC based Mobile Surveillance System
Real-Time WebRTC based Mobile Surveillance SystemReal-Time WebRTC based Mobile Surveillance System
Real-Time WebRTC based Mobile Surveillance System
Dr. Amarjeet Singh
 
Real-Time WebRTC based Mobile Surveillance System
Real-Time WebRTC based Mobile Surveillance SystemReal-Time WebRTC based Mobile Surveillance System
Real-Time WebRTC based Mobile Surveillance System
Dr. Amarjeet Singh
 
Cloud Module 1.pptx
Cloud Module 1.pptxCloud Module 1.pptx
Cloud Module 1.pptx
John Veigas
 
How to build Web3 applications_101 Blockchains (1).pdf
How to build Web3 applications_101 Blockchains (1).pdfHow to build Web3 applications_101 Blockchains (1).pdf
How to build Web3 applications_101 Blockchains (1).pdf
101 Blockchains
 
How to build A Web3 applications_ Web3.pdf
How to build A Web3 applications_ Web3.pdfHow to build A Web3 applications_ Web3.pdf
How to build A Web3 applications_ Web3.pdf
101 Blockchains
 
iMinds The Conference: Danny Hughes
iMinds The Conference: Danny HughesiMinds The Conference: Danny Hughes
iMinds The Conference: Danny Hughes
imec
 
Review 2 _PPT_Template_majorproject.pptx
Review 2 _PPT_Template_majorproject.pptxReview 2 _PPT_Template_majorproject.pptx
Review 2 _PPT_Template_majorproject.pptx
pd7684
 
PPT on MS-CIT Unit-2
PPT on MS-CIT Unit-2PPT on MS-CIT Unit-2
PPT on MS-CIT Unit-2
SHRIBALAJIINFOTECH
 
An Intermediate Service Composer Architecture for Dynamic Discovery and Invoc...
An Intermediate Service Composer Architecture for Dynamic Discovery and Invoc...An Intermediate Service Composer Architecture for Dynamic Discovery and Invoc...
An Intermediate Service Composer Architecture for Dynamic Discovery and Invoc...
IOSR Journals
 
Iaetsd efficient file transferring in
Iaetsd efficient file transferring inIaetsd efficient file transferring in
Iaetsd efficient file transferring in
Iaetsd Iaetsd
 
THE SOCIALIZED INFRASTRUCTURE OF THE INTERNET ON THE COMPUTING LEVEL
THE SOCIALIZED INFRASTRUCTURE OF THE INTERNET ON THE COMPUTING LEVEL THE SOCIALIZED INFRASTRUCTURE OF THE INTERNET ON THE COMPUTING LEVEL
THE SOCIALIZED INFRASTRUCTURE OF THE INTERNET ON THE COMPUTING LEVEL
AIRCC Publishing Corporation
 
THE SOCIALIZED INFRASTRUCTURE OF THE INTERNET ON THE COMPUTING LEVEL
THE SOCIALIZED INFRASTRUCTURE OF THE INTERNET ON THE COMPUTING LEVEL THE SOCIALIZED INFRASTRUCTURE OF THE INTERNET ON THE COMPUTING LEVEL
THE SOCIALIZED INFRASTRUCTURE OF THE INTERNET ON THE COMPUTING LEVEL
ijcsit
 

Similar to A Web Service for Flexible Integration of Mobile Applications with Social Networks (20)

Crime security.
Crime security.Crime security.
Crime security.
 
PROCEDURE OF EFFECTIVE USE OF CLOUDLETS IN WIRELESS METROPOLITAN AREA NETWORK...
PROCEDURE OF EFFECTIVE USE OF CLOUDLETS IN WIRELESS METROPOLITAN AREA NETWORK...PROCEDURE OF EFFECTIVE USE OF CLOUDLETS IN WIRELESS METROPOLITAN AREA NETWORK...
PROCEDURE OF EFFECTIVE USE OF CLOUDLETS IN WIRELESS METROPOLITAN AREA NETWORK...
 
Towards Interoperable, Cognitive and Autonomic IoT Systems: an Agent-based Ap...
Towards Interoperable, Cognitive and Autonomic IoT Systems: an Agent-based Ap...Towards Interoperable, Cognitive and Autonomic IoT Systems: an Agent-based Ap...
Towards Interoperable, Cognitive and Autonomic IoT Systems: an Agent-based Ap...
 
Grid computing
Grid computingGrid computing
Grid computing
 
Cloud Camp Milan 2K9 Telecom Italia: Where P2P?
Cloud Camp Milan 2K9 Telecom Italia: Where P2P?Cloud Camp Milan 2K9 Telecom Italia: Where P2P?
Cloud Camp Milan 2K9 Telecom Italia: Where P2P?
 
CloudCamp Milan 2009: Telecom Italia
CloudCamp Milan 2009: Telecom ItaliaCloudCamp Milan 2009: Telecom Italia
CloudCamp Milan 2009: Telecom Italia
 
Geochronos File Sharing Application Using Cloud
Geochronos File Sharing Application Using CloudGeochronos File Sharing Application Using Cloud
Geochronos File Sharing Application Using Cloud
 
presentation_SB_v01
presentation_SB_v01presentation_SB_v01
presentation_SB_v01
 
Real-Time WebRTC based Mobile Surveillance System
Real-Time WebRTC based Mobile Surveillance SystemReal-Time WebRTC based Mobile Surveillance System
Real-Time WebRTC based Mobile Surveillance System
 
Real-Time WebRTC based Mobile Surveillance System
Real-Time WebRTC based Mobile Surveillance SystemReal-Time WebRTC based Mobile Surveillance System
Real-Time WebRTC based Mobile Surveillance System
 
Cloud Module 1.pptx
Cloud Module 1.pptxCloud Module 1.pptx
Cloud Module 1.pptx
 
How to build Web3 applications_101 Blockchains (1).pdf
How to build Web3 applications_101 Blockchains (1).pdfHow to build Web3 applications_101 Blockchains (1).pdf
How to build Web3 applications_101 Blockchains (1).pdf
 
How to build A Web3 applications_ Web3.pdf
How to build A Web3 applications_ Web3.pdfHow to build A Web3 applications_ Web3.pdf
How to build A Web3 applications_ Web3.pdf
 
iMinds The Conference: Danny Hughes
iMinds The Conference: Danny HughesiMinds The Conference: Danny Hughes
iMinds The Conference: Danny Hughes
 
Review 2 _PPT_Template_majorproject.pptx
Review 2 _PPT_Template_majorproject.pptxReview 2 _PPT_Template_majorproject.pptx
Review 2 _PPT_Template_majorproject.pptx
 
PPT on MS-CIT Unit-2
PPT on MS-CIT Unit-2PPT on MS-CIT Unit-2
PPT on MS-CIT Unit-2
 
An Intermediate Service Composer Architecture for Dynamic Discovery and Invoc...
An Intermediate Service Composer Architecture for Dynamic Discovery and Invoc...An Intermediate Service Composer Architecture for Dynamic Discovery and Invoc...
An Intermediate Service Composer Architecture for Dynamic Discovery and Invoc...
 
Iaetsd efficient file transferring in
Iaetsd efficient file transferring inIaetsd efficient file transferring in
Iaetsd efficient file transferring in
 
THE SOCIALIZED INFRASTRUCTURE OF THE INTERNET ON THE COMPUTING LEVEL
THE SOCIALIZED INFRASTRUCTURE OF THE INTERNET ON THE COMPUTING LEVEL THE SOCIALIZED INFRASTRUCTURE OF THE INTERNET ON THE COMPUTING LEVEL
THE SOCIALIZED INFRASTRUCTURE OF THE INTERNET ON THE COMPUTING LEVEL
 
THE SOCIALIZED INFRASTRUCTURE OF THE INTERNET ON THE COMPUTING LEVEL
THE SOCIALIZED INFRASTRUCTURE OF THE INTERNET ON THE COMPUTING LEVEL THE SOCIALIZED INFRASTRUCTURE OF THE INTERNET ON THE COMPUTING LEVEL
THE SOCIALIZED INFRASTRUCTURE OF THE INTERNET ON THE COMPUTING LEVEL
 

Recently uploaded

UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
Peter Muessig
 
ppt on the brain chip neuralink.pptx
ppt  on   the brain  chip neuralink.pptxppt  on   the brain  chip neuralink.pptx
ppt on the brain chip neuralink.pptx
Reetu63
 
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
kalichargn70th171
 
ACE - Team 24 Wrapup event at ahmedabad.
ACE - Team 24 Wrapup event at ahmedabad.ACE - Team 24 Wrapup event at ahmedabad.
ACE - Team 24 Wrapup event at ahmedabad.
Maitrey Patel
 
DECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSIS
DECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSISDECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSIS
DECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSIS
Tier1 app
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
Drona Infotech
 
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
gapen1
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
Peter Muessig
 
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdfTop Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
VALiNTRY360
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
Remote DBA Services
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
Green Software Development
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
rodomar2
 
Malibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed RoundMalibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed Round
sjcobrien
 
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
safelyiotech
 
How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?
ToXSL Technologies
 
What’s New in Odoo 17 – A Complete Roadmap
What’s New in Odoo 17 – A Complete RoadmapWhat’s New in Odoo 17 – A Complete Roadmap
What’s New in Odoo 17 – A Complete Roadmap
Envertis Software Solutions
 
Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !
Marcin Chrost
 
Project Management: The Role of Project Dashboards.pdf
Project Management: The Role of Project Dashboards.pdfProject Management: The Role of Project Dashboards.pdf
Project Management: The Role of Project Dashboards.pdf
Karya Keeper
 
The Key to Digital Success_ A Comprehensive Guide to Continuous Testing Integ...
The Key to Digital Success_ A Comprehensive Guide to Continuous Testing Integ...The Key to Digital Success_ A Comprehensive Guide to Continuous Testing Integ...
The Key to Digital Success_ A Comprehensive Guide to Continuous Testing Integ...
kalichargn70th171
 
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdfBaha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid
 

Recently uploaded (20)

UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
 
ppt on the brain chip neuralink.pptx
ppt  on   the brain  chip neuralink.pptxppt  on   the brain  chip neuralink.pptx
ppt on the brain chip neuralink.pptx
 
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
 
ACE - Team 24 Wrapup event at ahmedabad.
ACE - Team 24 Wrapup event at ahmedabad.ACE - Team 24 Wrapup event at ahmedabad.
ACE - Team 24 Wrapup event at ahmedabad.
 
DECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSIS
DECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSISDECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSIS
DECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSIS
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
 
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
 
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdfTop Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
 
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CDKuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
KuberTENes Birthday Bash Guadalajara - Introducción a Argo CD
 
Malibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed RoundMalibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed Round
 
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
 
How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?
 
What’s New in Odoo 17 – A Complete Roadmap
What’s New in Odoo 17 – A Complete RoadmapWhat’s New in Odoo 17 – A Complete Roadmap
What’s New in Odoo 17 – A Complete Roadmap
 
Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !
 
Project Management: The Role of Project Dashboards.pdf
Project Management: The Role of Project Dashboards.pdfProject Management: The Role of Project Dashboards.pdf
Project Management: The Role of Project Dashboards.pdf
 
The Key to Digital Success_ A Comprehensive Guide to Continuous Testing Integ...
The Key to Digital Success_ A Comprehensive Guide to Continuous Testing Integ...The Key to Digital Success_ A Comprehensive Guide to Continuous Testing Integ...
The Key to Digital Success_ A Comprehensive Guide to Continuous Testing Integ...
 
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdfBaha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
 

A Web Service for Flexible Integration of Mobile Applications with Social Networks

  • 1. 1 A Web Service for Flexible Integration of Mobile Applications with Social Networks Victor Pantoja and Markus Endler PUC-Rio, Brazil
  • 2. 2 Technical advances of mobile technologies and Web have promoted new forms of social interactions Motivation » Mobile Social Software (MoSoSo) made social connectivity even more explicit: » · Extends interpersonal to network interactions through the many- to-many communication paradigm of online social networks. Virtual and physical worlds are rapidly growing together:» · Online social networks are increasingly used for interaction 2
  • 3. 3 Motivation Current MoSoSo has usually no support for uniform and extensible interaction with online social networks, other web services and mobile middleware systems for context processing. » Inefficient transfer of information:» · Amount of data transferred · Higher consumption of wireless bandwidth and battery · Example: Google Maps API 3
  • 4. 4 ss Motivation - Scenario 4 Academic Car Sharing Network Prof. Paul UniRio Campus Student Anna
  • 5. 5 Motivation - Scenario 5 UniRio Campus Academic Car Sharing Network Prof. PaulStudent Anna Pervasive Context: Location, speed, userID Pervasive Context: Location, userID Social Context: Anna and Paul have common acquaintaces
  • 6. 6 Mobile Social Gateway Provides a generic interface for optimized information transfer between mobile devices and social networks or other web services » » Allows third-party Web services to subscribe for a specific context information » Performance and scalability were major concerns 6
  • 8. 8 Architecture of MoSoGw MoSoGw is responsible for filtering, caching and distributing context data from the mobile device to social networks and vice- versa » The primary goals of MoSoGw are:» · Minimize the amount of data transferred · Allow for some kind of processing of the pervasive and social context data · Provide a uniform interface to the social networks 8
  • 9. 9 Architecture of MoSoGw SN: Social Network WS: Web Service CMS: Context Management System 9
  • 10. 10 Architecture of MoSoGw nginx HTTP server:» · Event-driven architecture · Asynchronous non-blocking I/O · disk cache Tornado:» · lean Python framework · high performance · non-blocking I/O Each component was chosen in order to achieve high performance: 10 memcached: memory cache»
  • 11. 11 APIs 11 Android Java API» · better suited to mobile app developers · details are hidden behind the Java class abstraction Allows client applications and third-party web services to be built by using any platform/environment » REST API:» · applications must know MoSoGw interfaces and URLs
  • 12. 12 Prototype Mobile Social Share:» · Allows mobile users to share context information about their position · Estimates traffic conditions based on users’ velocities · Twitter, Facebook and 3rd Party Apps 12
  • 15. 15 Performance Evaluation Ubuntu 10.04 with 512MB RAM» »Simple MoSoGw box: · 1 nginx instance · 1 Tornado instance · 1 MySQL Server All the three cache layers described were implemented» Scenario:» 1 - Create a new user 2 - Log in with a user 3 - Send an invitation to another user 4 - Send context information to Twitter15
  • 17. 17 Performance Evaluation Peak of 4.45s but it is quite reasonable to assume that users can wait 4.45s to get a context information update17 Average: 0.177s
  • 18. 18 Conclusion MoSoGw facilitates integration with social networks» It enables third-party web services to process or match users’ context information and social network data » Initial usage and performance tests are non-conclusive» MoSoGw has some promising architectural features.» 18 · makes it transparent for developers
  • 19. 19 Future Work Parallel/distributed deployment MoSoGw and precisely assess its scalability 19
  • 20. 20 Future Work Better exploring integration with third party apps 20