by zaabis · 6y ago · 0 comments
Features:
- Web interface with multiple user accounts. - React/Material UI front end. - NodeJS backend with registration/login flows.
A friend works at an oil company, and they have dozens of rpis deployed on offshore rigs, and in land rigs in the middle east. They are working in pretty harsh conditions, with high salinity, sand in the air, high vibrations, very low temps, very high temps... and yet over the 6 years they have been running, not 1 has had a fault.
All use SD cards, and they haven't been glued in or secured in any way.
At this point, the RPi SD-card fault thing is becoming a meme.
Just bought industrial grade SD cards for Siemens PLCs the other day, almost $2k for 32 gig and due to certification for safety only good for ten years regardless of condition/use.
Equivelents spec cards without the magic S word on them are still around $800.
They are actually a different kind of memory used, so I guess not manufactured in same consumer number quantities.
I always liked the look of something like puppy Linux that loaded to ram, pretty sure most Linux variants allow this as an option, that would potentially make use of consumer grade palletable.
1. Buy high quality SD cards
2. Remove as much disk-IO as possible, using an external USB stick for raw data storage, logs, swap, etc
3. If you really need to make it stable, make the OS read-only
They are indeed using UPS', and the workloads naturally have a low write load.
The default rpi os writes to disk all the time, there is even syslog with periodic messages. I bet your oil company uses read-only root, or at least a customized os which does not log things unless it has to.
I mentioned in another comment though, that the particular workload doesn't result in many writes.
> Works locally only, via WLAN (it's a feature, not a bug!)