You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Vadim Lotarev (JIRA)" <ji...@apache.org> on 2019/07/16 12:28:00 UTC
[jira] [Updated] (GEODE-6965) JSON representation of query response
data may be improved
[ https://issues.apache.org/jira/browse/GEODE-6965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vadim Lotarev updated GEODE-6965:
---------------------------------
Description: Currently, according to [conventions|https://geode.apache.org/releases/latest/javadoc/org/apache/geode/management/DistributedSystemMXBean.html#queryData-java.lang.String-java.lang.String-int-] each value in query response is accompanied with type in JSON representation. I never seen that query result contains values of different type. To me it would be a great performance improvement if value type will be specified just once in response JSON stream. For simple queries (like: select id from /region) this would reduce response size more than twice! (was: Currently, according to [conventions|[https://geode.apache.org/releases/latest/javadoc/org/apache/geode/management/DistributedSystemMXBean.html#queryData-java.lang.String-java.lang.String-int-]] each value in query response is accompanied with type in JSON representation. I never seen that query result contains values of different type. To me it would be a great performance improvement if value type will be specified just once in response JSON stream. For simple queries (like: select id from /region) this would reduce response size more than twice! )
> JSON representation of query response data may be improved
> ----------------------------------------------------------
>
> Key: GEODE-6965
> URL: https://issues.apache.org/jira/browse/GEODE-6965
> Project: Geode
> Issue Type: Improvement
> Components: querying
> Reporter: Vadim Lotarev
> Priority: Major
>
> Currently, according to [conventions|https://geode.apache.org/releases/latest/javadoc/org/apache/geode/management/DistributedSystemMXBean.html#queryData-java.lang.String-java.lang.String-int-] each value in query response is accompanied with type in JSON representation. I never seen that query result contains values of different type. To me it would be a great performance improvement if value type will be specified just once in response JSON stream. For simple queries (like: select id from /region) this would reduce response size more than twice!
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)