Commit Graph

11 Commits

Author SHA1 Message Date
Blackoutta b86f12fbaa Add Redis caching to FetchPluginInstallation middleware for performance optimization (#400)
* add caching to fetch plugin installation middleware

* invalidate plugin inst cache after successfully upgrading or uninstalling operations

* optimize: refactored cache invalidation ops from curd layer to service layer

---------

Co-authored-by: yangyi.hu593671 <yangyi.hu593671@seres.cn>
2025-08-27 14:16:52 +08:00
Yeuoly b19140ca23 refactor: optimize plugin declaration caching and encoding (#34) 2025-02-25 20:52:51 +08:00
Yeuoly 507cf3722d fix: undercase to snakecase 2025-02-10 16:02:38 +08:00
Yeuoly 15060ee312 refactor: move entities to pkg 2025-01-06 14:52:02 +08:00
Yeuoly f9fc134982 fix: optimize error messages 2024-12-03 14:05:58 +08:00
Yeuoly ed5c779c7f fix: remove tenant_id from cache keys 2024-11-13 16:05:00 +08:00
Yeuoly 843fefdc57 fix: typo 2024-11-13 15:59:41 +08:00
Yeuoly eb1456b0d0 refactor: using finer granularity to cache PluginDeclaration 2024-11-13 15:54:45 +08:00
Yeuoly 4d64971160 fix: fetching plugin model from CombinedGetPluginDeclaration shoud be invaild 2024-11-12 22:58:59 +08:00
Yeuoly eeadb3e29c refactor: support upgrade plugin to any verions 2024-10-25 17:41:14 +08:00
Yeuoly 9679ae00f3 enhancement: support plugin cache 2024-09-27 19:34:05 +08:00