The meaning, architecture, and skill requirements of the forward business middle tier

Source: Internet
Author: User


1. Preface
The forward business middle tier refers to the addition of a layer on the backend service interface to summarize and integrate all services, provide interface services for apps and H5, and isolate back-end services from the front end. About the following

650) this.width=650; "src=" Https://pic2.zhimg.com/v2-2083866bb383ec1b64c4fd46adb68709_b.png "class=" origin_image Zh-lightbox-thumb "width=" "alt=" V2-2083866bb383ec1b64c4fd46adb68709_b.pn "/>
2. function
1) Apps and H5 need to communicate with one team and communicate easily when communicating the need to develop an interface agreement.
2) All business access, is the business of the collation and collection, look at the gateway layer of all the interface development history, you can know the development trajectory of the business
3) Unified Logging Service, all applications and H5 requests are received and forwarded to the specific business through the gateway layer, logging at the gateway layer, can be real simulation request initiation and processing process.
4) Unified traffic monitoring, intelligent lifting level, as a unified flow of traffic, you can know the specific source and whereabouts of traffic, when the traffic reaches the system limit can advance alarm, and actively reject non-core business requests, to ensure that the system is not washed out by traffic
5) Unified security Authentication, the system is not directly exposed, reducing the opportunity to attack the main business, as a request portal can be at the beginning of the request to do some security checks, to prevent invalid illegal requests into the business process, waste resources
6) The front and back can be done by the small configuration requirements can be done by the interface, for example, you want to make a switch of one of your functions, this function may be the idea of a product whim, the back end do not want to do, do it in the gateway layer, to avoid the front and back end in this place, too much effort, Too much wrangling, the programmer is tired. This is important, and the most important thing about being a manager is managing burnout.
7) Back-end business interface adaptation, the back-end flow of data structure change optimization, convenient front-end reading.

3. Architecture


650) this.width=650; "src=" Https://pic4.zhimg.com/v2-382aa82cd6e3dea752a68fdee09f3477_b.png "class=" origin_image Zh-lightbox-thumb "width=" "alt=" V2-382aa82cd6e3dea752a68fdee09f3477_b.pn "/>


4. Technical Requirements
1) Development language: Java/php/node/lua can, do not make mandatory requirements, but it is recommended to use Php,lua, etc. without restarting the server language, to facilitate the timely processing of problems, immediate effect
2) high concurrency experience, because as a request entry for all services, traffic can be very large
3) have CDN related experience, a lot of static things need to be deduced on CDN
4) have Redis or memcache development experience, if not all of these cache requests directly to the server, the server can not carry, soon hung up
5) Multi-server file synchronization development experience, skilled use of log4j and other log tools


The meaning, architecture, and skill requirements of the forward business middle tier

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.