1. An apparatus for offloading a probabilistic computation to a storage device, the apparatus comprising: an application server comprising a memory and a processor and coupled to a network-attached storage device configured to create a dedicated process in response to a procedural call to a virtual machine container based on a data request, wherein the processor forwards the data request to the network-attached storage device, programs one or more virtual machines to perform a probabilistic computation based on the procedural call, and directs the probabilistic computation to a first virtual machine of the one or more virtual machines, and the procedural call is generated using a virtualized lookup call.