[
https://issues.apache.org/jira/browse/SOLR-16812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Noble Paul updated SOLR-16812:
------------------------------
Description:
Javabin is quite efficient and fast . But non-java users have to use JSON
exclusively
[CBOR |http://example.com/] is a widely used format that is supported by most
languages.
Here is a benchmark of updating using CBOR vs. JSON our films.json
{code:java}
Payload Size (bytes)
============
json : 633600
cbor : 210439
javabin: 234520
time taken to index
====================
JSON: 330ms
JAVABIN: 216ms
CBOR: 200ms
time takes to query *:* 1100 docs
==================================
json: 85 ms
javabin : 64ms
cbor : 53ms{code}
was:
Javabin is quite efficient and fast . But non-java users have to use JSON
exclusively
[CBOR |http://example.com/] is a widely used format that is supported by most
languages.
Here is a benchmark of updating using CBOR vs. JSON our films.json
{code:java}
Payload Size (bytes)
============
json : 633600
cbor : 290672
javabin: 234520
time taken to index
====================
JSON: 583ms
CBOR: 509ms
JAVABIN : 549
time takes to query *:* 1100 docs
==================================
json: 92 ms
javabin : 70ms
cbor : 63ms{code}
> Support CBOR format for update/query
> ------------------------------------
>
> Key: SOLR-16812
> URL: https://issues.apache.org/jira/browse/SOLR-16812
> Project: Solr
> Issue Type: Task
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Noble Paul
> Assignee: Noble Paul
> Priority: Major
> Time Spent: 1h
> Remaining Estimate: 0h
>
> Javabin is quite efficient and fast . But non-java users have to use JSON
> exclusively
>
> [CBOR |http://example.com/] is a widely used format that is supported by most
> languages.
>
> Here is a benchmark of updating using CBOR vs. JSON our films.json
> {code:java}
> Payload Size (bytes)
> ============
>
> json : 633600
> cbor : 210439
> javabin: 234520
> time taken to index
> ====================
> JSON: 330ms
> JAVABIN: 216ms
> CBOR: 200ms
> time takes to query *:* 1100 docs
> ==================================
> json: 85 ms
> javabin : 64ms
> cbor : 53ms{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]