問題タブ [ttl]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
header - RabbitMQ Separate Rejected and Expired dead-lettered messages
Is there a way to deliver messages that have been deadlettered because they were rejected to a different queue than messages that have expired?
I can imagine building a service that reads the 'all dead' queue, parses the header xdeath reason and separates the messages by reason, posting them on different queues.
But is there also a way in RabbitMQ to do a similar thing?
(The use case: I want to process the expired messages by a superfast service to quickly reduce the backlog (for instance after we have a database failure). But the rejected messages need to be handled by a service with a lot of debug logging enabled.)
c - DNS A レコードの TTL 値の抽出
私はいくつかの DNS 処理を行っており、SRV の A レコード ルックアップを実行し、そこから ttl と IP アドレスを抽出する必要があります。
以下のコードで ip は抽出できましたが、TTL はどのように抽出すればよいのでしょうか?
出力:
performance - MongoDb TTL インデックス監視はブロックしますか?
TTL インデックスに基づくドキュメントの自動削除はブロッキング操作ですか? mongo docs は、どちらか一方の方法を言っていないようです (または、そこから情報を収集できませんでした)。
ドキュメント内の適切な場所へのポインタをいただければ幸いです。
cassandra - CQL3: 主キーしかない場合に TTL を取得する方法は?
次のように定義された CQL テーブルがあります。
次のような値を挿入すると仮定します。
挿入されたデータの TTL を取得するにはどうすればよいですか? 通常、主キーの一部ではない CQL 列があった場合、次のようなステートメントを使用できます。
ただし、主キー列しかないため、 や のような関数は機能ttl
しwritetime
ません。主キーの一部ではない追加の「ダミー」列をテーブルに追加する以外に、TTL を取得するにはどうすればよいですか?