
24 May
2023
24 May
'23
9:55 a.m.
Hi Vinod, On 2023-5-22 1:07 am, Vinod Adhikary via ruby-talk wrote:
When I've run into these sorts of situations, I've found delegating XML generation to the database to be faster and acceptable. Before going further into the details, what's your expected payload size, i.e. how many records and how many attributes per record, and how big are these attributes? Secondly, do you have the option to create rows of xml to return directly from the database?
This is exactly our experience for JSON generation - and doing that in the database is fantastic... especially for a large number of objects. Best regards, Mohit.