Subject | Re: Firebird and SMP support |
---|---|
Author | Adam |
Post date | 2008-02-01T00:59:49Z |
Todd,
is *not* going to help too much if you only ever issue one query at a
time.
I am having trouble understanding your environment because your
feedback seems contradictory.
You mentioned in your prior post that you only establish one
connection. Again, Firebird connections are ***NOT*** thread-safe. You
are going to run into trouble if pretend they are.
1. You maybe mean one connection per 'apartment'? This is OK, and
classic will use SMP.
2. You maybe performing your own marshaling (hence my bottleneck
comment, making every connection queue for one connection). This is
OK, but will not use SMP on either model.
3. You like taking risks ignoring thread safety (holds tongue on
possible COM risks jokes ;) ).
at a time.
No, providing you are using a TCP/IP style connection string (eg
server:alias or server:c:\data\data.fdb). It only takes a minute or
two to uninstall and reinstall.
If you play around with the .conf file to optimise any caches, then
you will need to make sure they are a sensible value for Classic.
them as it needs.
Adam
>SMP is primarily useful for better dealing with *concurrent* load. It
> The appserver is Apartment threaded COM object. And there is no
> bottle neck I am just trying to better understand the differences in
> classsic and superserver.
is *not* going to help too much if you only ever issue one query at a
time.
I am having trouble understanding your environment because your
feedback seems contradictory.
You mentioned in your prior post that you only establish one
connection. Again, Firebird connections are ***NOT*** thread-safe. You
are going to run into trouble if pretend they are.
1. You maybe mean one connection per 'apartment'? This is OK, and
classic will use SMP.
2. You maybe performing your own marshaling (hence my bottleneck
comment, making every connection queue for one connection). This is
OK, but will not use SMP on either model.
3. You like taking risks ignoring thread safety (holds tongue on
possible COM risks jokes ;) ).
> Right now we are using IB 6 but it willFirebird 2 should outperform IB 6 in almost all areas even excluding SMP.
> not scale.
> And for most of our client base the Interbase 2007 costCorrect. But neither will Classic if you have just a single connection
> is to much. I have not tried the classic version only the
> Superserver. Superserver does fine but does not appear to take
> advantage of the multi-processor enviroment.
at a time.
> Is there a problem switching from classic to superserver or viceversa in a production enviroment?
No, providing you are using a TCP/IP style connection string (eg
server:alias or server:c:\data\data.fdb). It only takes a minute or
two to uninstall and reinstall.
If you play around with the .conf file to optimise any caches, then
you will need to make sure they are a sensible value for Classic.
> I just want to know that we can scale with Firebird andWe have a couple of 2003 servers with 8 cores. Classic uses as many of
> take advantage of these multi core machines.
them as it needs.
Adam