[wsf-c-dev] sqlite fail with multple processes.
Damitha Kumarage
damitha at wso2.com
Thu Mar 22 23:01:45 PDT 2007
Hi,
When testing sandesha2c with multiple requests simultaneously it break.
I suspect this is beause sqlite fails in this scenario. I wrote four tests
with sqlite and mysql to test them in multi-process and multi-thread
environments
where each thread/process insert a record into a database table.
(see attached). sqlite fail with multi-process test where it only insert
only one
record whereas it should insert 10 records. I will try a mysql storage
manager
which will only take about 2 days for sandesha2c and see whether the problem
still exist. Please just have look at the samples attached and give your
opinion.
Damitha.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_process_sqlite.c
Type: text/x-csrc
Size: 2264 bytes
Desc: not available
Url : http://wso2.org/pipermail/wsf-c-dev/attachments/20070323/6ac0a6f7/test_process_sqlite.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_thread_sqlite.c
Type: text/x-csrc
Size: 2944 bytes
Desc: not available
Url : http://wso2.org/pipermail/wsf-c-dev/attachments/20070323/6ac0a6f7/test_thread_sqlite.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_process_mysql.c
Type: text/x-csrc
Size: 2328 bytes
Desc: not available
Url : http://wso2.org/pipermail/wsf-c-dev/attachments/20070323/6ac0a6f7/test_process_mysql.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_thread_mysql.c
Type: text/x-csrc
Size: 3069 bytes
Desc: not available
Url : http://wso2.org/pipermail/wsf-c-dev/attachments/20070323/6ac0a6f7/test_thread_mysql.c
More information about the Wsf-c-dev
mailing list