Websocket - Multiple item request vs batch request

Hi all,

is better to send multiple single item requests or one (or several if needed) batch request?

I guess that batch requests is better but I have found no best practices documentation.

Additionally I have found no API reference with ALL requests/responses specifications and their fields description.

Could you provide me some links please?

Thank you for your help.

Best Answer

Answers

  • Hi @Alex Amat

    Sending batch requests is designed to provide convenience and because the overall size of the cargo of data going down is smaller, this would provide less overhead. However, in practice, it may not make a significant material difference.

    I don't believe there are best practices but only standard documentation within GitHub where it generally describes the Batch feature.

  • Ok, thank you.

    And regarding to reference documentation? I receive a lot of fields in "Refresh" or "Update" messages that I don´t know what means and I wasný able to find anything in the dev web, any idea?

  • Ok, thank you. It seems to be usefull, I will try it more deeply.


    Anyway I suggest an static document (pdf o whatever) with all request, responses, fields, etc. if possible.