Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Replicate Posts Amongst Multiple Forums
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Jeepaholic
Average Member

USA
697 Posts

Posted - 02 March 2004 :  18:10:34  Show Profile  Visit Jeepaholic's Homepage
Hey folks, been fumbling with this issue for a little while. I run a number of forums with a single user database. I'm trying to create a system that will allow posts, and/or entire forums to be "replicated" across all sites. That way, a single post in one location will show up on all (as well as replies, modifications, deletions, etc).

Some info on the work I've done thus far...

My first attempts had all the work being done inside a Trigger. However, when you're acquiring data from the "INSERTED", "UPDATED", or "DELETED" tables as the database is modified...you CANNOT acquire data in that is of "text" format within the database. So, simply selecting what was added/modified/deleted and plugging it into the other sites doesn't work.

My second (and most lengthy) attempt has the trigger adding a record to a separate table, identifying the type of work that needs to be done on what fields (i.e. Topic or Reply? ID#. Is it an Insert, Delete, or Update? What ForumID did it originate from? What site did it originate from? etc...)

I wrote a VB.NET console application that runs every minute. When it runs, it will parse through this new separate table and perform the functions (if the posts match a forum that is allowed for replication). Each post is mapped across each forum with a new GUID that is assigned to it upon replication. This is how the system finds all the identical posts (as they'll have different ID's across the forums). I still think this one is doable, but I'm running into one scenario after another that needs to be accounted for and it's getting deep.

For example, within this one minute...a single post could be added, modified, replied to, then deleted. The system somehow has to account for this, and ignore posts that don't exist, then don't add the replies, blah blah blah...it's a mess.

I guess I'm looking for suggestions...

1) Has any one done this before?
2) What methodologies am I not considering? Is there a better way to accomplish this?
3) Any other thoughts?

Thanks folks...
AL

Al Bsharah
Aholics.com

Jeepaholics Anonymous
Broncoholics Anonymous
Network Insight

Jeepaholic
Average Member

USA
697 Posts

Posted - 04 March 2004 :  11:19:54  Show Profile  Visit Jeepaholic's Homepage
Any thoughts or creativity ya wanna throw my way? Thanks...

I'm thinking along the lines of creating a trigger that fires a stored procedure to do the work. That way, there's no pause while the application tries to catch up every minute. It's all done on-the-fly as it happens...

Al Bsharah
Aholics.com

Jeepaholics Anonymous
Broncoholics Anonymous
Network Insight
Go to Top of Page

Etymon
Advanced Member

United States
2385 Posts

Posted - 04 March 2004 :  21:08:10  Show Profile  Visit Etymon's Homepage
quote:
Originally posted by Jeepaholic

Any thoughts or creativity ya wanna throw my way? Thanks...

I'm thinking along the lines of creating a trigger that fires a stored procedure to do the work. That way, there's no pause while the application tries to catch up every minute. It's all done on-the-fly as it happens...



Sorry Jeepaholic ... it's beyond my abilities.
Go to Top of Page

Jeepaholic
Average Member

USA
697 Posts

Posted - 12 March 2004 :  22:42:51  Show Profile  Visit Jeepaholic's Homepage
One more ping for this one before I let it go...

Al Bsharah
Aholics.com

Jeepaholics Anonymous
Broncoholics Anonymous
Network Insight
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.23 seconds. Powered By: Snitz Forums 2000 Version 3.4.07