What should I know before going with UDF?

For a record UDF, when operating on a record, the lock will be on that record which is isolated to the node on which the record is, the namespace that record is in and the partition that record is in. There are 4K partitions.

Ver 3.11 has introduced further refinement of the partition into sprigs (Configuration Reference | Aerospike Documentation) which will improve performance significantly.

This page has some discussion on assessing UDF performance: Managing UDFs | Aerospike Documentation

Also see

1 Like