SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 Database Design and Application Architecture
 Distributed Database Architecture
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

chih
Posting Yak Master

154 Posts

Posted - 05/08/2013 :  03:25:11  Show Profile  Reply with Quote
Hi all,

My company is planning to launch a website/mobile app in different countries. As data need to be sync between different countries, what is the best architecture to setup database?

i am wondering how facebook does. Anyone can give me a light? or article i can read

Thanks in advance

ahmeds08
Aged Yak Warrior

India
675 Posts

Posted - 05/08/2013 :  04:57:27  Show Profile  Send ahmeds08 a Yahoo! Message  Reply with Quote
Replication would be one option.

mohammad.javeed.ahmed@gmail.com
Go to Top of Page

chih
Posting Yak Master

154 Posts

Posted - 05/16/2013 :  20:26:03  Show Profile  Reply with Quote
mmm...

If one site is in Aus and one is in US, will it have delay using replication?
Do I need to setup link between 2 sites?



quote:
Originally posted by ahmeds08

Replication would be one option.

mohammad.javeed.ahmed@gmail.com

Go to Top of Page

Ifor
Aged Yak Warrior

615 Posts

Posted - 05/17/2013 :  06:11:03  Show Profile  Reply with Quote
Another option would be to use the Service Broker.

eg

http://diegworld.blogspot.co.uk/2010/03/asynchronous-triggers-using-sql-broker.html

http://stackoverflow.com/questions/7271922/sql-server-trigger-an-asynchronous-update-from-trigger
Go to Top of Page

Transact Charlie
Flowing Fount of Yak Knowledge

United Kingdom
3451 Posts

Posted - 05/17/2013 :  06:45:32  Show Profile  Visit Transact Charlie's Homepage  Reply with Quote
This isn't something that sql server is traditionally good at. At least in comparison to some different datastores I've used. There are products such as CouchDB that have merge / merge synchronization as key principals.

what kind of data needs synchronizing?
How much delay is acceptable for cross country / continent replication?
If you are storing session state or other key/value type information and need to synch that, then you may want to consider looking into a distributed key value store instead.

Have a look at RIAK Enterprise.
http://basho.com/riak-enterprise/

I love riak's scaling model and how it performs under failure conditions.



Transact Charlie
Msg 3903.. The ROLLBACK TRANSACTION request has no corresponding BEGIN TRANSACTION.
http://nosqlsolution.blogspot.co.uk/
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000