You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Benno Evers (JIRA)" <ji...@apache.org> on 2018/06/25 16:06:00 UTC

[jira] [Created] (MESOS-9026) Filtering of JSON responses

Benno Evers created MESOS-9026:
----------------------------------

             Summary: Filtering of JSON responses
                 Key: MESOS-9026
                 URL: https://issues.apache.org/jira/browse/MESOS-9026
             Project: Mesos
          Issue Type: Bug
            Reporter: Benno Evers


One common problem with many Mesos endpoints is that they can potentially return huge amounts of JSON data. For example, in bigger clusters the `/state` and `/frameworks` endpoint can respond with tens up to hundreds of megabytes of data.

Most clients only need a tiny subset of the presented information. We should look into server-side filtering of responses to reduce the network congestion and processing load on the client.

Popular choices for such kind of APIs seem to include:
 - Augment existing REST endpoint with custom filtering options
 - GraphQL: https://graphql.github.io/
 - JSON-API: http://jsonapi.org/format/#fetching-sparse-fieldsets




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)