Questions tagged [ttl]

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

0
votes
0answers
4 views

MongoDB documents expiring too soon (mongoose)

I set expiry time to 24 hours, but the documents expire after around 5-10 minutes (I haven't timed it exactly). What am I doing wrong? My schema: const collectionSchema = new mongoose.Schema({ ...
0
votes
0answers
19 views

How to modify TTL value while sending UDP packet to ping a Host

I understand that TTL is a parameter in IP header. I want to send a UDP packet to ping an IP address in JAVA. So far I can create UDP packet and send the packet to ping a remote IP in JAVA. And I am ...
0
votes
1answer
28 views

HornetQ local connection never timing out

My application, running in a JBOSS standalone env, relies on a HornetQ (v2.2.5.Final) middleware to exchange messages between parts of my application in a local environment - not over the network. ...
0
votes
2answers
14 views

TTL on Hazelcast queue

I want to set time-to-live on Hazelcast queue messages, i.e to evict eldest message in the queue after X amount of time. How do I configure the queue? ps. I noticed the setEmptyQueueTtl method in ...
1
vote
1answer
37 views

Apache Flink 1.6.0 - StateTtlConfig and ListState

I am in the process of implementing a proof-of-concept stream processing system using Apache Flink 1.6.0 and am storing a list of received events, partitioned by key, in a ListState. (Don't worry ...
0
votes
1answer
40 views

c# active directory temporary groupmembership?

Is there any way to add a user to a group for an exact time and then delete the user from the group automatically? e.g.: CN=testuser1 and CN=testgroup1 Now I want to add the CN=testuser1 to the CN=...
0
votes
1answer
29 views

Per message TTL behavior with shovels

Shovels consumes messages from the queue, re-publishes each message to the destination broker (using, by default, the original exchange name and routing_key when applicable). I ...
1
vote
1answer
27 views

Apache force DNS lookups

I've got an Apache that's proxying requests to an external entity: ProxyPass /something https://external.example.com/somethingelse This external site likes to switch the values of that domain ...
0
votes
1answer
25 views

How to make mongoose-ttl respectively delete records according to timestamp

Am using mongoose-ttl plugin in my mongoose database, my problem is, whenever a record is deleted by ttl and i restart my node server and my server makes a connection to mongodb via mongoose, all ...
0
votes
3answers
21 views

Which meaning of “live” is used in TTL (Time To Live)?

https://en.wikipedia.org/wiki/Time_to_live Live as in: The show will go live on air this evening. or Live as in: I want to live in Paris. For years I thought it was the first definition, but it just ...
0
votes
1answer
108 views

Dynamodb TTL 24hours

Hi I am wonder about how to set the time to live in dynamo db. I understand that I have to create a field, could be called ttl and set the value to be deleted, but in which format innodejs do I have ...
0
votes
2answers
34 views

MongoDB TTL but to do other stuff

I have a requirement that when a date attribute field is passed, that we would like to trigger two things: to move the record to be deleted to another table. to call a function to do other actions. ...
0
votes
1answer
90 views

Adding TTL to DynamoDB records via Python3 & Boto3

I have the following Pyhton3/Boto3 script that connects to a AWS DynamoDB table and attempts to set a 19-day TTL on all its records by looping through them: #!/usr/bin/env python3 import boto3 import ...
0
votes
0answers
281 views

How to fix inefficient cache policy on static assets with drupal website?

How to reduce the caching of static assets (image,js,css,fonts) on drupal 7 website. enter image description here
1
vote
1answer
43 views

How to turn off a GPIO port on BeagleBone Black Wireless

My task is to create a program to open and close an electronic valve that is plugged into GPIO ports on my BeagleBone, by using TTL signals. Questions: Can I do this? How do I make an executable ...
0
votes
0answers
16 views

Unable to verify expiry time after migration from aerospike to redis via python script

In aerospike, we have an expiresIn field with epoch time in milliseconds, sample - 1535873246092 This value in the records remains same if queried at different times. When we are migrating the ...
1
vote
1answer
35 views

What happened after DNS TTL expired in intermediate Name Server?

I have some questions to better understand DNS mechanism: 1) I know between clients and authoritative DNS server there are some intermediate DNS servers like ISP's one. What and where are the other ...
0
votes
0answers
11 views

Phpredis automatic key prefixing, KEYS/SCAN and TTL commands combination weird behavior

When using automatic key prefixes in phpredis eg. $redis->setOption(Redis::OPT_PREFIX, 'dev:'); The TTL command is behaving not as expected when combined with the result of KEYS or SCAN commands....
0
votes
1answer
58 views

Any TCP ping with TTL

i'm attempting to create a project to compare pings on different datacenters of the major cloud providers. Since ICMP is blocked by the load balancer on Azure VMs i've been forced to use TCP ping ...
0
votes
0answers
11 views

use mongo auto expire feature to delete some filtered documents from a collection

I have a collection named "feed" Each document has keys called "status" and "scheduleDate" in it. I want to set a ttl based index on scheduleDate key, but only those documents should get deleted ...
0
votes
1answer
43 views

Trigger on TTL deletion Cassandra

I'm currently building an application in Java that uses a Cassandra database, and I would like to have a table that takes in data as it expires in another Cassandra table. Is there a way to implement ...
1
vote
2answers
86 views

Spark writing to Cassandra with varying TTL

In Java Spark, I have a dataframe that has a 'bucket_timestamp' column, which represents the time of the bucket that the row belongs to. I want to write the dataframe to a Cassandra DB. The data must ...
0
votes
0answers
15 views

Database TTL support with setTimeout

There's probably better ways to do this but just out of curiosity, is it a good idea to use javascript's setTimeout function to add ttl support to a key-value store? asynchronous example api.delete =...
1
vote
1answer
43 views

Truncating DynamoDB tables beyond what the TTL allows

I have a DynamoDB table that has a created date/time column that indicates when the record/item was inserted into the table. I have about 20 years worth of data in this table (records were migrated ...
0
votes
0answers
25 views

How to Matlab to send TTL signal via BNC ports?

I’m trying to use Matlab to control 8-channel perfusion device. The manual said that on the back of the device there are 8 BNC type connection ports for transmitting TTL signal to control the on/off ...
0
votes
0answers
39 views

Akka persistence on Cassandra with time to live (TTL) for events

In our current assignment we are using Akka with Java. We use Cassandra as an event store for persisting our domain events. Now we have a requirement to delete events which are older than 14 days. ...
2
votes
1answer
95 views

Mass insert on Cassandra from Spark with different TTL

I want to insert huge volume of data from Spark into Cassandra. The data has a timestamp column which determines ttl. But, this differs for each row. My question is, how can I handle ttl while ...
0
votes
1answer
43 views

Cassandra TTL data not working

I have old data (last 1 year) in Cassandra. I then alter the table structure adding TTL of 30 days. Will TTL (default_time_to_live = 2592000) delete my one year back old data or not?
0
votes
1answer
139 views

Using HBase Shell to check cell level TTL

I know I can check the column family level TTL using 'describe' on the table. Is there a similar shell command to get the TTL set on Cell level? This answer talks about the ability to retrieve it ...
0
votes
1answer
90 views

Make an if with ping and ttl

I want to run in my code a function that checks if the unit is online and also if the TTL is less then 250 but I didn't find where to see the TTL Code: string data = "...
0
votes
0answers
58 views

Is it mandatory to disable Hbase tables before upating TTL?

I have hbase tables whose TTL I want to update..Is it mandatory to disable the tables before altering them to update TTL?
0
votes
1answer
56 views

php session management with redis - TTL expirations don't get updated on reads

I'm using redis as backend for php session management on a multiserver configuration. Redis is using session.gc_maxlifetime for setting TTL, but TTL does not update on session reads. It only updates ...
0
votes
1answer
50 views

Does very short TTL in Cassandra data lead to performance problems?

For our real high traffic site we've set up a own tracking solution. We log >1k impressions per second in peak. For that we're using latest Cassandra 3. Now we want to set up a real time monitoring ...
0
votes
0answers
110 views

Using TTL to RS-485 Module with RBP3b

I saw a lot of topics here and the raspberry forum, but nothing could help me. I have exactly this model of TTL to RS485 Module: https://www.ebay.com/itm/381374599127 I want to control LS Starvert ...
0
votes
0answers
72 views

TWCS compaction window size and TTL

We are using Cassandra for storing some stats from our application. We plan to use TWCS for this. The data is stored in the following chunks: Raw - for last 3 months - compaction_window_unit DAYS - ...
0
votes
0answers
49 views

solr TTL on documents using DocExpirationUpdateProcessorFactory in Cloud mode not working

I am trying to implement TTL on solr documents as mentioned in below link: DocExpirationUpdateProcessorFactory The changes are working fine when I start solr in stand alone mode in my local machine. ...
1
vote
1answer
23 views

SnappyData per-row TTL

Is it possible to set TTL per row. Meaning the row will be automatically deleted when the TTL has passed. The TTL can be different for ever row in the same table. Thanks!
-1
votes
1answer
43 views

TTL expired but no packets lost

I was playing around with ping command and I noticed that despite changing value of -i parameter (and therefor receiving message about TTL expired) there was no packet loss. Could someone please ...
0
votes
0answers
85 views

Python UDP set TTL with sendmsg [Errno 22] Invalid argument

My OS is virtualized 4.13.0-39-generic #44-Ubuntu. I'm using python3.6. What I am trying to do is send UDP packet with setted TTL, using sendmsg. But, I still got Errno mentioned above. Regular ...
1
vote
2answers
229 views

TTL vs default_time_to_live which one is better and why?

Requirement is simple: we have to create a table which will have only 24 hours of data. We have two options Defile TTL with each insert Make table property default_time_to_live for 24 hours. I ...
0
votes
0answers
27 views

HBase: TTL on ColumnFamily vs TTL on row level

I have to add a ttl such that after x time, the row is auto-deleted (marked as tombstone, which would be later deleted on compaction). Now I found out that there are 2 ways of doing this - Setting ...
0
votes
1answer
53 views

Redis ttl payload memory size

I am wondering how much memory space does enabling TTL for a particular key will use. To be more precise, if I enable TTL for a key, how much memory does this settings will consume and how to check ...
0
votes
2answers
95 views

go-redis: TTL returns a negative duration when the key does not exist

I am using go-redis to interact with a REDIS server (version 3.2.100). According to the Redis documentation, if a key does not exist, then the command TTL should return the value -2. However, if the ...
0
votes
1answer
97 views

Unable to set default TTL per index in elasticsearch

I have a index (my_index) to which i am adding a default _ttl with the following API as per the documentation elastic search ttl PUT my_index { "mappings": { "my_type": { "...
0
votes
1answer
134 views

Varnish Cache Miss - TTL decided by VCL is 0

I'm unsure as to why the VCL is calculating the TTL to be 0 when I am setting the appropriate cache headers. I am hoping someone with a bit more experience may be able to spot something really obvious....
4
votes
1answer
265 views

Why are IP_TTL and IP_MULTICAST_TTL separate socket options?

When sending UDP multicast you can use IP_MULTICAST_TTL to set the TTL. But otherwise you would use IP_TTL. Why are these two different options in the eyes of setsockopt() and getsockopt()? Is ...
0
votes
0answers
31 views

Using Ping in vb.net as a trace route - getting RTT of 0 vb.net

I'm trying to write a small bit of code to capture an issue with my network connection. Basically I want to run trace route multiple times. I'm using the follow function to do this via the ping class:...
2
votes
2answers
2k views

What's default TTL in Redis?

I can't find anywhere online what is default TTL in Redis. I know that I can set TTL for specific SET, but don't know what is default TTL. Can someone tell me what default time to live is in Redis?
0
votes
1answer
37 views

MongoDB node.js: index created ignoring TTL

I'm trying to create an index with TTL using the MongoDB driver for Node.js and a Mongo server hosted at mLab. Node version 9.3.0. Driver version 3.0.0.rc0 mongod version: 3.4.10 (MMAPv1) Code in ...
2
votes
1answer
46 views

Aerospike TTL updates

I am trying to update .put() into existing records in Aerospike using the python client. I was excited to discover that you can actually put into existing records and not update the TTL as shown ...