You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2019/03/25 08:49:46 UTC

[GitHub] [incubator-skywalking] peng-yongsheng commented on issue #2393: es bulk question

peng-yongsheng commented on issue #2393: es bulk question
URL: https://github.com/apache/incubator-skywalking/issues/2393#issuecomment-476104566
 
 
   > @peng-yongsheng Could you answer this?
   > 
   > > Question 1:
   > > ES as storage, I found the es config was not effect, for example, I set flushInterval 120s, bu I found only after seconds the bulk had executed
   
   @ywf4026 Good question. This is a transaction problem. Workers will combine the data in memory with the data in db. The flow is: 
   
   ForEach memory data -> Get the same key data in memory -> combine memory and db -> into bulk process -> flush
   
   So, if I don't flush it into db, I will get the dirty data from db next cycle. The bulk process settings are use for avoid send too many or too big size data into db, shred the sent data packet.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services