Skip to content
Richard Andrew Cattermole edited this page Feb 9, 2014 · 4 revisions

Intro

Cmsed supports two types of nodes.

Web:

A web node, is one that runs a web server. It has a public facing ip. May have an internal facing ip for usage by other nodes.

Backend:

A backend node, is one that handles external services or long polling functions of a web service. It only has an internal facing ip. It could have numerous, but only the first to connect will do so. So effectively only one nic is usable.

Why would you need this?

For most sites you won't need this functionality. This however is a crucial capability for any service that includes any sort of VM or terminal usage. Which spans over multiple servers. It is possible to run both a web node and backend node in the same process. You simply use e.g.

./mycoolservice --mode=web,backend

As arguments. The default however is just web.

Notes

You should not have to add too much to be compatible backend server/client. A simple msgpack compatible data model handler as well as the actual data models you already defined should allow for serialization. However for routing, a simple prepending would occur to make it simple to work with (not implemented yet).

Clone this wiki locally