apache / apache/couchdb

allDocs ndjson response

Open
#3,937 2 comments 1 reaction 0 assignees View on GitHub
enhancement needs-triage
Dominant language
Erlang
Stars
7k
Forks
1.1k
Avg merge
1d 16h
Merged PRs (30d)
9

Description

Would be nide if the _all_docs endpoint could respond in http://ndjson.org/ format (similar to _changes) which would make it possible to do streaming parsing of the response which can improve memory usage and also parsing performance of clients.

Contributor guide

Open the contributing guide

Research direction

Start at the _all_docs HTTP endpoint and compare its response handling with the existing _changes endpoint. Determine how an ndjson response should be exposed without breaking current clients, then verify that _all_docs can be consumed incrementally with reduced buffering and parsing overhead.

Written by the indexing model from the issue text.

Assessment

Tech stack
erlang
Domain
api, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.