Re: [sqlite] Handling concurrent read request to SQLite

2012-07-29 Thread Navaneeth.K.N
On Thu, Jul 26, 2012 at 11:37 AM, Simon Slavin wrote: > > Have you set a timeout ? If you haven't the SQLite functions never back > off and retry when they find the database locked, they just immediately > return an error. > Thanks a lot. I didn't know about this feature.

Re: [sqlite] Handling concurrent read request to SQLite

2012-07-26 Thread Simon Slavin
On 26 Jul 2012, at 6:29am, "Navaneeth.K.N" wrote: > Recently, I implemented a web version of my program which internally uses > the shared library. There will be REST URLs exposed for the "learn" API > call, something like "http://websitename.com/learn; with the word to

[sqlite] Handling concurrent read request to SQLite

2012-07-25 Thread Navaneeth.K.N
Hello, I am writing a shared library which uses SQLite as the file format. This library has got a learning subsystem which can learn a word and all possible ways to type that word. Usually the word will be UTF-8 encoded indic text and patterns will be words with latin characters. I am using the