I am using Aerospike Community Edition build 3.5.14. I have a simple enqueue UDF for using normal list data structure as queue. Enqueue UDF appends one entry at the end of the list. What I am observing is as list size starts growing udf execution time starts increasing. I ran multiple experiments and I suspect that real culprit is record loading for the udf. In the extreme case I have seen “udf execution timeout” warning log in aerospike server log.
Is this expected behavior? Any suggestion for alleviating this problem?
Queue size is in ten’s of thousands and I am using in-memory storage.