Rational Dev

Design Patterns

Implementing Multithreaded Singelton Pattern In C#

This is an interesting article on how to implement a Multithreaded Singleton in C#.

Posted On: July 5, 2007 - 7:42am by Rational

REST - Simple SOAP Alternative Overview

REST stands for Representational State Transfer and is used in distributed computing.

REST is a simple technique that is basically providing an XML document on the fly via HTTP. Clients using the information just need to be able to use the XML as they see fit, perhaps transforming it with XSLT or whatever.

SOAP obviously is a lot more involved with this, requiring SOAP servers and clients. SOAP also offers a lot more features.

REST is basically about retrieving information and is not able to provide the communication involved in SOAP. If you are simplying trying to distribute informat

Posted On: December 19, 2006 - 1:10pm by Rational
( categories: )

Speeding Up Reports And Other Big Domain Object Queries - Concurrent Queries

This was an interesting pattern for speeding up object population times when there are a lot of sequential queries being used.

The idea is to use threading and run the queries concurrently. The object then waits for all queries that can be performed concurrently to complete. The option of a thread pool for the database connection queries is also introduced.

Obviously going to these lengths to improve query performance should only be used when you have profiled your application and found areas that need speeding up, otherwise this design pattern is going to be overkill.

This design pat

Posted On: December 19, 2006 - 7:09am by Rational
( categories: )
Syndicate content

User login

Google

BusGoldRew_163x104
CCGBCR_CardArt_156x100

Navigation