8000 Optimize Survey Sync to Send Only Relevant ActionClasses · Issue #5690 · formbricks/formbricks · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Optimize Survey Sync to Send Only Relevant ActionClasses #5690

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jonas-hoebenreich opened this issue May 7, 2025 · 1 comment
Open

Optimize Survey Sync to Send Only Relevant ActionClasses #5690

jonas-hoebenreich opened this issue May 7, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@jonas-hoebenreich
Copy link
Contributor

Issue Summary

When the frontend library syncs with the backend, the server currently responds with all actionClasses (survey triggers) that have ever been created. This approach has several drawbacks:

  1. Reduced Network Bandwidth: Sending only the relevant triggers connected to currently running surveys can reduce the amount of data transferred, leading to faster sync times and lower bandwidth usage.
  2. Reduced Client Overhead: Limiting the triggers to those that are actively connected to surveys will reduce the processing load on the client side, making the application more efficient and responsive.
  3. Enhanced Security: Sending only relevant triggers minimizes the risk of exposing information about past research projects, making it harder for malicious parties to spy on historical data.

Expected Behavior

The backend should respond with only the actionClasses that are associated with surveys currently in progress and filter out the rest. To reduce server load you might want to consider a flag is_active directly in the database that makes it faster to query active actionClasses.

Other information (incl. screenshots, Formbricks version, steps to reproduce,...)

No response

Your Environment

Self-hosted Formbricks

@jonas-hoebenreich jonas-hoebenreich added the bug Something isn't working label May 7, 2025
@jobenjada
Copy link
Member

hey Jonas! Sounds great, we'll look into it for the upcoming sprint :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants
0