Over a million developers have joined DZone.

Video: Lazy Evaluation: stop wasting memory and time

· Performance Zone

Download Forrester’s “Vendor Landscape, Application Performance Management” report that examines the evolving role of APM as a key driver of customer satisfaction and business success, brought to you in partnership with BMC.

 

Processing one billion database rows doesn’t need to kill your web server. Really, it doesn’t. Applying lazy evaluation ideas you can make your scripts handle as much data as there exists, never using more memory than one unit’s size (for example a database row). Using clever iterators, cursors and streams I’ll show you how you can reduce memory usage drastically, thus making your scripts more reliable and sysadmins happy.

Presented by Juozas Kaziukėnas.

See Forrester’s Report, “Vendor Landscape, Application Performance Management” to identify the right vendor to help IT deliver better service at a lower cost, brought to you in partnership with BMC.

Topics:

Published at DZone with permission of Allen Coin .

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}