multithreading - Berkeley DB in multithreaded applications -


What's the best way to use Berkeley DB (BDB) in a multi-threaded application?

  1. Is it better to open each handle to each thread?

  2. Is it better to open the same handle and make each thread txn_begin {} txn-> commit?

Which one scales are better? I am using the Transactional Data Store with the DB_THREAD flag.

Thank you

Have you read this for the BDB under the multi thread environment ?


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -