Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Video: Lazy Evaluation: stop wasting memory and time

DZone's Guide to

Video: Lazy Evaluation: stop wasting memory and time

· Performance Zone
Free Resource

 

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.

Topics:

Published at DZone with permission of Allen Coin. See the original article here.

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}