We are developing the traffic project, we are getting the traffic data from
tomtom(https://traffic.tomtom.com/tsq/hdf/ARE-HDF-OPENLR/149d7921-d010-43cd-8e0d-83e5df700500/content.proto) as of now URL is not open for us. we are using the sample proto data.
Here the issue is, when we try to decode the data using openlr(openlr.decoder.OpenLRDecoder;) its consuming more time to return response( example 1 sec for 1 record).
We have almost 43000 records needs to process approx. its takes almost 40 mins which run by 200 threads.
Could you please help to sort out issue.
ByteArray openLRByteArray = new ByteArray((byte) trafficFlow.getLocation().getOpenlr().toByteArray());
LocationReference locRef = new LocationReferenceBinaryImpl("", openLRByteArray);
Location decodedLoc = new OpenLRDecoder().decode(decParam, locRef);