The Artima Developer Community
Sponsored Link

.NET Buzz Forum
design pattern search

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Steve Hebert

Posts: 218
Nickname: sdhebert
Registered: Apr, 2005

Steve Hebert is a .NET developer who has created the .Math compiler library.
design pattern search Posted: Apr 13, 2005 9:05 AM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Steve Hebert.
Original Post: design pattern search
Feed Title: Steve Hebert's Development Blog
Feed URL: /error.htm?aspxerrorpath=/blogs/steve.hebert/rss.aspx
Feed Description: .Steve's .Blog - Including .Net, SQL Server, .Math and everything in between
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Steve Hebert
Latest Posts From Steve Hebert's Development Blog

Advertisement
I've been looking for a design pattern, but I'm not seeing it yet. 

Given an application where application state is fully contained in memory, the database is merely a stateserver for restore purposes and integration with the application is handled through staging tables,  I'm looking for a pattern that discusses a LazyWrite that incorporates a Unit of Work pattern where transactions cancel the staging record and update the state database simulataneously.  Being a lazy write on the Unit of Work objects, it uses a background thread to perform the actual write to allow the in-memory server to continue responding to application-level interactions regardless of the database load.  The goal of the pattern is two-fold - keeping the data in a known state where no transactions are lost in the event of a power failure and performance of the in-memory server is not impacted by database performance.  If incoming transactions are not saved in the time between processing and a power-outage, restarting the server merely performs these transactions again once the in-memory state is restored.

I have a feeling this may be a new pattern and there are several combinations of patterns that work nicely in this type of application. Perhaps I'll have to start writing about these and sharing.

Read: design pattern search

Topic: Information Bridge 1.5 Walkthrough - Part 1 Previous Topic   Next Topic Topic: Scrum and development methods

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use