# 3.11. CouchDB Internal Services

## 3.11.1. CouchDB Daemonized Mini Apps

`[daemons]`
  `auth_cache`

    This daemon provides authentication caching to avoid repeated opening and closing of the _users database for each request requiring authentication:

        [daemons]
        auth_cache={couch_auth_cache, start_link, []}

  `compaction_daemon`

    Automatic compaction daemon:

        [daemons]
        compaction_daemon={couch_compaction_daemon, start_link, []}

  `external_manager`

    External processes manager:

        [daemons]
        external_manager={couch_external_manager, start_link, []}

  `httpd`

    Node-local HTTP server daemon (default port: 5986):

        [daemons]
        httpd={couch_httpd, start_link, []}

  `index_server`

    The couch_index application is responsible for managing all of the different types of indexers. This manages the process handling for keeping track of the index state as well as managing the updater and compactor handling:

        [daemons]
        index_server={couch_index_server, start_link, []}

  `query_servers`

    Query servers manager:

        [daemons]
        query_servers={couch_query_servers, start_link, []}

  `replicator_manager`

    Replications manager:

        [daemons]
        replicator_manager={couch_replicator_manager, start_link, []}

  `stats_aggregator`

    Runtime statistics aggregator:

        [daemons]
        stats_aggregator={couch_stats_aggregator, start, []}

  `stats_collector`

    Runtime statistics collector:

        [daemons]
        stats_collector={couch_stats_collector, start, []}

  `uuids`

    UUIDs generator daemon:

        [daemons]
        uuids={couch_uuids, start, []}

  `vhosts`

    Virtual hosts manager. Provides dynamic add of vhosts without restart, wildcards support and dynamic routing via pattern matching

        [daemons]
        vhosts={couch_httpd_vhost, start_link, []}