Planned
Last Updated: 18 Jun 2024 15:07 by Curtis
Okov
Created on: 18 May 2023 17:09
Type: Bug Report
7
Add TTL option for RedisStorage in ReportServiceConfiguration

In the production environment, there is no option to clear the Redis database after each redeploying/restarting of the applications (ex. k8s with many pods).

The are many reasons:

  • this database can be used for other purposes, but you deprecate RedisStorage with a separate database selection
  • more complex deploy/restart operations with additional steps to clear Redis
  • users can use Reporting at this moment

Please add TTL option for RedisStorage in ReportServiceConfiguration

4 comments
Curtis
Posted on: 18 Jun 2024 15:07
Hi Momchil,

I appreciate you getting back to me and for providing a solution. It should work for us in the interim.

Regards,
Curtis


ADMIN
Momchil
Posted on: 13 Jun 2024 12:43

Hi Curtis,

An alternative method to clear the Reporting REST Service cache from the Redis database is to use the CLI to automatically delete the keys that match a certain pattern when the application is redeployed/restarted.

You can identify the Reporting-related keys based on the Reporting version used in your application or the HostAppId set in the report service configuration. For example:

redis-cli KEYS "*18.1.24.514*" | xargs redis-cli DEL

Depending on the output of the KEYS command you may need to process the result before passing it to the DEL command. For example, if the keys have spaces in them, you can quote them.

redis-cli KEYS "*18.1.24.514*" | sed 's/\(.*\)/"\1"/' | xargs redis-cli DEL

Regarding the estimate for the release of this feature. Due to other items with higher priority, this feature is no longer in our immediate plans and I cannot provide an honest estimate.

Do you think that the workaround I suggested can cover your scenario?

Best Regards,
Momchil
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Curtis
Posted on: 06 Jun 2024 14:35
Hello,

This is a feature that our development team would like to see implemented. Is there a new estimate for its release?

Thank you!
ADMIN
Dimitar
Posted on: 25 May 2023 12:36

Hello Georgy,

Thank you for the feedback!

We agree that such an option would be valuable for users of the RedisStorage implementation. Thus, we have approved the item and plan to implement it for the R3 2023 release later this year.

Regards,
Dimitar
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.