🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.interbase.replication
Article #156

Home-made replicator...

#156
From: Jonathan Neve
Date: Fri, 27 Jun 2003 10:34
31 lines
2522 bytes
Hi!

I'm considering using replication to solve a performance problem I have. 
  Currently, there are 5 or 6 machines working with a Linux database 
server on a LAN, which is fine. However, there are also 3 clients 
connecting to the same server using a 128 bps ADSL internet connection. 
I've already done quite a lot of optimisation, and the program is 
usable; still, it is _very_ slow. So I was wondering if replication 
would be a good solution.

I've had a look at the standard IB replicator, as well as a few others, 
but it seems that it might be hard to make it work just the way I want 
it. I would like to synchronize updates in both directions, over all 
tables of the database, as frequently as possible. The clear advantage 
of doing things this way, is first of all, that select queries aren't 
sent to the server, only udates inserts and deletes, and secondly, that 
the user doesn't have to realise that the updates are being applied; 
everything seems instantaneous. All 4 databases must be identical. So my 
needs are very simple. Do you think it would be a good idea to implement 
it by myself (simply using triggers and a log table, with a process 
running in the backgroud, sending and getting changes), or would I be 
better off using the standard one?

Another factor to consider is the (crushing) cost of licences in such an 
installation...

Any advice, help or examples would be greatly appreciated!

Thanks a lot!

Jonathan Neve.
Technical Details
Message-ID: <3efc1db3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!rip!news.webusenet.com!peer01.cox.net!cox.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f89d7,a0215dc343694833,start
X-Google-Attributes: gidf89d7,public
X-Google-ArrivalTime: 2003-06-27 03:36:43 PST
Date: Fri, 27 Jun 2003 12:34:15 +0200
From: Jonathan Neve <jonathan@!nospam!microtec.fr>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.interbase.replication
Subject: Home-made replicator...
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 213.11.22.149
Message-ID: <3efc1db3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1056710067 213.11.22.149 (27 Jun 2003 03:34:27 -0700)
Lines: 32
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!rip!news.webusenet.com!peer01.cox.net!cox.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail