title: aerospike udf -- how lua gets executed? how to run a function only once?
body: <p>We have a lua script which filters the records , returns the map. I have two questions </p>
  
  <ol>
  <li><p>Does aerospike executes the lua script like an independent script (similar to 'lua ' ) on every query?</p></li>
  <li><p>There is a need to read a file and cache it using a function -- I want this function to be called only once , how can it be achieved?</p></li>
  </ol>