What is the best way to use berkeley DB (bdb) handles in a multi-threaded app开发者_如何学Golication?
- Is it better to have each thread open its own handle; or, 
- is it better to open a single handle and have each thread do txn_begin { } txn->commit()? 
Which one scales better? I am using Transactional Data Store with DB_THREAD flag.
Thanks
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论