Tag Archives: timestamp
Possible Concurrency solution in n-tier Web Applications
Concurrency is one of the major issues during development of n-tier Web Applications since Client-side & Server-side work independently. Concurrency is typically handled on the Server-side. We can either keep a version number or maintain a timestamp for every record. Handle Concurrency by maintaining a timestamp (Shown visually below) Handle Concurrency by maintaining a version […]
Posted on September 18, 2010 by GauZ in Technology
Tags: application, Business Logic Layer, Concurrency, Data Tier, LastModifiedDate, Middle Tier, n-tier, Presentation Layer, solution, timestamp, transaction, version, version number, Web
Create your own basic In-Memory Cache
In one of my recent projects, there was a requirement to cache data for a stipulated period of time (say 3 minutes) in order to prevent frequent database look-ups. Obviously, improving the efficiency of the system was also another requirement. 😉 Via illustrations as shown below, I have made a basic flowchart about the different […]
Posted on September 14, 2010 by GauZ in Technology
Tags: Caching, Custom, data, Dictionary, fast, identifier, in-memory, inexpensive, key, lookup, Memory, timestamp
Login