Questions tagged [ttl]

Time to live (TTL) is a mechanism that limits the lifespan or lifetime of data in a computer or network

Time to live (TTL) is a mechanism that limits the lifespan or lifetime of data in a computer or network

Wikipedia

598 questions
4
votes
1 answer

Mongodb collections are dropped automatically

I have MongoDB database setup in a Linux server along with a tomcat and everything works great. But i noticed that every 2 or 4 days the whole database collections are dropped. I saw the log of the MongoDB: Mon Jan 16 08:01:14.375…
ddarellis
  • 3,912
  • 3
  • 25
  • 53
4
votes
1 answer

Does DNS propagation depend on TTL?

I am a little confused as to the concepts of TTL and propagation times and I'd like to clarify some things that I did not manage to find specific answers for in the web. AFAIK, TTL (time-to-live) represents the (top) time needed for servers around…
Ata3ias
  • 115
  • 1
  • 11
4
votes
1 answer

Mongo TTL cleanup is not working

I'm trying to get Mongo to remove documents with the TTL feature however without success. Have tried many things but mongo doesn't seem to clean up. My index: { "v" : 1, "key" : { "date" : 1 }, "name" : "date_1", "ns"…
4
votes
2 answers

Find records with TTL 0 in Aerospike

my aerospike cluster hitting 50% disk usage and records are started evicting. I have doubt I do not write that many records daily to the cluster.Per records we have 90days TTL set and default TTL for namespace is 30days. What my concern is, I am…
user3369417
  • 358
  • 1
  • 4
  • 17
4
votes
4 answers

How to set TTL for a specific Couchbase document using spring-data-couchbase?

How to set TTL (Time to Live) for a specific couchbase document using spring-data-couchbase? I know there is way to set expiry time using Document notation as follows @Document(expiry =…
4
votes
0 answers

Ways to remove sub-documents in Mongoose

I am currently trying to design a schema structure with mongoose which looks like the following: var hubSchema = new mongoose.Schema({ //some other properties dataStream: { dataType: String, dataPoints: [{ …
4
votes
1 answer

Cloudfront TTL not working

I'm having a problem and tried to follow answers here in forum, but with no success whatsoever. In order to generate thumbnails, I have set up the following schema: S3 Account for original images Ubuntu Server using NGINX and Thumbor Cloudfront The…
sullivan
  • 360
  • 1
  • 4
  • 14
4
votes
1 answer

Update TTL for entire row when doing CQL update statement

Assume you have a row with 4 columns, that when you created it, you set a TTL of 1 hour. I need to occasionally update the date column of the row, and at the same time update the TTL of the entire row. Asusming this doesn't work, whats the correct…
Ziklag
  • 251
  • 1
  • 2
  • 6
4
votes
3 answers

Is there a Java data structure equivalent to Redis sorted sets (zset)

Redis has a data structure called a sorted set. The interface is roughly that of a SortedMap, but sorted by value rather than key. I could almost make do with a SortedSet, but they seem to assume static sort values. Is there a canonical Java…
ABentSpoon
  • 5,007
  • 1
  • 26
  • 23
4
votes
1 answer

How obtain TTL(Time To Live) in DNS?

I want to monitor the DNS address. I need to get the TTL (time to live) which tells me when the DNS record will expire. How do I obtain the TTL in C#??
arbab333
  • 41
  • 3
4
votes
1 answer

Hops tracing ttl reciveform on ios

I'm trying to implement simple traceroute for the iOS. Everything seems to work fine, except that somehow when I run my application on simulator or on the device it finds only a few (6-7) first routers on the way when the CLI traceroute finds all 14…
Mike.R
  • 2,824
  • 2
  • 26
  • 34
4
votes
1 answer

Is it safe to use a Clojure core.cache guarded by ref type?

I need a map that needs to be guarded against concurrent resources, ref type suits my case. Now I need a "time to live" policy to remove a potential entry that my code could forget to remove. I checked clojure.core.cache but I'm not really sure if…
Chiron
  • 20,081
  • 17
  • 81
  • 133
3
votes
1 answer

Erlang: how to set or check TTL in UDP packets?

In Erlang, how can I: Set the TTL for sent UDP packets? Retrieve the value of the TTL for received UDP packets? I need to do this to implement GTSM
Bruno Rijsman
  • 3,715
  • 4
  • 31
  • 61
3
votes
1 answer

Firebase Firestore TTL Policy for nested collections

Is there any way to create a TTL Policy (In Preview) for a nested collection?
3
votes
1 answer

Why Mongo TTL index is not been creating via Spring Data

Problem: mongodb ttl index is not been creating via Spring Data I have a spring-boot application and MongoDB as database. I have an entity class: @Data @Builder @NoArgsConstructor @AllArgsConstructor @Document(COLLECTION_NAME) public class…
Anni Benni
  • 55
  • 1
  • 5