4 ms·
I started moving images of my wordpress blog to ipfs using 3 most popular gateways. I'm moving slowly, image by image, but so far it was quite a success. As ima
by akerro 6y ago
I started moving images of my wordpress blog to ipfs using 3 most popular gateways. I'm moving slowly, image by image, but so far it was quite a success. As images expire from the gateways I had super simple and cheap IPFS nodes - unused raspberry pi! My main IPFS node is RPi 0W (the wireless one). It overall dropped my main page loading times, and it costs £5 (rpi) + £5 32Gb sd card. First images - the smallest and most often loaded few were migrated 7 months ago.
https://github.com/claudiobizzotto/ipfs-rpi https://github.com/claudiobizzotto/ipfs-rpi
- Shared404 6y agoI don't know what your software config on the pi is, but if it's writing to the SD card a lot it'll wear out and fail pretty quickly. Just a heads up from someone who's been bitten.
- jacobush 6y agoUse external USB SSD (what I did for a mail server). One could also be very aggressive with making the kernel lazy about flushing to SD card. (It has downsides, but if you put a UPS shield on, it's a pretty neat hack.)
- akerro 6y agoI hear it in every discussion, yet I'm still waiting for any of my SD cards to fail. I've had the same rpi0 for 3 years as CCTV with motiond (motion detector). Recording all activity from my window, filling the card in 100% and removing all recorded data, every 2 days, no errors, no failure. I no longer need that CCTV so using the rpi, with the same SD card, as IPFS node.
- Shared404 6y agoIf it works it works :) I just had it happen so I figured I'd bring it up just in case.
- bityard 6y agoIME, the people who complain about SD cards failing on raspberry pi bought cheap cards that were intended for bulk storage, not frequent writes or running an OS card. Regular SD cards are not SSDs. On my network of random Pis and other stuff, I use only high-endurance SD cards which can withstand lots of writes have durability much closer to SSDs.
- akerro 6y agoYes, that's correct. I only buy original Samsung or SanDisk SD cards that come with 5+ years warranty, and then I keep original packaging anyway.
- 3np 6y agoHere’s from someone who only bought the supposedly highest recommended ones and had several failures before I switched to usb. Maybe roughly average 10-20% failure/ year uptime for something that has heavy log writing? A thing people tend to forget is temperature. Keep them cool and they have higher chances of surviving longer.
- literallycancer 6y agoHow were the images delivered before?
- akerro 6y agohosted on my wordpress on a dedicated OVH servers.