ConfusedPenguin
Chunking both key and value from dictionary
Hi all, I have a very specific problem of needing to chunk both key AND value of a dictionary (could be any data type).
Scenario: I need to export and import a bunch of time series data from one tenant to a different one. The case is that I fetch say 500 Keys, where each key can have a range from 0..? count of values. The time series database service only allow bathc inserts of 100 keys, with 20,000 values per key in each insert. I need to chunk the request prior to creating the request to maintain the aforementioned rules. How would you do this efficiently?
4 replies
❔ Check response size of http (gRPC) calls
Hi, anyone aware if it possible to determine response size of gRPC responses? I am currently encountering:
Grpc.Core.RpcException: Status(StatusCode="ResourceExhausted", Detail="Received message exceeds the maximum configured message size.")
but I am not sure how large the message actually is.
(The response is coming from third party service, so not possible to determine). Would Fiddler or similar be able to trace that perhaps?2 replies