https://github.com/apache/couchdb-ioq
Mirror of Apache CouchDB
https://github.com/apache/couchdb-ioq
big-data cloud content couchdb cplusplus database erlang http javascript network-client network-server
Last synced: 10 months ago
JSON representation
Mirror of Apache CouchDB
- Host: GitHub
- URL: https://github.com/apache/couchdb-ioq
- Owner: apache
- Created: 2014-07-15T07:00:07.000Z (over 11 years ago)
- Default Branch: main
- Last Pushed: 2025-03-06T16:47:13.000Z (11 months ago)
- Last Synced: 2025-04-10T11:58:44.489Z (10 months ago)
- Topics: big-data, cloud, content, couchdb, cplusplus, database, erlang, http, javascript, network-client, network-server
- Language: Erlang
- Size: 134 KB
- Stars: 6
- Watchers: 21
- Forks: 12
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### IOQ classes
The following are the list of IOQ classes:
* interactive
* db_update
* view_update
* db_compact
* view_compact
* internal_repl
* low
### Bypassing IOQ
One can configure an ioq bypass, which removes an IO class from prioritization,
as below:
config:set("ioq.bypass", "view_update", "true")
Note that setting an IOQ bypass can effectively trump all other classes,
especially in the case of an interactive bypass v. compaction. This can lead
to high disk usage.
### Setting priorities
The priority for a class can also be set ala:
config:set("ioq", "compaction", "0.3")
Or globally, using snippet/rpc:
s:set_config("ioq", "compaction", "0.314", global)
rpc:multicall(config, set, ["ioq", "compaction", "0.217"])
As the interactive class is 'everything else' its priority cannot be directly
set.