In a scenario where a web service is required to handle and transmit large volumes of data, which format should be chosen?

  • JSON
  • MessagePack
  • Protocol Buffers (protobuf)
  • XML
When dealing with large volumes of data in a web service, Protocol Buffers (protobuf) is a more suitable choice due to its compact binary format, efficient serialization, and reduced overhead compared to JSON or XML. This makes it ideal for scenarios where optimizing data size and transmission speed are crucial.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *