Reputation: 6369
I have a dash app which is slow to run when deployed from a web server because of the large request data being sent. One thing I have noticed is that in the request data there seems to be a binary encoded data field, which is immediately followed by the array in a human readable format:
For example the bdata
field:
"x\":{\"dtype\":\"f8\",\"bdata\":\"AAAAAAAAScBmZmZmZuZIwM....
\"_inputArray\":{\"0\":-50,\"1\":-49.8,\"2\":-49.6,...
So it seems like its sending duplicate data by sending both the binary encoded array, and the input array as JSON. Is there any way to turn this off, so only the binary encoded data is sent?
Upvotes: 0
Views: 22