The Design and Implementation of Social Game 《Renren City》Combined with Memcached Technology

Author
WuXinZuo
Advisor
LuoBin
School
Nanjing University
Major
Software Engineering
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2012
Downloads
117
Citations
0

Request the full text

Abstract

In the past3years, one of the Internet phenomenons is the rise of Social Game, which has developed fast with a growth rate of50%every year via the development of SNS (Social Network Site) platform. Social Game, relying on large-scale SNS network community and emphasizing the interaction between friends, is the product of web games and social network sites, and becomes the fastest growing game market category with great vitality of the market. As China’s largest SNS community, Renren Company has developed its social game very well in recent years. Since the independent research and development in2008, it has launched a series of social games including Renren World, Renren Restaurant and Renren Farm. What’s more, the number of players has been growing at an alarming rate. Take Renren Farm for example, its installation is about20million people at present.Based on the author’s internship experience in Renren Company, this paper introduces the design and implementation of social game Renren City, Renren City is recently launched and on-line, with over50,000daily active users.Renren City adopt layered design idea,it divided into four layers, they are page display layer, the flash data interface layer,business logic layer, data persistence layer, each layer design and realization are described in detail, especially its main module in detail.for the different characteristics of each module,we have given different solutions.Due to the large amount of logic the server processes, frequently read operation of database, and the characteristics of supporting multi-social platforms, the large amount of users, and concurrent access etc., to ensure the speed of games, the server must be supported with high concurrent, high load and fast response ability while a large number of players simultaneously are online. Therefore, we use the currently popular distributed memory cache technology called Memcached, which can effectively reduce the number of database index and improve server performance. It highlights the memory cache technology memcached distributed algorithm as well as the specific application in the project. By Performance analysis and testing, you can find memcached technology with high performance.

Table of contents

Summary 5-6 Abstract 6-7 directory 7-9 LIST 9-11 Table directory 11-12 Chapter 1 Introduction 12-16 1.1 Introduction to social games 12-13 1.2 overview of the development of domestic and foreign social games work 13-14 1.3 This paper studies the organizational structure 14 1.4 article 14-16 chapter related technologies and platforms 16-28 2.1 Velocity technology 16-18 2.1.1 Velocity technology Overview 16 2.1.2 Velocity template Language 16 -18 2.2 memory cache memcached 18-25 2.2.1 Introduction cache memory 18-19 2.2.2 Memcached characteristics 19-22 2.2.3 Memcached works 22-23 2.2.4 Memcached distributed 23-25 ?? 2.3 Renren open Platform 25-28 2.3.1 Renren open Platform Introduction 25-26 2.3.2 Widget API 26-28 Chapter Three people design and realization of human cities 28-55 3.1 Overview of all cities 28-30 overall architecture and design nbsp 3.2 for all cities ; 30-37 3.2.1 all urban design objectives 30-31 architecture design nbsp 3.2.2 all cities ; 31 hierarchical design 3.2.3 all cities and implementation 31-37 3.3 database design 37-41 design nbsp 3.3.1 data dictionary table ; 37-39 3.3.2 players design data 39-41 3.4 all the city's main module design and implementation 41-55 3.4.1 maps and architectural module design and implementation 41-44 3.4.2 message Center module design and implementation 44-47 3.4.3 Friends interactive module design and implementation 47-51 3.4 .4 mission system design and implementation modules application 51-55 Chapter IV memcached technology 55-69 4.1 Why choose memcached technology 55 - 56 achieve 4.2 memcached server for all cities of 56-62 4.2.1 everyone city memcached server cluster 56-57 4.2.2 Slab class of allocation and optimization 57-59 4.2.3 Consistent Hashing distributed algorithm achieve 59-62 4.3 everyone city memcached client 62-66 4.3.1 Memcached the java client 62-63 4.3.2 client interface to achieve 63-66 4.3.3 Memcached interface calls instance 66 4.4 Memcached server performance analysis 66-69 Chapter summary and Outlook 69-70 5.1 thesis summary 69 5.2 further job prospects 69-70 References 70-72 Thanks 72-73 participate in the project 73 -74 copyright and originality of papers described 74-75

Related dissertations

  1. Research and Application of Memory Cache Technology in the Major Website
    CaoZhiYi ·Henan Polytechnic University ·2009 ·Master's thesis
  2. Design and Implement of Campus Information Network
    GuoHongLiang ·Tianjin University ·2012 ·Master's thesis
  3. The Social Game Interaction Design Method of User Viscosity
    LiZuoZuo ·Central South University ·2012 ·Master's thesis
  4. Design and Implement of Kunming Police Office Human Resources Management Based on.NET
  5. The Design and Implementation of the Science and Technology Reward Business Management System for DongLiQV
    SunNaiZuo ·Shandong University ·2013 ·Master's thesis
  6. The Design and Implementation of the Inter-bank Cooperation Service Platform
    ShenTao ·Shandong University ·2013 ·Master's thesis
  7. Design and Mobile Internet Applications of ACE-based High Concurrent Instant Messaging Server System
    ZengXing ·South China University of Technology ·2013 ·Master's thesis
  8. Design and Achieve of Railway Contact Net Meticulous Maintenance Management System Based on GIS and Memcached
    ZhangZuo ·East China Jiaotong University ·2013 ·Master's thesis
  9. Examples of Product Design and Application of the Securitization of Credit Assets
    TangJunTao ·Jinan University ·2012 ·Master's thesis
  10. The Research of the Influence of Customer-Perceived Factors to Customer Loyalty in Social Online Games
  11. Reasearch on Phenomena of Social Game
    YangShuo ·Shandong College of Arts ·2012 ·Master's thesis
  12. The Design and Implementation of Online Music Website Basing on PHP
    ChenJun ·Wuhan University of Technology ·2012 ·Master's thesis
  13. Performance of the China Mobile CRM System Analysis and Optimization Based on Memcached
    YaoXiaoYong ·Sun Yat-sen University ·2013 ·Master's thesis
  14. Techniques of XML Dynamic Labeling Schema and Distributed Management
    FanYuanChao ·East China Normal University ·2012 ·Master's thesis
  15. The Design and Implementation of Data Reporting System Based on SNS and Social Game
  16. Research and Application of the Rapid Social Network Development Based on S2SH
    WuKaiDong ·Ocean University of China ·2012 ·Master's thesis
  17. Hospital Medicine Management System Software Design
  18. Research and Application of Massive Data Caching Algorithms and Design Patterns
    WangXuLiang ·Zhejiang University ·2013 ·Master's thesis
  19. Design and Implementation of Storage System for Message Oriented Middleware for Securities Trading Data
    PanZuoZuo ·Zhejiang University ·2012 ·Master's thesis
  20. The Research of Function Extension Based on the Emcached Cache
    DengShiQuan ·Southwest Jiaotong University ·2012 ·Master's thesis