|
Re: [CDO] Server/Clone Architecture advise needed [message #878480 is a reply to message #878467] |
Tue, 29 May 2012 11:59 |
|
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Tom,<br>
<br>
I can well imagine something like this (and have actually seen it in
reality):<br>
<img src="http://www.eclipse.org/forums/index.php?t=getfile&id=9939" alt=""><br>
<br>
Getting all that technically right may be a challenge, though ;-)<br>
<br>
Cheers<br>
/Eike<br>
<br>
----<br>
<a class="moz-txt-link-freetext" href="http://www.esc-net.de">http://www.esc-net.de</a><br>
<a class="moz-txt-link-freetext" href="http://thegordian.blogspot.com">http://thegordian.blogspot.com</a><br>
<a class="moz-txt-link-freetext" href="http://twitter.com/eikestepper">http://twitter.com/eikestepper</a><br>
<br>
<br>
<br>
Am 29.05.2012 13:25, schrieb Tom Bauwens:
<blockquote cite="mid:jq2bo0$t8u$1@xxxxxxxxe.org" type="cite">Hi
guys,
<br>
<br>
I am working on designing an application for a retailer. The
application will be built with RCP and will be responsible for the
store part of the retailer, i.e. registering product sales,
customer info,...
<br>
<br>
I have an architecture in mind and would like to verify this with
you as I have no CDO experience. I would appreciate it very much
if you give me some feedback...
<br>
<br>
The app:
<br>
This retailer has 2 physically different located stores and in
each store there are 4 or 5 cash tills or cash registers (these
cash registers are PC's or Mac's wtih 4gb of mem). The data
(DBStore), however, has to be shared across both stores. The
communication between the stores is via WAN and as such is
unreliable. It is absolutely vital that each cash register works
even with WAN failure (maybe also LAN failure, but many things
will break if there is no LAN such as printers...so it's off
lesser importance).
<br>
<br>
For this it would be ideal (I think) if the clients (the cash
register PC's) all have an embedded CDO server and synchronize
with the CDO Master (will be located in one of the stores).
Actually, I would make the embedded CDO's of store 1 sync to a CDO
Server Clone located in store 1 which syncs to the CDO Master
located in store 2 and the embedded CDO's in store 2 would sync to
the CDO Master as well.
<br>
<br>
My questions are now:
<br>
- is this approach is ok or would you advise another approach
<br>
- is there info on the reliability of such a CDO architecture (has
anyone done this?)
<br>
<br>
(I was actually looking into database clustering until I saw that
CDO had this cool feature :) )
<br>
<br>
Thanks a lot for your comments.
<br>
Tom
<br>
</blockquote>
</body>
</html>
-
Attachment: gjiegjbb.png
(Size: 18.15KB, Downloaded 163 times)
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
|
Re: [CDO] Server/Clone Architecture advise needed [message #879679 is a reply to message #878495] |
Thu, 31 May 2012 16:12 |
|
Am 29.05.2012 14:31, schrieb Tom Bauwens:
> Hi Eike,
>
> So you are agreeing with the design? Cool! :)
>
> Thanks also for the image! It is exactly what I had in mind. Now I can just copy/past it in my documents :)
>
> We love challenges! But now I'm curious, maybe I'm underestimating the effort, but why do you say challenging? I've
> already did some small tests with your offline examples and it seems to work...
Great ;-)
> Maybe, I'm missing something?
There are some TODO comments on SynchronizableRepository.java.
For large master repos with out-of-sync clones there are pending some performance optimizations (to be committed soon).
Make sure you use raw replication mode.
There may be other challenges. Feel free to ask here if you encounter one. And, if you have time, it would be awesome if
you summarize your findings in a small wiki article ;-)
>
> Can you also possibly give more info on who used it this way and what kind of application it was?
Companies often don't want to have their technology stack posted publicly ;-(
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03230 seconds