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 […]

0  

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 […]

0