ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörn Franke <jornfra...@gmail.com>
Subject Re: Market data binary messages processed with Ignite and Spark
Date Sat, 15 Oct 2016 11:32:10 GMT
Depends how you do the lookup. Is it by ID? Then keep the ids as small as possible. Lookup
is fastest in a hash map type of datastructure. In case of a distributed setting supported
by a bloom filter.
Apache Ignite can be seen as suitable.

Depending on what you need to do (maybe your approach requires hyperlolog structured etc)
you may look also at redis, but from what you describe Ignite is suitable.

I do not think the caching of the filesystem benefits here, because the key is the datastructure
here (hash map).
The concrete physical infrastructure to meet your SLAs can only be determined when you experiment
with real data.

Maybe you can tell a little bit more about the data. Are the messages dependent? What type
of calculation do you do?

> On 15 Oct 2016, at 07:23, Pranas Baliuka <pranas@orangecap.net> wrote:
> Dear Ignite enthusiasts,
> I am beginner in Apache Ingnite, but want to prototype solution for using
> Ignite cashes with market data distributed across multiple nodes running
> Spark RDD.
> I'd like to be able to send sequenced (from 1) binary messages (size from 40
> bytes to max 1 Kb) to custom Spark job processing multidimensional cube of
> parameters. 
> Each market data event must be processed once from #1 to #records for each
> parameter. 
> Number of messages ~40-50 M in one batch.
> It would be great if you can share your experience with similar imp. 
> My high level thinking:
> * Prepare system by loading Ignite Cashe (unzipping market data drop-copy
> file, converting to preferred binary format and publish IgniteCache<Long,
> BinaryObject>;
> * Spawn Spark job to process input cube of parameters (SparkRDD) each using
> cashed the same IgniteCashe (accessed sequentially by sequence number from 1
> - #messages as key);
> * Store results in RDMS/NoSQL storage;
> * Perform reports from Apache Zeppelin using Spark.R interpreter.
> I need for Cache outlive Spark jobs i.e. may run different cube of
> parameters after one is finished.
> I am not sure if Ignite would be able to lookup messages efficiently (I'd
> need ~400 Km/s sustained retrieval). 
> Or should I consider something more file oriented e.g. use memory mounted
> file system on each node ...
> Thank in advance to share your ideas/proposals/know-how!
> --
> View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Market-data-binary-messages-processed-with-Ignite-and-Spark-tp8313.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.

View raw message