Skip to content
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

Persistent Storage #349

Closed
sammachin opened this issue Mar 9, 2022 · 7 comments
Closed

Persistent Storage #349

sammachin opened this issue Mar 9, 2022 · 7 comments
Labels
epic A significant feature or piece of work that doesn't easily fit into a single release scope:node-red Features for FlowFuse to boost the vanilla Node-RED experience

Comments

@sammachin
Copy link
Contributor

Description

Users will want to store data within their flows and retrieve it later.
Due to the ephemeral nature of the filesystem in our containers the file node are not suitable (see #318 )

Considerations of how to offer persistent storage within FlowForge:

  • Dedicated storage, possibly an S3 bucket?
  • Storage can be scoped to a team or to a project (could this be part of the stack perhaps?)
  • Custom nodes that replace the file nodes
  • Some sort of File Manager in the forge UI for users to upload/download and delete outside of Node-RED
  • A way to track and report on usage of storage so that users can see how much they have used and admins can monitor & bill accordingly.
@sammachin sammachin added the epic A significant feature or piece of work that doesn't easily fit into a single release label Mar 9, 2022
@hardillb
Copy link
Contributor

hardillb commented Mar 9, 2022

Still think this is a bad idea.

Persistent context storage should be first and then access to "remote" file storage e.g. S3 buckets.

But you have reminded me to pick up that issue about removing the file nodes

@knolleary
Copy link
Member

This needs putting into context (pardon the pun) with #212

Short term, the answer is 'use an appropriate set of database nodes with a 3rd party service'. That's an entirely natural Node-RED way of doing it.

Whether the FF platform provides a built-in storage service is a significant decision and would have a significant cost associated with it.

@sammachin
Copy link
Contributor Author

For a user however there is a not insignificant overhead in setting up an account with another cloud storage provider eg AWS/S3, mongoDB etc and then managing those credentials and getting them into FlowForge.
This is where we have an opportunity to add value (and charge for that) by making this process as streamlined as possible.
If we create the storage for them and add it to their FlowForge Cloud bill along with pulling in the credentials this reduces friction

@knolleary
Copy link
Member

I agree this is value to be had with this feature and it should get considered along with everything else.

I wanted to flag at an early stage that it comes with a significant cost which needs to factor into its prioritisation.

@sammachin
Copy link
Contributor Author

Call with customer today expressed a strong interest in having this, keen for it to be integrated into FF rather than just a "BYO S3" for things like credential management and billing

@ZJvandeWeg ZJvandeWeg added the scope:node-red Features for FlowFuse to boost the vanilla Node-RED experience label Jun 3, 2022
@sammachin sammachin moved this from Long to Next in ☁️ Product Planning Sep 23, 2022
@sammachin sammachin added this to the 1.2 milestone Sep 23, 2022
@sammachin sammachin moved this to Todo in 🛠 Development Sep 23, 2022
@sammachin sammachin modified the milestones: 1.2, 1.0 Oct 11, 2022
@knolleary knolleary removed this from the 1.0 milestone Oct 17, 2022
@knolleary
Copy link
Member

I'm taking this out of the 1.0 iteration as it is a very broad epic that can be addressed in lots of different ways.

In the short-term we have #998 planned for 1.1 which will come to address the core issue of having persistent storage options within a flow.

Being able to manage the files from the FF platform UI is out of scope of that issue - so something this issue could be refocussed on and kept on the backlog depending on feedback and demand.

@MarianRaphael
Copy link
Contributor

Closing this epic here, because of: #3056 and #1779

@github-project-automation github-project-automation bot moved this from Medium to Closed / Done in ☁️ Product Planning Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic A significant feature or piece of work that doesn't easily fit into a single release scope:node-red Features for FlowFuse to boost the vanilla Node-RED experience
Projects
Archived in project
Development

No branches or pull requests

5 participants