Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Aerospike have something similar to HBase's co-processor?

Tags:

aerospike

HBase's co-processor is a good example of "moving calculations not data". Not sure if Aerospike support something similar to this?

like image 341
DeepNightTwo Avatar asked Nov 21 '25 23:11

DeepNightTwo


1 Answers

Aerospike supports user-defined functions (UDFs), which are functions users load in to the database and execute.

Aerospike provides two types of UDF, record and stream, both of which are equivalent to HBase's Endpoint coprocessors, in that they execute against the data and return a result. The record UDF is executed against a single record, allowing for record modifications and calculations on a single record. The stream UDF is executed against query results, providing ability to analyze or aggregate the data. Both UDF execute on the node containing the data, and return a user-defined result.

Aerospike does not support the concept of HBase's Observer coprocessors, which are executed based on an event.

like image 65
Chris Stivers Avatar answered Nov 24 '25 22:11

Chris Stivers