solution wen server goes down
-
hi, i need a solution for a scenario.When server goes down i need to continue my work using temporary values available.how dis can be acheived does dataset hold values even wen the server goes down? if so how it works? thnx in advance,
zari
You can put whatever data you like into a dataset, whether its from a database or any other source. It holds the data in memory. This means it can be used as a cache so that if the connection to the server is lost you can carry on working. But if you have a large database it's not practical to hold the entire thing in memory. You'll also come across concurrency problems if there are multiple people using datasets and then they try to put the data back into the database when its been down. Why would the server go down? The database should have redundancy so that it doesn't go down because its a vital part of the system.