v0.2.0 plugin file request volume surged #171

Closed
opened 2026-02-16 00:20:19 -05:00 by yindo · 1 comment
Owner

Originally created by @qkzsky on GitHub (Aug 6, 2025).

Self Checks

To make sure we get to you in time, please check the following :)

  • [*] I have searched for existing issues search for existing issues, including closed ones.
  • [*] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [*] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • [*] "Please do not modify this template :) and fill in all the required fields."

Versions

  1. dify-plugin-daemon Version 0.2.0
  2. dify-api Version 1.7.1

Describe the bug
A clear and concise description of what the bug is.

The plugin uses remote Aliyun storage. After the plugin-daemon service was upgraded from 0.1.3 to 0.2.0, the number of requests for plugin files surged from 144 per day to 10,760 per day, resulting in a large amount of unnecessary

Expected behavior
A clear and concise description of what you expected to happen.

Request count restored to normal value.

Screenshots
If applicable, add screenshots to help explain your problem.

Image Image
Originally created by @qkzsky on GitHub (Aug 6, 2025). **Self Checks** To make sure we get to you in time, please check the following :) - [*] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify-plugin-daemon/issues), including closed ones. - [*] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [*] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [*] "Please do not modify this template :) and fill in all the required fields." **Versions** 1. dify-plugin-daemon Version 0.2.0 2. dify-api Version 1.7.1 **Describe the bug** A clear and concise description of what the bug is. The plugin uses remote Aliyun storage. After the plugin-daemon service was upgraded from 0.1.3 to 0.2.0, the number of requests for plugin files surged from 144 per day to 10,760 per day, resulting in a large amount of unnecessary **Expected behavior** A clear and concise description of what you expected to happen. Request count restored to normal value. **Screenshots** If applicable, add screenshots to help explain your problem. <img width="2812" height="956" alt="Image" src="https://github.com/user-attachments/assets/0f2767e2-1778-4e7d-8305-715bab63661b" /> <img width="2762" height="1142" alt="Image" src="https://github.com/user-attachments/assets/f76f0287-18f2-4641-a3bd-547497c96b0b" />
yindo closed this issue 2026-02-16 00:20:19 -05:00
Author
Owner

@qkzsky commented on GitHub (Aug 7, 2025):

I think I know where the problem lies. In launcher.go, getLocalPluginRuntime runs every 30 seconds and downloads the plugin package files from the remote server each time. In a scenario with multiple machines and multiple plugins, each plugin will generate 120 requests per machine every hour, leading to an exponential increase in the overall download volume, reaching the order of magnitude of m x n x o. I suggest adding a local package cache to avoid fetching from the remote server every time, which would reduce the traffic consumption of the cloud service.

@Yeuoly

@qkzsky commented on GitHub (Aug 7, 2025): I think I know where the problem lies. In launcher.go, **getLocalPluginRuntime** runs every 30 seconds and downloads the plugin package files from the remote server each time. In a scenario with multiple machines and multiple plugins, each plugin will **generate 120 requests per machine every hour**, leading to an exponential increase in the overall download volume, reaching the order of magnitude of **m x n x o**. I suggest adding a local package cache to avoid fetching from the remote server every time, which would reduce the traffic consumption of the cloud service. @Yeuoly
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-daemon#171