Why dashboard is taking much time for the first time?


(Vikas Gopal) #1

Hi Experts,

I have a dashboard which is taking 10 to 15 sec to load first time , but if I open the same dashboard again it just take 4-6 sec . I am on ES 1.7.1 , Kibana4.1.1

Second query which I have is regarding shards , I mean how many shards are good enough for my index . I am preparing weekly index that holds more than 4 million documents , what I observed,if I increase no of shards from 5 default to like 15 I got good response from ES and kibana .

Now question is how many shards are good enough , can I use 50 + shards ?

Thanks
VG


(Nicolás Bevacqua) #2

Vikas,

The dashboard takes longer to load the first time around because you don't have any assets cached, whereas the second time around your browser cache is primed making you download less content and thus having a faster experience.

When it comes to sharding, it depends, I recommend watching this conference talk to inform your decision: Quantitative Cluster Sizing.


(Vikas Gopal) #3

Thanks Nicolas , for your response .Will check this video .


(system) #4