From: Feasibility analysis of AsterixDB and Spark streaming with Cassandra for stream-based processing
Streaming interfaces | Programming languages | Scalability | Data model | Data access | |
---|---|---|---|---|---|
AsterixDB | REST API, data feeds (tweet, RSS) | AQL, UDF | master–slave cluster | Semi-structured (Asterix data model) | AQL, XQuery, HiveQL |
Spark | TCP sockets, Kafka, Flume, Twitter, ZeroMQ, Kinesis | Scala, Java, Python, R | Stand-alone, Apache Mesos, Hadoop YARN | RDD | Spark SQL/data frames. Internally: database APIs or adapters |