Search code examples
ignite

Apache Ignite with Kudu


I am trying to position Ignite as Query Grid for databases such as Kudu, Hbase, etc.. Thus, all data silos will be queried over Ignite with read/write through. How this is possible? Are there any integrations with them?

  • The first time, SQL query runs, it will need to pull the data from such databases and create the key/value on Ignite.
  • Then, if one/two/three node goes down, eventually the data stored in memory will be lost. How the recovery is done or not possible?

Thanks CK


Solution

    1. Ignite SQL is unable to load specific data by query from external store, it's only possible on API get()/getAll() operations. To be able querying data you need load them into Ignite at first, for example, with loadCache(). Internally this function does a query to target database and transforms response into key-value manner.

    BTW, if you enable persistence in Ignite, it will know the structure of data and will be able to query them, even if not all entries loaded into memory.

    1. In case of node crash traditionally used data replication between nodes. In Ignite it's named backups. If you loose more nodes than backups set, then you'll need to preload data from store again.