Click here to Skip to main content
13,045,657 members (65,476 online)
Click here to Skip to main content


25 bookmarked
Posted 24 Aug 2009

Optimizing Performance with Denormalization, Observer Design Pattern and Asynchronous Technique

, 24 Aug 2009
Making use of Denormalization, Observer Design Pattern and Asynchronous technique can enhance performance for any system with massive database.
/// -----------------------------------------------------------------------------
/// Copyright (C) 2009. All rights reserved.
/// <summary>
/// Example with ObserverPattern to foster the low-coupling and synchronize data while using Denormalization to enhance performance
/// </summary>
/// <history>
///     Status    Date         By             Comments
///     ------------------------------------------------------------------------
///     Created   10 Aug 2009  Henry          Created
///     ------------------------------------------------------------------------
/// </history>
/// -----------------------------------------------------------------------------

namespace ObserverPattern_Test
    /// <summary>
    /// The 'Observer' abstract class
    /// </summary>
    abstract class Observer
        private ObserverState _observerState;

        // Gets or sets state
        public ObserverState State
            get { return _observerState; }
            set { _observerState = value; }

        public abstract void Update();


By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Pham Dinh Truong
Technical Lead
Vietnam Vietnam
I have been working in ASP.NET for more than 9 years. I've also been working on Java and Windows-based apps for more than 4 years. My core competences include ASP.NET, MVC, REST API, Design Patterns, SubSonic, Entity Framework, Ajax, Asynchronous, Multi-threading... I'm particularly interested in building smart apps with great UI/UX and high earned value.

I love to write the elegant code. I am a type of pragmatic personality.

Recently, I'm interested on developing SPA apps using AngularJS. I also love to write the progressive web apps which could be the next big thing for the mobile web.

Feel free to discuss with me at:

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170713.1 | Last Updated 24 Aug 2009
Article Copyright 2009 by Pham Dinh Truong
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid