The distribution of resumes

Source: Internet
Author: User

1, introduce the project, the front

My personal technology stack is relatively biased back end, not too proficient in the front end, then the front end is based on the page they have written before probably moved over to modify other details, or to consult the colleagues at that time,

Speaking of Node,node in the project is the C layer of MVC, which is the controller layer, responsible for handling get requests and invoking RESTful API interfaces based on Dubbox Open

Dubbo, an open source Java RPC Framework, provides three core competencies: interface-oriented remote method invocation, intelligent fault tolerance and load balancing, and service autoenrollment and discovery.

An application can be decoupled to split into several applications, such as a marketplace application can be split into orders, merchandise, members of these modules, each module is deployed independently, running on different machines, with different memory

Through the Dubbo protocol on the Dubbo, the service consumer transmits the method and parameter code through the network, finds the corresponding service provider in the Zookeeper Registration center, decodes the service, completes the operation, and then transmits the result code back over the network.

(Outside: Registry: Service consumers need to provide the IP and port of the service provider.) Service A machine is not enough, to add another, this time to tell the caller I now have two IP, you want to poll call to achieve load balancing results one day a machine hangs, the caller found that half of the service is not available, and he can only manually modify the code to remove the IP of the machine. As a service center, zookeeper automates the automatic registration and discovery of services for us! Zookeeper provides a "heartbeat detection" feature that periodically sends a request to each service provider (in effect, a long Socket connection), which, if not responding for a long time, considers the service provider "dead" and rejects it.

However, Dubbo can only complete the RPC call between the same language, for the interface to be open, it is necessary to use Dubbo transformation of Dubbox, can be serialized into the JSON string data format, development API for node to invoke.

2,dubbo related to Netty aspects

The distribution of resumes

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.