davisp commented on a change in pull request #1593: Couch server improvements
URL: https://github.com/apache/couchdb/pull/1593#discussion_r216447013
 
 

 ##########
 File path: src/couch/src/couch_server.erl
 ##########
 @@ -230,7 +235,13 @@ init([]) ->
     ok = config:listen_for_changes(?MODULE, nil),
     ok = couch_file:init_delete_dir(RootDir),
     hash_admin_passwords(),
-    ets:new(couch_dbs, [set, protected, named_table, {keypos, #entry.name}]),
+    ets:new(couch_dbs, [
+        set,
+        protected,
+        named_table,
+        {keypos, #entry.name},
+        {read_concurrency, true}
 
 Review comment:
   If memory serves, its the flip between read and write requests which is 
expensive which we already do exhaustively so I don't think it'd be that big of 
a deal.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to