redundancy

Creating Redundancy for a Subversion Repository?

What is the best way to create redundant subversion repositories? I have a subversion repository (linked through apache2 and WebDAV) and would like to create a mirror repository on a different server in the event of outages, but I am not certain of the best way to proceed. I am thinking that post-commit scripts could be used to propaga...

Using OpenID as a login for my website - redundant providers

How do I support redundancy on my OpenID login website? For instance, I have users that demand 100% uptime (yeah, right, but let's get as close as we can). Some of them use less available providers (ie, myphpid on their own website, or an ID on a startup which has frequent downtime). Now I can shuttle them to a more reliable provider...

How to deploy an ASP.NET Application with zero downtime

To deploy a new version of our website we do the following: Zip up the new code, and upload it to the server. On the live server, delete all the live code from the IIS website directory. Extract the new code zipfile into the now empty IIS directory This process is all scripted, and happens quite quickly, but there can still be a 10-2...

Book/Resource about setting up load balancing and fail over for Servlet based Java web application

Hi, We're creating a web system using Java and Servlet technology (actually Wicket for the presentation layer) and we need our system to be available nearly always as our customers will be quite dependent on it. This has lead us to look for a good book focusing on the subject or another resource which explains how to set up a more redu...

I need high performance data redundancy over IP

I have a database that I need to provide redundancy for. It is Codebase, but using a typical SQL database uses too much CPU, and having the DB offsite causes too much latency in my process. I need a viable solution for providing data redundancy with an offsite location for my time criticla process. ...

Redundancy, reliability and fault tolerance in C# - where to look for examples?

I want to learn how to create truly robust applications in .net - ones that are fault tolerant and are capable of withstanding unexpected situations. Where can I find literature/guidance on this subject? So far, I am not having much luck. ...

Cross-colo fail-over design, DNS level fail-over?

I'm interested in cross-colo fail-over strategies for web applications, such that if the main site fails users seamlessly land at the fail-over site in another colo. The application side of things looks to be mostly figured out with a master-slave database setup between the colos and services designed to recover and be able to pick up m...

Database replication for redundancy using a free database and a Java with Spring & Hibernate web application

Hi, I have this in mind: On each server: (they all are set up identically) A free database like MySQL or PostgreSQL. Tomcat 6.x for hosting Servlet based Java applications Hibernate 3.x as the ORM tool Spring 2.5 for the business layer Wicket 1.3.2 for the presentation layer I place a load balancer in front of the servers and a rep...

How To Check Dependencies Between Jar Files?

Hi all, This is my first Q here :) I recently have taken the support and programming of a web system written in JSF. The code is kind of messy and redundant, and yes, no documentation exists. The system has over 40 jar libraries, and most of them are redundant due to old versions and testing. To remove one jar, I must check that it...

Simple Failover for IIS and MS SQL server

I have a client with a .Net 1.0 web app that uses IIS and a SQL 2000 database. It is hosted with a shared hosting service and does get not much traffic (a few visitors a day tops). The hosting has occasional downtime, of course, and the client has asked me if I can setup a redundant system to reduce downtime to negligible. What is the s...

Why does resharper say 'Catch clause with single 'throw' statement is redundant'?

I thought throwing an exception is good practice to let it bubble back up to the UI or somewhere where you log the exception and notify the user about it. Why does resharper say it is redundant? try { File.Open("FileNotFound.txt", FileMode.Open); } catch { throw; } ...

Usefulness of separating database files and trans logs among partitions

Some guys where I work are setting up a new database server for SQL Server. The server has a system drive that also stores backups and a single RAID 5 array for the database files. The RAID 5 array is logically partitioned into 2 drives. One is for the actual database files (MDF) and the other is for the transaction logs (LDF). The quote...

How can I reduce the redundancies in my jQuery code?

The size of my JavaScript file is getting out of hand because I have hundreds of links, and each one has its own jQuery function even though they all peform basically the same task. Here's a short excerpt: $("#link1").click(function () { $(".myDiv").hide(); $("#myDiv1").toggle(); }); $("#link2").click(function () { $(".myDiv").h...

C# Designer: Removing redundant code from Design.cs.

Hi, I have a form which has several buttons, labels and other stuff on it, but the designer appears to remember old elements of that form that have previously be deleted. Is there anyway to 'refresh' the form.Designer.cs code to inform it what elements are currently on the form and what elements are not. Cheers for the help in advanc...

What's the best way to avoid code duplication in these two functions that do the same thing?

Given this form (which contains a submit button): <form id="review_form"> <input type="submit" id="btn_submit" value="Submit with ajax! (submit button)"> </form> and this link (to submit the same form): <a href="#" id="lnk_submit">Submit with ajax! (hyperlink)</a> In the following jQuery code, when the #btn_submit element is clic...

Django redundancy and replication over two VPS accounts

I'm slowly getting into the position where one of my Django sites needs some robustness behind it. I'd currently running on a single VPS on a SQLite database with memcached.. It's about as un-scaled as things can get. If I bought another VPS account, what would I want to do? Move to MySQL/PostgreSQL with replication? What's easiest? D...

CSS margins: aligning a list against a float-left image

Hi, The following is my first cut at coding-up a reddit-like comment in html+css. I have a few questions about css and the general structure: How do I get the comment body ("The King took off his hat...") to align with the comment head ("Nathan, posted...") and the comment tail ("reply permalink ...")? I tried making the margin-bottom ...

how do i remove redundant tuples in microarray data using java programming ?

In WEKA-a data mining software for the MICROARRAY DATA, how can i remove the redundant tuples from the existing data set? The code to remove the redundancy should be in JAVA. i.e, the data set contains data such as H,A,X,1,3,1,1,1,1,1,0,0,0 D,R,O,1,3,1,1,2,1,1,0,0,0 H,A,X,1,3,1,1,1,1,1,0,0,0 C,S,O,1,3,1,1,2,1,1,0,0,0 H,A,X,1,3,1,1,...

redundant encoding?

This is more of a computer science / information theory question than a straightforward programming one, so if anyone knows of a better site to post this, please let me know. Let's say I have an N-bit piece of data that will be sent redundantly in M messages, where at least M-1 of those messages will be received successfully. I am inte...

redundant encoding of a sampled counter

this is an extension of my other question about redundant encoding, but the two are different enough that I wanted to split it up. What if I have a counter that increments once per tick, and at erratic rates a message will be sent out containing information about the counter. If I know that the interval between messages will be at most ...