a scalable server architecture for mobile presence services

24
A SCALABLE SERVER ARCHITECTURE FOR MOBILE PRESENCE SERVICES IN SOCIAL NETWORK APPLICATIONS P.Sindhusree (115Y1A0506)

Upload: sree-chinni

Post on 12-Apr-2017

956 views

Category:

Engineering


4 download

TRANSCRIPT

Page 1: A scalable server architecture for mobile presence services

A SCALABLE SERVER ARCHITECTURE FOR MOBILE PRESENCE SERVICES IN SOCIAL NETWORK

APPLICATIONS

P.Sindhusree (115Y1A0506)

Page 2: A scalable server architecture for mobile presence services

CONTENTS: Abstract Existing System Proposed System HARDWARE System Configuration SOFTWARE Configuration UML Diagrams Modules Data Tables Conclusion & Reference

Page 3: A scalable server architecture for mobile presence services

ABSTRACT:

Social network services are growing and many people are communicating with the world using them.

It is essential because it maintains each mobile user’s presence information, such as the current status (online/offline), GPS location and network address.

If presence updates occur frequently, the enormous number of message distributed by presence servers may lead to scalability problem.

Page 4: A scalable server architecture for mobile presence services

To address this problem , we propose an efficient and scalable server architecture which is called PresenceCloud

PresenceCloud organizes presence servers into server- to – server architecture.

The performance can be analysed in terms of search cost and search satisfaction level.

Page 5: A scalable server architecture for mobile presence services

EXISTING SYSTEM :

3 popular commercial IM systems are : AIM , Microsoft MSN , Yahoo! Messenger.

They leverage some form of centralized clusters. Centralized clusters are used to provide presence

services. Storing the presence is one of the most messaging

traffic in these instant messaging system.

Page 6: A scalable server architecture for mobile presence services

PROPOSED SYSTEM :

Peer – to – peer SIP has been proposed to remove centralized server.

P2PSIP reduces the maintenance costs and failures in server based deployment

These clients are organized in DHT Thus presence cloud can support large scale social

network system service among thousand of servers.

Page 7: A scalable server architecture for mobile presence services

HARDWARE System Configuration:

Pentium-3 processor 1.1 GHz Speed 256 MB RAM 20 GB Hard Disk 1.44 MB Floppy Drive Standard Windows Key Board Two or Three Button Mouse SVGA Monitor

Page 8: A scalable server architecture for mobile presence services

SOFTWARE Configuration:

Operating System: Windows 95/98/2000/XP Application Server: Tomcat 5.0/6.X Front End: HTML , JAVA , JSP Scripts: Java Script Server side scripts: Java Server Pages Database: MySQL Database Connectivity: JDBC

Page 9: A scalable server architecture for mobile presence services

Data Flow Diagram:

Page 10: A scalable server architecture for mobile presence services

Component Diagram:

Page 11: A scalable server architecture for mobile presence services

Use case Diagram:

Page 12: A scalable server architecture for mobile presence services

Activity Diagram:

Page 13: A scalable server architecture for mobile presence services

Sequence Diagram:

Page 14: A scalable server architecture for mobile presence services

MODULES :

Presence Cloud server overlay. One-hop caching strategy. Directed buddy search.

Page 15: A scalable server architecture for mobile presence services

Presence Cloud server overlay:

The Presence Cloud server overlay construction algorithm organizes the PS nodes into a server-to-server overlay, which provides a good low-diameter overlay property. The low-diameter property ensures that a PS node only needs two hops to reach any other PS nodes.

Page 16: A scalable server architecture for mobile presence services

One-hop caching strategy :

To improve the efficiency of the search operation, Presence Cloud requires a caching strategy to replicate presence information of users. In order to adapt to changes in the presence of users, the caching strategy should be asynchronous and not require expensive mechanisms for distributed agreement.

Page 17: A scalable server architecture for mobile presence services

Directed buddy search:

We contend that minimizing searching response time is important to mobile presence services. Thus, the buddy list searching algorithm of Presence Cloud coupled with the two-hop overlay and one-hop caching strategy ensures that Presence Cloud can typically provide swift responses for a large number of mobile users.

Page 18: A scalable server architecture for mobile presence services

DATABASE TABLES:

Comment :

Page 19: A scalable server architecture for mobile presence services

Profile

Page 20: A scalable server architecture for mobile presence services

Presence Server

Page 21: A scalable server architecture for mobile presence services

CONCLUSION

In this paper, we have presented Presence Cloud, a scalable server architecture that supports mobile presence services in large-scale social network services. We have shown that Presence Cloud achieves low search latency and enhances the performance of mobile presence services. In addition, we discussed the scalability problem in server architecture designs, and introduced the buddy-list search problem, which is a scalability problem in the distributed server architecture of mobile presence services.

Page 22: A scalable server architecture for mobile presence services

CONCLUSION:

Through a simple mathematical model, we show that the total number of buddy search messages increases substantially with the user arrival rate and the number of presence servers. The results of simulations demonstrate that Presence Cloud achieves major performance gains in terms of the search cost and search satisfaction. Overall, Presence Cloud is shown to be a scalable mobile presence service in large-scale social network services.

Page 23: A scalable server architecture for mobile presence services

REFERENCES:

Facebook, http://www.facebook.com. Twitter, http://twitter.com. Foursquare http://www.foursquare.com. Google latitude, http://www.google.com/intl/enus/latitude/intro.html. Buddycloud, http://buddycloud.com. R. B. Jennings, E. M. Nahum, D. P. Olshefski, D. Saha, Z.-Y. Shae, and

C. Waters, ”A study of internet instant messaging and chat protocols,” IEEE Network, 2006.

Gobalindex, http://www.skype.com/intl/en-us/support/user-guides/p2pexplained/.

Z. Xiao, L. Guo, and J. Tracey, ”Understanding instant messaging traffic characteristics,” Proc. of IEEE ICDCS, 2007.

C. Chi, R. Hao, D. Wang, and Z.-Z. Cao, ”Ims presence server: Traffic analysis and performance modelling,” Proc. of IEEE ICNP, 2008.

Page 24: A scalable server architecture for mobile presence services

Sites Referred:

http://java.sun.com http://www.sourcefordgde.com http://www.networkcomputing.com/ http://www.roseindia.com/ http://www.java2s.com/