Dbx, is that the n*s*bl sh*t that is linked into datasnap? Since i migrated from datasnap to RTC I have had time to focus on real problems. Ahem, add a lusty and humble tone to the above (on XE2 still).
Russell Weetch What's the difference between that and SuperObject? Is doesn't list any ancestry nor basic documentation, and that usually makes me a bit nervous.
Jeroen Wiert Pluimers not sure as I never used SuperObject. Maybe the X refers to cross platform? Whereas SuperObject was just Delphi? although SuperObject says it works with OSX
Perhaps, nothing really has changed in DBXJSON performance in XE6, though it should after the tests that A. Bouchez have conducted with his JSON replacement.
You might want to add compression to reflected datasets to avoid large memory consumption both on the DataSnap REST server and client, look for Data.FireDACJSONReflect.pas for XE6 in http://qc.embarcadero.com/wc/qcmain.aspx?d=126914 attached project. It can be easily adapted to XE5.
Is rewriting parts of DBX to incorporate JSON replacement at least doable?
Interesting question.
ReplyDeleteXSuperObject - cross platform and no complaints - https://code.google.com/p/x-superobject/
ReplyDeleteAnother interesting question would be if DBX correctness & stability has improved (it was the worst on that aspect)
ReplyDeletemy own ;-)
ReplyDeletehttps://bitbucket.org/Gloegg/delphi-xe-json
Dbx has some memory leak dont fixed
ReplyDeleteDbx, is that the n*s*bl sh*t that is linked into datasnap? Since i migrated from datasnap to RTC I have had time to focus on real problems. Ahem, add a lusty and humble tone to the above (on XE2 still).
ReplyDeleteDany Marmur do you know mormot or sparcke from tms software?
ReplyDeleteNo, before RTC i had a look at mormot. The narrower scope of RTC suited me better. HTH.
ReplyDeleteUsing XSuperobject. Suitably impressed
ReplyDeleteRussell Weetch What's the difference between that and SuperObject? Is doesn't list any ancestry nor basic documentation, and that usually makes me a bit nervous.
ReplyDeleteJeroen Wiert Pluimers not sure as I never used SuperObject. Maybe the X refers to cross platform? Whereas SuperObject was just Delphi? although SuperObject says it works with OSX
ReplyDeleteRussell Weetch my gut feeling indicates it is a fork of SuperObject.
ReplyDeleteRussell Weetch Yes, it is cross platform. It's pretty lightweight but seems to do exactly what it's supposed to do.
ReplyDeletePerhaps, nothing really has changed in DBXJSON performance in XE6, though it should after the tests that A. Bouchez have conducted with his JSON replacement.
ReplyDeleteYou might want to add compression to reflected datasets to avoid large memory consumption both on the DataSnap REST server and client, look for Data.FireDACJSONReflect.pas for XE6 in http://qc.embarcadero.com/wc/qcmain.aspx?d=126914 attached project. It can be easily adapted to XE5.
Is rewriting parts of DBX to incorporate JSON replacement at least doable?
Another compression mod to Data.FireDACJSONReflect.pas for XE6 http://blogs.embarcadero.com/fernandorizzato/index.php/2014/07/21/multi-tier-com-delphi-xe6-e-firedac-json-reflection/
ReplyDeleteP.S. Actually it is not the other, it is the same mod. Yet the article describes TDSSupportZLib class to compress strings, but it is not clear where is it to be used in the code.