You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2021/03/24 09:56:48 UTC
[GitHub] [couchdb] rnewson opened a new pull request #3455: Couch server shard simplification
rnewson opened a new pull request #3455:
URL: https://github.com/apache/couchdb/pull/3455
## Overview
In testing I've found that it would be much easier if max_dbs_open defines the maximum number of .couch files on a per couch_server basis (now that we have sharded the workload over several such processes). A few reasons that come into play;
1. In many test setups, including some couchdb tests in this repo, we set max_dbs_open quite low. The runtime division of that value by the number of schedulers then causes tests to fail in a confusing way. Performance tests are particularly impacted.
2. It is surprising to find that a config setting is not honored directly.
3. max_dbs_open itself exists to address two concerns. Firstly, as a cap on the number of open files directly. Secondly, to reflect the prohibitive cost of updating the server state for very large numbers of entries. For the first item, for small systems, the number of cores will also be small, so the multiplying effect of this change should not be a concern. For the second item, max_dbs_open's new definition is a significant improvement, as it can be set to whatever an individual couch_server can handle in terms of updating the server state.
## Testing recommendations
N/A
## Related Issues or Pull Requests
https://github.com/apache/couchdb/pull/3366
## Checklist
- [x] Code is written and works correctly
- [x] Changes are covered by tests
- [ ] Any new configurable parameters are documented in `rel/overlay/etc/default.ini`
- [ ] A PR for documentation changes has been made in https://github.com/apache/couchdb-documentation
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [couchdb] rnewson closed pull request #3455: Couch server shard simplification
Posted by GitBox <gi...@apache.org>.
rnewson closed pull request #3455:
URL: https://github.com/apache/couchdb/pull/3455
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [couchdb] rnewson commented on pull request #3455: Couch server shard simplification
Posted by GitBox <gi...@apache.org>.
rnewson commented on pull request #3455:
URL: https://github.com/apache/couchdb/pull/3455#issuecomment-808140507
closing for now, might come back to it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [couchdb] rnewson commented on pull request #3455: Couch server shard simplification
Posted by GitBox <gi...@apache.org>.
rnewson commented on pull request #3455:
URL: https://github.com/apache/couchdb/pull/3455#issuecomment-805661762
@chewbranca in particular for finding some of the operational difficulties of my original approach.
@janl for his thoughts on the impact of the multiplying effect inherent to this change.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [couchdb] rnewson commented on pull request #3455: Couch server shard simplification
Posted by GitBox <gi...@apache.org>.
rnewson commented on pull request #3455:
URL: https://github.com/apache/couchdb/pull/3455#issuecomment-805969589
am having second thoughts after discussing with rob allen.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org