#1 2012-06-05 00:47:16

profh
Member
Registered: 2010-07-02
Posts: 161

server cluster

hi,ab

how to make many servers separately work together?

thanks.

Offline

#2 2012-06-05 06:02:32

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: server cluster

See "hosting" in the documentation.

The easier is to use services. See also event sourcing.

Offline

#3 2012-06-05 09:59:09

profh
Member
Registered: 2010-07-02
Posts: 161

Re: server cluster

thanks,

got the documentation,but it seems not a piece of cake.

Offline

#4 2012-06-06 09:02:08

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: server cluster

.... like all f...g manuals.
smile


But there is a "keyword index" at the beginning of the SAD pdf, with an "hosting" entry, AFAIR.
Go directly to the right pages.

Offline

#5 2012-06-08 12:08:47

profh
Member
Registered: 2010-07-02
Posts: 161

Re: server cluster

i v got the exactly place of "hosting",and it is easy. tongue i mean it is not so easy to understand "hosting".
thanks again,and i will try once more...

Offline

#6 2012-06-08 16:08:21

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: server cluster

Yes, the right hosting solution will depend on your application need.

Read the "Domain Driven Design" paragraphs, which will let you find how multiple client-server layers can coexist.
In fact, mORMot is powerful enough to have as many servers as needed, for better scaling.
For instance, you may use a TSQLRestServerRemoteDB class to let all SQLite3 storage be hosted separately, or create a HTTP server for outside Services (i.e. the Application layer), but with a fast GDI communication for communication with the Domain layer and the DB layer.
You may have external services, in their own server instance, for some dedicated process (like report generation, or direct use of an external DB via legacy code).

Offline

Board footer

Powered by FluxBB