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
3
votes
1 answer

Setting TTL on RabbitMQ queue using Servicestack

I have read that it is possible to set a time to live (TTL) on a RabbitMQ (per queue) so that a message will be wiped from the queue by the RabbitMQ server if the TTL expires, and that the server will guarantee that messages that have an expired TTL…
Jay
  • 9,561
  • 7
  • 51
  • 72
3
votes
2 answers

Cloudfront how to avoid If-Modified-Since header request everytime

AWS Cloudfront document says: If you set the TTL for a particular origin to 0, CloudFront will still cache the content from that origin. It will then make a GET request with an If-Modified-Since header, thereby giving the origin a chance to…
3
votes
1 answer

How to set ttl for aerospike record ttl through NodeJS Client

I am using the NodeJS client for aerospike, and trying to set the ttl for a record, below is the code for the same. insert(key, value) { return new Promise(function (resolve, reject) { aerospike.put(key, value, function (err) { …
Ajay Pal Singh
  • 682
  • 1
  • 5
  • 16
3
votes
1 answer

MGO TTL indexes creation to selectively delete documents

I'm working with Golang and MongoDB. I have a collection which needs to keep a document which can be persistent or volatile. Hence, if it's set an expire date (as the example expireAt) the document is considered volatile and deleted otherwise it'll…
fredmaggiowski
  • 2,232
  • 3
  • 25
  • 44
3
votes
3 answers

Aerospike TTL listener

I am doing a POC with Aerospike. It seems to fit all my needs except for one. When I set a TTL on a record, it expires after the TTL expires as expected, but I have a requirement where I want aerospike to notify me when a record is being evicted. Is…
Vivek Kothari
  • 462
  • 6
  • 20
3
votes
1 answer

Individual TTLs for list elements in Aerospike

I want to store a Mapping of user's session ids in aerospike, it would be of the type:id->[session1, session2]. I want each session ID to have a specific TTL. How can I get this done? Can I make a Map and put a TTL on each element?
Sandeep Kaul
  • 2,957
  • 2
  • 20
  • 36
3
votes
2 answers

Aerospike: get upsert time without explicitly storing it for records with a TTL

Aerospike is blazingly fast and reliable, but expensive. The cost, for us, is based on the amount of data stored. We'd like the ability to query records based on their upsert time. Currently, when we add or update a record, we set a bin to the…
Alex Woolford
  • 4,433
  • 11
  • 47
  • 80
3
votes
1 answer

Is there a way to set a TTL for certain directories in HDFS?

I have the following requirements. I am adding date-wise data to a specific directory in HDFS, and I need to keep a backup of the last 3 sets, and remove the rest. Is there a way to set a TTL for the directory so that the data perishes automatically…
frugalcoder
  • 959
  • 2
  • 11
  • 23
3
votes
1 answer

Cassandra add TTL to existing entries

How can I update an entire table and set a TTL for every entry? Current Scenario (Cassandra 2.0.11): table: CREATE TABLE external_users ( external_id text, type int, user_id text, PRIMARY KEY (external_id, type) ) currently there are…
Nicolas Gehlert
  • 2,626
  • 18
  • 39
3
votes
1 answer

Which maxmemory policies allow expiration in Redis?

Which maxmemory policies are compatible with redis expiration mechanisms? Is it only volatile-ttl? Does noeviction stop old records from death?
Anton
  • 494
  • 5
  • 19
3
votes
1 answer

Does Mongodb expireAfterSeconds has callback? And how to catch it with nodejs?

This is the sample of my code: var changesDB = new mongoose.Schema({ eventId: String, date: Date }) changesDB.index({ title: 1 }, { expireAfterSeconds : 60*60*24*30 }); It works fine, but I need to delete all the files connected to this…
3
votes
2 answers

Spark saving to Cassandra with TTL

I am using Spark-Cassandra connector 1.1.0 with Cassandra 2.0.12. I write RDDs to Cassandra via the saveToCassandra() Java API method. Is there a way to set the TTL property of the persisted records with the connector? Thanks, Shai
Shai
  • 119
  • 1
  • 8
3
votes
1 answer

Hazelcast MultiMap expire key

In an normal hazelcast map i know you can se the key expiry via put(K key, V value, long ttl, TimeUnit timeunit) But does someone knows, if I can set the TTL for an entry in an MultiMap?
heaphach
  • 1,492
  • 1
  • 20
  • 44
3
votes
2 answers

checking ttl for Rails.cache object

So I have some items stored in Rails.cache and I always write them with :expires_in => 5.minutes My question is, is there a way to see what the ttl is on a cache entry? I know the entry class in activesupport has a method but I can't seem to get an…
Ldrbrandon
  • 59
  • 8
3
votes
1 answer

How to see yago2s ontology like dbpedia owl?

Hello I'm totally newbie in ontology. I downloaded dbpedia ontology .owl file and open it using topbraid composer. Topbraid composer shows dbpedia class( owl:Thing -> Activity, Agent, .. etc). Each class also has its own instances. However, yago2s…