Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-124594

Protobuf deserialization is slow and the bottleneck for a vectormap application

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.7
    • GRPC, Protocol Buffers
    • None

    Description

      The MapBox vector map standard uses Protobuf to decode the coordinates of streets, houses, etc. (https://docs.mapbox.com/api/maps/vector-tiles/).

      In an attempt to implement this standard on basis of QtGrpc (https://github.com/cecilianor/Qt-thesis/tree/main) , we found that the deserialization is very inefficient. A tile with a size of 200 KB takes about 2 seconds to deserialize on a new laptop. Usually around 4-16 tiles need to be loaded to show a map. Competitors do this basically instantly.

      This example is a good opportunity to profile real world usage and to eliminate the bottleneck in the protobuf deserialization. 

      Attachments

        Issue Links

          Activity

            People

              semlanik Alexey Edelev
              matthias_rauter Matthias Rauter
              Vladimir Minenko Vladimir Minenko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: