-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Edge agent scenario (multiple decentralized locations) #10376
Comments
My theoretical strategy when I start this will be:
End result: Example stack: Alternatvies:
My first implementation is probably going to be a Grafana status and observation app deployed on cloud and connected to all frigate nodes, which I can share documentation on. |
Hmm, interesting. Ad alternative 2 - This is basically what I'm doing now, I have centralized frigate instance and via VPN have the RTSP over the internet, but the quality is sometimes bad because of the bandwidth as you say. That is why I'm thinking about those self-contained edge frigates, which can work alone independent of each other, but to also have some centralized redundant storage with a gui for viewing the centralized data. I want to have as burglar prone setup as possible...
The only way how the burglar could not get caught on camera, he would have to have mobile signal jammer, disable the wifi ISP from afar, directly go to the mini-rack behind 2 locks and steal either the mini-pc or disk inside of it, because he would still be locally recorded. Or disable the electricity and wait like 10hours before the backup power runs out. But I would get notified about the power outage. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
In the end I would say this is a duplicate of #3673 which would provide me with similar solution. In the end I don't think I need some main frigate and secondary frigates on the edge. Having just an ability for archiving recordings from the edge to some NAS archive, but still browsable from that frigate instance is totally ok :) |
Describe what you are trying to accomplish and why in non technical terms
I have multiple locations.
On each location I have small mini-pc as a pfsense firewall, but can also have frigate with coral pcie tpu. Each location also have nvme drive and also SSD 2inch drive (up to 4TB) for camera storage
On main location (my home) I have bigger server (on proxmox) with trueNAS (redundant disks)
All locations are connected via VPN and routed.
I want to be able to run frigate locally on each location, so that if internet goes down, the camera system is still up. And even if energy goes down, I can have camera system still up via backup power.
I also want to be able to synchronize the storages of each location into centralized redundant storage with also installed frigate, where I might view all the location together.
Describe the solution you'd like
Describe alternatives you've considered
There are multiple ways to go about it...
That came up to my mind was to have each location separate frigates, each having the one non-redundant storage as main storage, but then also mounted NFS remote storage to the redundant one. And having some small daemon which would basically synchronize the smaller non-redundant to the bigger redundant storage. With a caveat, when the small storage gets full, it will move if from small to big storage and create a symlink from small to the big storage so that the clips and recordings could potentially be viewed from the longer history, but it would go through the internet from big storage
That came up to my mind was to have only some agent on each location, which would have a db and recordings to work in local-only environment by themselves, but they would eventually be uploaded to the main frigate instance on the big server. (this solution would be dealing with distributed databases which could be more difficult)
That came up to my mind was to have 1. but also with a main frigate at the big server with the big storage, which would just aggregate all the locations that are synced to the big storage into one frigate instance, where it could be viewed long into the history from the big storage. (this solution would also be dealing with some db synchronization, or something like that)
On the gui side, it could be the same as the current one, only difference would be to have cameras in groups (where one group would be one location)
Additional context
None
Thoughts? :)
The text was updated successfully, but these errors were encountered: