Rate of Insertion decreases as property writeBehindEnbled is set to true

Viewed 79

I am using Ignite's Cache adapter by setting write-through as true.

Scenario 1 :

  • In write through I am persisting data to HBase.
  • For this I inserted 100000 objects in Ignite and then in HBase, Time required for this was around 82 seconds.

Scenario 2 :

  • I made write-behind property to true.
  • I have inserted 100000 objects in Ignite and then in HBase, time required for this was around 124 seconds.

Below are the result.

    Write-behind      Objects      Time in ms

     true             1,00,000      81962
     false            1,00,000      123517

As per my knowledge, if we are using write-behind cache, it works as an Asynchronous mode But it is giving unexpected result. Am I going wrong some where.

1 Answers
Related