Font Size: a A A

Design And Implementation Of The Front-end Solution Base On Load Balancing

Posted on:2015-01-15Degree:MasterType:Thesis
Country:ChinaCandidate:M LiFull Text:PDF
GTID:2268330428990851Subject:Software engineering
Abstract/Summary:PDF Full Text Request
The new application of today’s Internet and Mobile Internet is essentially composed of avariety of Internet technology solutions, one of the hottest will be cloud computing, big dataand virtualization technologies, these important technology formed a powerful solution for theenterprise and the user provides a great convenience. Of crouse almost all of these Internettechnology include the solution load balancing technology.The traditional load balancing solutions usually use a single server load balancing, inorder to further improve the performance.I based on the traditional load balancing solutionwas improved, add a layer of software between the load balancer in the traditionalarchitecture of the proxy server.We need to implement in this software layer on both ends ofthe client and the server and grab bag, analysis, simulation run, correct mistakes, print log, thesecurity check, and send a function such as security.This software layer named fSolution.FSolution used traditional C/S structure, because fSolution users mainly forprogrammers and administrators and other specific users, and fSolution have integrateddevelopment environment (IDE) function, so you need to pay more attention on the interfaceof function, so the C/S structure became my first choice. At the time of writing fSolutionunderlying cross-platform C with TCL script language writing, in order to develop convenient,using the powerful VS2010development environment for development and testing, theprocess of development and need to test on FreeBSD/Linux system, Windows andFreeBSD/Linux system after successful test by deploy it on a UNIX operating system.Clanguage development of high efficiency and bottom can be done directly using a pointer tothe operation of the memory, convenient and quick.Tcl language is type a command of thelanguage, function is very powerful, high execution efficiency, and Tcl language is written byC language, and can work with C language to achieve the perfect combination. Tcl languageextensions to the language IDE interface application Tk, Tk is also command language,writing structure controls similar to the hierarchical structure of the tree, the deployment ofthe control layer. Constructed a new ides and new language,the new language is derived fromTcl language encapsulation, run on fSolution, and construct a new keyword.FSolution is used before load balancing device application,The principle of fSolution isthat capturing network packets from the agent fSolution,and then contenting to each characterinterpretation by the method of finite state automaton on every segment of the package.First,parsing network packet header fields, through analyzing the core contents of the header fields for package, such as the request or response, version number, the content-type, thecontent-type, cookies, and so on.Then continue to parse HTTP’s body when parsed the headerof HTTP, HTTP’s body is made of the XML language, according to the grammar to parse theXML language body, get the body, the content and the value and check any mistakes ingrammar.Finally through analyzing the data to determine whether a package is complete,effective, will complete package, with each package for the unit in their definition of datastructure frame, meet don’t wait for the complete package, save the current state, and back tothe data matching to get the complete package. To discard the wrong package, and continue tograb a new package.FSolution compare the parsing the package information, obtain theuseful data, and check for grammatical errors. Finally message were sent to the back-end loadbalancer.FSolution equipped with interface, interface is an IDE, used by programmers andnetwork administrators.Current development fSolution system for version1.0, at the same time, also reservedinterface, higher version for the future development. In the future we also need to study inareas such as firewall and intelligent intrusion detection,at the same time, we will furtherenhance the ability of the load balancing.These are all need to study the direction of thefuture.
Keywords/Search Tags:Load Balancing, The Proxy Server, TCL, Nginx
PDF Full Text Request
Related items