hi, in my web app the database has a blob(an xml file). The user is allowed to change the blob through a web interface. I take the blob show it in a html form, then the user can change some values and save it back. So the user submit request has a db save. Can I save the entry to a cache to speed up the submit request? But then there is a chance of loosing the changes? What is the fastest way to persist the blob in db?
A:
You can queue the save for a later time. While there is a some chance that the user will lose his changes it is negligible compare to the benefits.
Shay Erlichmen
2010-10-11 09:34:15
we do this in some cases where the save can be deferred. But if it has to persist for sure then what to do?
anony
2010-10-11 09:46:51
@anony Then you need to implement async method.
Shay Erlichmen
2010-10-11 09:57:28
what are the various ways to do this async?
anony
2010-10-11 10:11:14
@anony Well thats depends on you stack
Shay Erlichmen
2010-10-11 10:27:18