HOMEWORK3:a techincal report Version 0 |
|
👤 Author: by 912172702qqcom 2018-01-11 15:40:10 |
NGINX is a free, open-source, high-performance HTTP server and reverse proxy, as well as an IMAP/POP3 proxy server. NGINX is known for its high performance, stability, rich feature set, simple configuration, and low resource consumption.
NGINX is one of a handful of servers written to address the C10K problem. Unlike traditional servers, NGINX doesn’t rely on threads to handle requests. Instead it uses a much more scalable event-driven (asynchronous) architecture. This architecture uses small, but more importantly, predictable amounts of memory under load. Even if you don’t expect to handle thousands of simultaneous requests, you can still benefit from NGINX’s high-performance and small memory footprint. NGINX scales in all directions: from the smallest VPS all the way up to large clusters of servers.
NGINX powers several high-visibility sites, such as Netflix, Hulu, Pinterest, CloudFlare, Airbnb, WordPress.com, GitHub, SoundCloud, Zynga, Eventbrite, Zappos, Media Temple, Heroku, RightScale, Engine Yard, MaxCDN and many others.
Technical Report
Introduction
By using the method of B/S architecture and C/S architecture, this paper realizes the development of two service platforms of Subway ticket system mobile terminal and management system.
Discussion
The mobile terminal development tool for the Android studio,
Its advantages are:
(1) color, pictures in the layout and the code can be real-time preview;
(2) string can be previewed in real time;
(3) multi screen preview, screenshots with the device box, you can record the video simulator at any time;
(4) the location of the file can be opened directly;
(5) cross engineering mobile, search, jump;
(6) automatic preservation;
(7) intelligent reconstruction and intelligent prediction error;
(8) the history of each line of document editing can be traced back to;
(9) various plug-ins such as ADB,.Gitignore, SQL, markdown;
The system management system uses Tomcat + eclipse combination, Tomcat server is a free open source Web application server, with advanced technology, stable performance advantages.
Programing language
This system uses Java language to program, Java is an object-oriented programming language, not only absorbed the advantages of C++ language, but also to abandon the C++ difficult to understand multiple inheritance, the pointer concept, so Java language is powerful and easy to use two features. Java language, as the representative of the static object-oriented programming language, has realized the object-oriented theory perfectly, and allows the programmer to carry on the complex programming with the graceful way of thinking.
Java is simple, object-oriented, distributed, robust, secure, platform independence and portability, multi-threaded, dynamic characteristics.
Main technology
1 SQLite
SQLite, is a lightweight database, is to comply with the ACID relational database management system, which is included in a relatively small C library. It is a public domain project created by D.RichardHipp. Its design goal is embedded, and has been used in many embedded products, it takes up very low resources, in embedded devices, may only need a few hundred K of memory is enough. It can support the mainstream Windows/Linux/Unix operating system and so on, and can combine with many programming languages, such as Tcl, C#, PHP, Java, and ODBC interface, as compared to the world famous Mysql database management system, PostgreSQL two of the source, the processing speed is faster than they.
2fragment
The concept of fragments is introduced in Android 3, its purpose is to solve the dynamic of different screen resolution and flexible design UI.Fragment activity so that it can be separated into a plurality of reusable components, each has its own life cycle and ui. can easily create UI dynamic and flexible design, can adapt to different screen sizes from the mobile phone to the.Fragment tablet computer is an independent module, and activity tightly bound together. Can be dynamically removed, adding operation and exchange.Fragment provides a new way to make the equipment and solve the unified ui. activity switching between not fluent in different Android, lightweight alternative.Fragment switch tabactivity navigation, better performance.3 cloud data storage
Cloud storage is in the cloud (Cloud Computing) is a new concept of extension and development, is a new network storage technology, refers to the application through the cluster, network technology and distributed file system, a large number of all kinds of network in different types of storage devices set up through the application of collaborative software work together to provide a system of external data storage and service access. When the core of system operation and processing of cloud computing is a large amount of data storage and management, cloud computing system will need to configure a massive storage devices, so cloud computing system is transformed into a cloud storage system, so the cloud storage is a data storage and management as the core of cloud computing system. Cloud computing to protect the data to be more perfect for data protection will be more stringent. Cloud as a service to provide users, and now, with the development of cloud computing, more and more cloud related services appear, for our lives and work has brought a variety of convenience. Big data era, the storage of data is increasing, the use of traditional storage methods, we need to constantly increase the storage device. Cloud data storage cost savings.
4 JQuery
JQuery is an excellent javascript library after prototype. It is a lightweight JS library, which is compatible with CSS3, but also compatible with a variety of browsers (IE 6.0+, FF 1.5+, Safari 2.0+, Opera 9.0+), jQuery2.0 and subsequent versions will no longer support IE6/7/8 browser. JQuery allows users to more easily deal with HTML, events, to achieve animation effects, and convenient for the site to provide AJAX interaction. JQuery there is a big advantage is that it is very full documentation, and a variety of applications are also very detailed, as well as many mature plug-ins to choose from. JQuery enables users to keep the HTML page code and HTML content separation.
5 Ajax
Ajax (Asynchronous javascript and xml) refers to the creation of interactive web application web development technology. Through asynchronous mode, optimizing the transmission between browser and server, reducing bandwidth consumption. The Ajax engine runs on the client side, reduces the server load under the large amount of users, speeds up the response time, does not refresh the update page, causes the system operation to be more simple and effective, enhances the user experience.
Technology highlights
1 NFC Technology
NFC near field communication technology is a non-contact radio frequency identification (RFID) technology integration and interoperability evolved on a single chip with inductive card reader, contactless card and point-to-point function, and can be compatible with the equipment identification and data exchange in a short distance. The system uses the NFC technology to realize the skip to take the ticket link, directly through the cell phone in the subway gate mouth to verify the pit, so that the real time and effort.
2 dimensional code technology
The two-dimensional code is in coding, clever use of a computer-based internal logic "0" and "1" bit stream concept, using a plurality of corresponding binary geometric shapes to represent the text value of information, through the image input device or optical scanning equipment automatic reading to realize automatic information processing. After the completion of the payment of passengers, the system generates a two-dimensional code for the use of tickets, passengers only need to take out the two-dimensional code in the specific ticket machine can get physical votes.
3 Bomb cloud database
Cloud database is a database that is optimized or deployed into a virtual computing environment. Can be achieved on demand, on-demand expansion, high availability and storage integration advantages. The system uses the cloud database to realize the massive data storage. Cloud storage is in the cloud (Cloud Computing) is a new concept of extension and development, is a new network storage technology, refers to the application through the cluster, network technology and distributed file system, a large number of all kinds of network in different types of storage devices set up through the application of collaborative software work together to provide a system of external data storage and service access.