{"id":294,"date":"2008-11-04T00:45:55","date_gmt":"2008-11-04T05:45:55","guid":{"rendered":"http:\/\/www.ourada.org\/blog\/?p=294"},"modified":"2008-11-04T00:45:55","modified_gmt":"2008-11-04T05:45:55","slug":"lazy-load-is-a-lie","status":"publish","type":"post","link":"https:\/\/www.ourada.org\/blog\/archives\/294","title":{"rendered":"Lazy load is a lie"},"content":{"rendered":"<p>One of the systems I&#8217;m working on uses LCDS Data Management and Hibernate to communicate between a database on the server and a Flex client. We&#8217;ve, uh, learned a lot. I don&#8217;t think I&#8217;d do it this way again, were I to choose (&#8216;course, I didn&#8217;t really choose in this project, either).<\/p>\n<p>We&#8217;ve had a lot of problems due to what is conceptually supposed to be a simple matter, that of lazy loading. Even overlooking the fact that lazy loading is not very transparent on the Flex side, there&#8217;s the question of how to distribute those lazy flags. And it&#8217;s my contention that in a complex data model with lots of interdependencies and lots of different data use-cases, it is very hard to answer that question. Too many lazy properties and you&#8217;re making all sorts of round trips across the internet (and lemme tell you, some of your customers may have ping times way worse than you do when you&#8217;re testing these things. Way, worse.). One too few and you&#8217;re sucking in the entire database in the midst of one property access.<\/p>\n<p>Ah well, whatever.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the systems I&#8217;m working on uses LCDS Data Management and Hibernate to communicate between a database on the server and a Flex client. We&#8217;ve, uh, learned a lot. I don&#8217;t think I&#8217;d do it this way again, were I to choose (&#8216;course, I didn&#8217;t really choose in this project, either). We&#8217;ve had a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-294","post","type-post","status-publish","format-standard","hentry","category-general","author-admin"],"_links":{"self":[{"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/posts\/294","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/comments?post=294"}],"version-history":[{"count":0,"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/posts\/294\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/media?parent=294"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/categories?post=294"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ourada.org\/blog\/wp-json\/wp\/v2\/tags?post=294"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}