Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-16812

Support CBOR format for update/query

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.3
    • None
    • None

    Description

      Javabin is quite efficient and fast . But non-java users have to use JSON exclusively

       

      CBOR  is a widely used format that is supported by most languages. 

       

      Here is a benchmark of updating using CBOR vs. JSON our films.json

      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

      Attachments

        Issue Links

          Activity

            People

              noble.paul Noble Paul
              noble.paul Noble Paul
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h 20m
                  3h 20m