3 ms·
I'm a little ignorant of the situation on the sqlite side, so this may be a dumb question... Say you have an MVC web app, could you have asynchronous calls to
by shermanyo 10y ago
I'm a little ignorant of the situation on the sqlite side, so this may be a dumb question...
Say you have an MVC web app, could you have asynchronous calls to a thread performing the actual DB writes?
From your app's perspective, concurrent writes would be placed into a queue that performs them serially.
Are there any functional issues to this approach? Thanks in advance for your thoughts or info.
- zyx321 10y agoThat might work, as long as you don't ever need to read the data you've just written (logging?). Otherwise you'll end up serving stale data that might be several minutes out of date.
- shermanyo 10y agoAh, longer caching is the factor with web I always forget after focusing on apps / games. Thanks for pointing it out.