Font Size: a A A

Design & Implementation Of The Object Relational Mapping System For Tencent Dcache

Posted on:2016-08-20Degree:MasterType:Thesis
Country:ChinaCandidate:Y LiFull Text:PDF
GTID:2308330479491527Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of mobile Internet applications, using memory databases has become a popular way to store application data. DCache is a distributed-memory database for keeping data for mobile apps. As the number of backend servers grows fast, the complexity and instability of the traditional way of accessing DCache data have become the bottleneck. There is a growing demand of simple and efficient APIs for accessing DCache data and shortening project cycle. This project works as a C ++ service component library, which belongs to Tencent Technology(Shenzhen) Ltd. The goal of object relational mapping component based on DCache is to provide developers with rapid DCache data access through Buffer Cache API and generate web pages for data modifications, so that non-developers can also interactively manipulate online data. Significance of the project is to achieve a more efficient way of DCache data accessing and the automatic data adapting technology for web pages.The paper provides a comprehensive analysis of the requirements and technical feasibility of object relational mapping component for DCache and describes the design and implementation. The system consists of four major modules: Buffer Cache API module, the object deserialization module, shared memory proxy module and visual data editing module. Buffer Cache API module provides developers with a simple, stable and efficient DCache data access ing interface. Object deserialization module will convert the serialized data stored in DCache to predefined structure objects in C ++ language. Shared memory proxy module is used for optimizing the actual business; it applies a single cache for hot data to avoid unnecessary network requests and achieves a faster way of data accessing. Visual data editing module provides a web page for different people, allowing them to read and write DCache data interactively.The entire system has passed complete functional testing and performance testing, running in testing environment, gray environment and product environment. In conclusion, the system has achieved the goal that serialized DCache data can be read and set through a simple and efficient API and visual data editing is supported. While in the performance test, the entire system can meet the performance requirements of the system and can be running online in stable. Core modules have been used in QQ browser app.
Keywords/Search Tags:DCache, object relational mapping, shared memory, rolling-out algorithm, dynamic form
PDF Full Text Request
Related items