What is the most efficient way to pass data (list of pairs of [Integer + Double]) between two Google App Engine instances?
- by ruslan
What is the most efficient way to pass data (list of pairs of [Integer, Double]) between two Google App Engine instances ?
Currently I use Java binary serialization. Frontend servlet receives data from the client in JSON format. I convert it to byte[] using ObjectOutput.writeObject and then send it to backend servlet via HTTP POST. It's not in production yet.
Should I just pass client's JSON as it is to backend? It seems more logical. But it's bigger in size.
Or should I use Google Protocol Buffers as stated in this benchmark article ?
Thank you!!!