This is great, thanks! Slightly off topic but do you have any experience with constantly running a Pi as a server 24/7 and any issues that might arise? I was thinking of doing something like this for my local network but was curious if there were any other things I might do to increase stability and lifespan. Again, thanks for the article!
Since I started to write this article (one or two weeks back) I didn't unplug it at all. I actually started to test some of my real work on it (more robust APIs, databases, a lot of routes, automatic Postman tests) and never failed me. It uses an unnoticeable part of my home network bandwidth and almost no power at all, so comes in handy to have one around. Unfortunately, I don't know what sort of issues might arise if you use a lot of traffic and I did not monitor the stability. But I will keep you posted in case something goes wrong and maybe I will setup some benchmarking in the following days.
this sounds similar to something i'd like to do. i'd like to use RasbPi + DHT11 Temperature and Humidity Sensor Module and send data to AWS Dynamo DB and then have a React APP displaying that info. could you please tell me more about your project?
Hey. Goal of my project was just to level the thermostats on the first and second floor of the house. So i can be dad and yell "Don't touch the thermostat" :) I have DHT11 also and used Adafruit_DHT python module. Values are written to plain CSV and i used node.js and chart.js to display it. I use raspery for other thing now, but i left daemon running.
This is great, thanks! Slightly off topic but do you have any experience with constantly running a Pi as a server 24/7 and any issues that might arise? I was thinking of doing something like this for my local network but was curious if there were any other things I might do to increase stability and lifespan. Again, thanks for the article!
Since I started to write this article (one or two weeks back) I didn't unplug it at all. I actually started to test some of my real work on it (more robust APIs, databases, a lot of routes, automatic Postman tests) and never failed me. It uses an unnoticeable part of my home network bandwidth and almost no power at all, so comes in handy to have one around. Unfortunately, I don't know what sort of issues might arise if you use a lot of traffic and I did not monitor the stability. But I will keep you posted in case something goes wrong and maybe I will setup some benchmarking in the following days.
My Pi 2 is running for more than 3 years non stop. It is constantly measuring and saving enviromental data and serving simple page to check that data.
this sounds similar to something i'd like to do. i'd like to use RasbPi + DHT11 Temperature and Humidity Sensor Module and send data to AWS Dynamo DB and then have a React APP displaying that info. could you please tell me more about your project?
Hey. Goal of my project was just to level the thermostats on the first and second floor of the house. So i can be dad and yell "Don't touch the thermostat" :) I have DHT11 also and used Adafruit_DHT python module. Values are written to plain CSV and i used node.js and chart.js to display it. I use raspery for other thing now, but i left daemon running.
I made a CSS indexer. I used PhantomJS. There was some incidents of PhantomJS sub tasks not exiting which left some tasks hanging.
It depends on what you are doing. For the most part PM2 will cover what you need.