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

How to set ttl "time to live" in play2-elasticsearch

How can i set "ttl" "time to live" on index (so all results older than "60s" would get removed from search for example in play2-elasticsearch (https://github.com/cleverage/play2-elasticsearch) . In classic elastic search it could be done with…
Jiro Matchonson
  • 875
  • 1
  • 17
  • 24
0
votes
1 answer

How to slow down WWW on nameserver level?

for scientific purposes I would like to know how to slow down www server on DNS level. Is it possible via TTL setting ? Thank You Ralph
0
votes
2 answers

Redis expiration, memory leak by specification?

Redis provides us with the EXPIRE and TTL functions. According to the documentation, the TTL command can be used to distinguish between a non-existent and an expired key: > SET foo 3 OK > GET foo "3" > EXPIRE foo 5 (integer) 1 > TTL foo (integer)…
Dacav
  • 13,590
  • 11
  • 60
  • 87
0
votes
1 answer

RabbitMQ messages not dead-lettered on ttl expiration for a topic queue

I have the following configuration {"rabbit_version":"3.4.3", ... "queues":[ {"name":"consumer.queue-dl","vhost":"dev","durable":true,"auto_delete":false,"arguments":{}}, …
ab_732
  • 3,639
  • 6
  • 45
  • 61
0
votes
1 answer

Need to use dnscmd to modify the ttls of a list of records

I have a list of records that all need their individual TTLs modified. I can't seem to find a way with this odd syntax to do so, however. Any recommendations? Would I have to delete them all and then re-add after with the correct settings? I…
Alan
  • 1
  • 1
0
votes
0 answers

python with pymongo and TTL on collections with expireAfterSeconds

Consider the following code mongoconn = pymongo.Connection('localhost', 27017) mongodb = mongoconn.my_db posts = mongodb.dataset posts.create_index("date", expireAfterSeconds=30) post = { 'date' : datetime.utcnow(), "user" : "testtesttest" , "many"…
davvy
  • 17
  • 5
0
votes
2 answers
0
votes
1 answer

What is the effect of DNS ttl on established TCP connections

Say I do a DNS dip from my "client" to initiate a TCP connection with server.example.com. Say that the IP address for server.example.com resolves to 1.1.1.1 with a ttl of 300 seconds. Now say that I successfully setup a TCP connection to…
John Smith
  • 23
  • 1
  • 3
0
votes
1 answer

Cassandra timing out when queried for key that have over 10,000 rows even after giving timeout of 10sec

Im using a DataStax Community v 2.1.2-1 (AMI v 2.5) with preinstalled default settings. And i have a table : CREATE TABLE notificationstore.note ( user_id text, real_time timestamp, insert_time timeuuid, read boolean, PRIMARY KEY (user_id,…
mehnaazm
  • 287
  • 1
  • 4
  • 14
0
votes
1 answer

Use .Net DirectoryServices to Set TTL on Active Directory Group Membership

I am using the tools in the .Net System.DirectoryServices.AccountManagement namespace to manage Active Directory groups - group creation, adding users to groups, removing users from group, etc. Here's some code that shows what I'm doing right…
Dan Forbes
  • 2,734
  • 3
  • 30
  • 60
0
votes
1 answer

mongodb TTL doesn't work on collection property - mongojs

I'm using mongojs to interact with mongodb in my app. I need to add TTL support for the collection making the documents delete themselves every hour. Here's how I'm creating index on app start: db.collection.ensureIndex({'createdAt': 1,…
Kosmetika
  • 20,774
  • 37
  • 108
  • 172
0
votes
1 answer

Mongo DB update with expire

My new entrys of the unlock schema don't get deleted after 60 seconds. I executed this in the Mongodb shell: db.unlocks.ensureIndex( { "createdAt": 1 }, { expireAfterSeconds: 60 } ) This is my Schema: var unlocker = new Schema({createdAt: { type:…
bastel
  • 51
  • 1
  • 8
0
votes
0 answers

C# - Ping results don't work when page is refreshed

I have the following C# code to get the IP address of a given domain (because I need to validate the DNS information). protected void Page_Load(object sender, EventArgs e) { string domain = "www.stackoverflow.com"; …
user3912327
  • 1
  • 1
  • 7
0
votes
1 answer

Manipulating Cassandra writetime value

Let's say I have an application, which receives periodically some measurement data. I know the exact time the data was measured and i want every piece of data to be deleted in 30 days after it was measured. I'm not inserting the data immediately to…
mkay
  • 68
  • 1
  • 9
0
votes
2 answers

Elasticsearch document ttl not working

I am following the examples given in the documentation to add ttl for documents in elasticsearch: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-index_.html#index-ttl Using the Sense tool on Chrome, I tried the following…
Romonov
  • 8,145
  • 14
  • 43
  • 55