Questions tagged [replication]

The use of redundant resources to improve reliability, fault-tolerance, or performance.

Replication is the process of sharing information so as to ensure consistency between redundant resources, such as software or hardware components, to improve reliability, fault-tolerance, or accessibility.

It could be data replication if the same data is stored on multiple storage devices, or computation replication if the same computing task is executed many times.

A computational task is typically replicated in space, i.e. executed on separate devices, or it could be replicated in time, if it is executed repeatedly on a single device.

The access to a replicated entity is typically uniform with access to a single, non-replicated entity. The replication itself should be transparent to an external user. Also, in a failure scenario, a failover of replicas is hidden as much as possible.

More info on Wikipedia

3869 questions
10
votes
1 answer

What are the drawbacks of session replication on Tomcat?

I was trying to decide what is better in a Tomcat+Apache reverse proxy mode for session replication. What is more common on deployments? session replication or stick session? Are there any drawbacks for session replication? Thanks
10
votes
3 answers

Endless recovering state of secondary

I build a replication set with one primary, one secondary and one arbiter on MongoDB 3.0.2. The primary and arbiter are on the same host and the secondary is on another host. With the growing of write overload, the secondary can't follow the…
tottishi05
  • 557
  • 1
  • 5
  • 13
10
votes
2 answers

How to configure a replica set with MongoDB

I've got this problem that I can't solve. Partly because I can't explain it with the right terms. I'm new to this so sorry for this clumsy question. Below you can see an overview of my goal. I want configure Replication Set in MongoDB for that i…
Naresh
  • 681
  • 2
  • 12
  • 39
10
votes
6 answers

Tools for Building an OCA (Occasionally Connected Application)

I will be building an in-house, Occasionally Connected App (OCA). What technologies would you suggest I employ. Here are my parameters: .NET Shop(3.5sp1) C# for code behind (winform,wpf,silverlight) SQL Server Backend (2005 or possibly 2008 pending…
Refracted Paladin
  • 12,096
  • 33
  • 123
  • 233
10
votes
4 answers

HDFS Reduced Replication Factor

I've reduced the replication factor from 3 to 1, yet do not see any activity from the namenode or between datanodes to remove overly-replicated HDFS file blocks. Is there a way to monitor or force the replication job?
Carl Sagan
  • 982
  • 1
  • 13
  • 34
10
votes
2 answers

verifying data consistency between two postgresql databases

This is specifically about maintaining confidence in using various replication solutions that you'd be able to failover to the other server without data loss. Or in a master-master situation that you could know within a reasonable amount of time if…
David Ackerman
  • 472
  • 4
  • 11
10
votes
1 answer

Why does my MongoDB replica keep falling behind?

While converting a collection to a capped collection last night, my secondary's optime started lagging behind the primary. It advanced slowly, a couple seconds every several minutes, and eventually fell out of the primary's oplog window. Per the…
awshepard
  • 2,627
  • 1
  • 19
  • 24
10
votes
3 answers

is it possible to replicate a view from a SQL server to another one?

I know a view is composed of tables. Can I replicate a view anyway?
developer.cyrus
  • 903
  • 2
  • 7
  • 18
10
votes
3 answers

Why SQL Server doesn't allow to remove a Distributor exactly after Configuration?

I Configured a distribution in SQL Server 2008 using both Wizard and T-SQL but after it when I want to remove it Using Wizard (right clicking on Replication and choosing 'Disable Publishing and Distribution...') or executing following command with…
9
votes
1 answer

Slony and PGPool for fail-over

We're considering Slony and PGPool as alternatives to handle failover in our application -and it seems like since we're gonna need at least two DB servers, we could take advantage of load balancing too- Under which circumstances Slony is better than…
SDReyes
  • 9,798
  • 16
  • 53
  • 92
9
votes
3 answers

Database Replication or Mirroring?

What is the difference between Replication and Mirroring in SQL server 2005?
Server_Mule
  • 579
  • 3
  • 9
  • 17
9
votes
9 answers

Where can I find the file my.ini file for windows mysql server?

The same question is repeated again and again and i am another one repeating this question . I have already set up my mysql server . Its location is C:\Program Files\MySQL\MySQL Server 5.5 but i am not able to find the my.ini file…
gaurav
  • 345
  • 2
  • 9
  • 20
9
votes
4 answers

MySQL dual master

For my current project we are thinking of setting up a dual master replication topology for a geographically separated setup; one db on the us east coast and the other db in japan. I am curious if anyone has tried this and what there experience has…
Manish V
  • 325
  • 3
  • 18
9
votes
1 answer

Replication from one SQL Server Express to another

I have one SQL Server Express instance with a pretty normal well formed database. I need to have the data continuously replicated to a SQL Server Express instance on another server. Now, I know that SQL Server Express does not include the Publisher…
Niels Brinch
  • 3,033
  • 9
  • 48
  • 75
9
votes
5 answers

what type of database record id to use: long or guid?

In recent years I was using MSSQL databases, and all unique records in tables has the ID column type of bigint (long). It is autoincrementing and generally - works fine. Currently I am observing people prefer to use GUIDs for record's identity. Does…
twk
  • 3,122
  • 2
  • 26
  • 36