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

File Replication #24

Open
gedw99 opened this issue Oct 17, 2022 · 2 comments
Open

File Replication #24

gedw99 opened this issue Oct 17, 2022 · 2 comments

Comments

@gedw99
Copy link

gedw99 commented Oct 17, 2022

Pocketbase supports files. Store the existence in SQLite and the actual on the File system.

We can use NATS object store with chunking to replicate massive files.

https://github.com/mprimi/nasefa for inspiration of the concept.

@maxpert
Copy link
Owner

maxpert commented Oct 18, 2022

I believe this can be separate script that can listen to Marmot changes getting picked up and then uploading them correctly whatever target storage one might deserve. Let's stick to UNIX philosophy and not a generic bloat tool with specific scenarios. Marmot should not and will not understand if something is file path, rather it will provide you with CDC pipeline.

@gedw99 gedw99 changed the title File replciation File Replication Oct 18, 2022
@gedw99
Copy link
Author

gedw99 commented Oct 18, 2022

Yep its just a matter of working out how to expose this as a "BackPlane" of sorts for others to tap into it.

I will look into using https://github.com/seaweedfs/seaweedfs
It uses SQLite in the same way that pocketbase uses it. https://github.com/seaweedfs/seaweedfs/blob/master/weed/filer/sqlite/sqlite_store.go
Marmot is a very good match for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants