A self-assembled cluster of Nanite:ruby programs

Source: Internet
Author: User
Keywords View we multiple so

Nanite (developed by Ezra Zygmuntowicz) is a new recruit for the engine yard cloud computing strategy: It is a "self-assembled cluster of ruby programs" to build the back end of a highly scalable Web application (see Ezra's statement).

The nanite contains two parts: Agents (Agents) and mappings (mappers). The agent implements the function of the application and is managed by the mapping, and the mapping is the control node of the system. The agent periodically reports its status to the map and (by default) the average load, so mappings can distribute tasks to the least loaded agents. Check out the Nanite Readme file for more information and examples.

Nanite is built on top of RABBITMQ, which is a "complete and highly reliable enterprise messaging system" built in Erlang. It can also work with any other messaging middleware that is compatible with AMQP, according to a commentary on its blog.

Infoq:ezra, do you use nanite in engine yard?

of course, Nanite serves as our new service platform engine yard backend. It automatically expands the EC2 instance when the network is congested, and it is a core part of the service that is exposed to the user, so users can use the Nanite agent as part of their application without additional effort.

InfoQ: Besides the web, where can nanite be used?

I think there are many scenarios beyond the Web Nanite. Whenever you need to control multiple resources across multiple servers from Ruby, Nanite is a great choice.

InfoQ: Let's talk about vertebra--the next generation of cloud computing platforms--a few months ago, what was the relationship between Nanite and vertebra?

Nanite and vertebra will eventually work together with the help of the Rabbitmq/xmpp Bridge. Nanite is suitable for extending personal applications in a cloud environment, while vertebra is more suitable for connecting multiple heterogeneous systems-each agent in the system can be on a different client server. The RABBITMQ security model is based on vhosts, so that the contents of the same vhost can communicate with each other. This allows us to have a vhost in each application space and use this approach to extend the application. Nanite is still a high-performance message for the application load that the user waits for. The advantage of vertebra is to unite multiple machines while keeping each other safe.

Nanite is located on GitHub and vertebra will be released in Open source before Christmas (about December 15).

Nanite:a Self assembling Cluster of Ruby processes

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.