Subject | CS or SS in firebird embedded? |
---|---|
Author | Bud Millwood |
Post date | 2004-08-30T08:59:21Z |
We're migrating some applications to Firebird embedded and need to support
Win32, Linux-x86 and Solaris sparc.
Our applications are multi-threaded and are expected to at least run correctly
on SMP systems (even if they're not taking full advantage of multiple
processors). We use a database wrapper to abstract the underlying database,
and this wrapper ensures mutual exclusion to the underlying database APIs. We
also ensure that things like pre-compiled statements are allocated
per-thread.
Our question is: Which architecture (CS or SS) best fits our needs? If a
particular architecture is not thread-safe, is it still thread-friendly? (In
other words, does our mutual exclusion wrapper negate the argument for which
architecture to use?)
Regards,
Bud Millwood
Weird Solutions, Inc.
http://www.weird-solutions.com
tel: +46 8 758 3700
fax: +46 8 758 3687
mailto:budm@...
Win32, Linux-x86 and Solaris sparc.
Our applications are multi-threaded and are expected to at least run correctly
on SMP systems (even if they're not taking full advantage of multiple
processors). We use a database wrapper to abstract the underlying database,
and this wrapper ensures mutual exclusion to the underlying database APIs. We
also ensure that things like pre-compiled statements are allocated
per-thread.
Our question is: Which architecture (CS or SS) best fits our needs? If a
particular architecture is not thread-safe, is it still thread-friendly? (In
other words, does our mutual exclusion wrapper negate the argument for which
architecture to use?)
Regards,
Bud Millwood
Weird Solutions, Inc.
http://www.weird-solutions.com
tel: +46 8 758 3700
fax: +46 8 758 3687
mailto:budm@...