top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is TTL (Time To Live) and how it is used to improve performance of caching ?

0 votes
337 views
What is TTL (Time To Live) and how it is used to improve performance of caching ?
posted Apr 18, 2017 by Mukul Chag

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
0 votes

We are using git-1.8.2 version for version control. It is an centralized server and git status takes too long

How to improve the performance of git status

Git repo details:
Size of the .git folder is 8.9MB
Number of commits approx 53838 (git rev-list HEAD --count)
Number of branches - 330
Number of files - 63883
Working tree clone size is 4.3GB

time git status shows
real 0m23.673s
user 0m9.432s
sys 0m3.793s

then after 5 mins
real 0m4.864s
user 0m1.417s
sys 0m4.710s

And I have experimented the following ways
- - Setting core.ignorestat to true
- - Git gc &git clean
- - Shallow clone €“ Reducing number of commits
- - Clone only one branch
- Git repacking - git repack -ad && git prune
- - Cold/warm cache

Could you please let me know, what are the ways to improve the git performance ?

+1 vote

I am having collection with 127706 document. In aggregation pipeline i having 2 group stages. It is giving me result in 1.5 sec.

To optimize it to more I have created index on the fields which I am using in match stages with no success. Is their any to optimize aggregation performance in more way?

I m using mongodb 3.2.1?

+1 vote

I have a recurring issue, that tomcat caches my jsf webapp pages in a strange manner. Sometimes for multiple days/hours, one
or two explicit pages or the whole webapp is loading very slowly.

My setup is a locally used tomcat 8.0.28 for debugging in Eclipse and a local database. The behavior persists also after browser cache clearing and with different browsers.

Does anyone else have seen this behavior before? Do i miss a specific parameter?

...