I intend to buy a PogoPlug for a small server. I want to install Debian or Arch on it and I will use it for sharing and backing up photos between computers and as a HTTP server or/and event storages with query databases (aka. CQRS with Event Sourcing). The photos require about 15GB, the event storage part require at most 10GB of storage space. The Linux and the applications will be on an SD card, while the stored data on a SATA2 or USB3 storage device.
By my applications it does not really matter whether the left side of the HTTP app <- query database <- event storage
data flow is on the computers or on the server. Syncing the query database by reconnecting to the event storage requires more code, but I can live with that if necessary. The only write intensive part which must be on the server is the event storage. The most write intensive application will be a weather sensor log, which will log the time, temperature, humidity in every second. I can buffer or preprocess that before writing the data to the disk to reduce write frequency if necessary, but I think it will be the most write intensive part no matter what I do.
There will be other applications as well, e.g. training scheduler, etc.. by which the write frequency depends on how frequent I use them, so I guess they are not an issue compared to the sensor logger.
- What data storage solution do you suggest by this system? I would like to use something cheap and quiet, that's why I thought of a 32GB USB flash drive or an SSD. Can these do the job, or do I require a HDD because the write intensity?
- Is there a big difference between an USB flash drive and an SSD about wear out time?
- Should I move the query databases from the server to the computers, since they increase the writing at least double fold?