Last week i was speaking about my new solution for the data persistance, now there is an implementation of that.
But here comes another problem :
If there is a lot of same value, then the split be done until the end ( that ok ), but it will not put the value by the end of the triee since there is not enough value.
That will happend is the following :
There problem as you may guest is that the data does a kind of "ping-pong" between last nodes and we dont want that since that will give a lot of useless data transfer.
This week i work on another method for the merge which is basically let the node expire.
then, when we put another value, we will node update the node and then after some time it will expire ... and so the data will be put into the parent.
And Voila, merge is done.
Hope that, that will work.
Anyway, see you next week, next week i'll probably start the indexation of data with multi key :D