Currently I open one connection to the database everytime a database command is 
recieved and I close
it after. 
 
This look simple and work, are you looking for optimization ?
 
Julien

        -----Original Message----- 
        From: [EMAIL PROTECTED] on behalf of Dmitry Agafonov 
        Sent: Wed 4/6/2005 07:19 AM 
        To: [email protected] 
        Cc: 
        Subject: [Bayonne-devel] SQL support
        
        

        Hello!
        
        I just get myself to the idea of SQL usage in bayonne (ccscript).
        
        Imagine a pool of SQL connections, ready to answer any query.
        One connection per SQL gateway thread (like TGI).
        
        Just ping() connection on script startup and cleanup result sets on
        script ending.
        
        Simple schema, isn't it?
        
        --
        Dmitry
        
        
        _______________________________________________
        Bayonne-devel mailing list
        [email protected]
        http://lists.gnu.org/mailman/listinfo/bayonne-devel
        

_______________________________________________
Bayonne-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bayonne-devel

Reply via email to