What happens when server crash
Posted: Fri Jul 11, 2014 9:08 am
i want to make a alarm that you can control true a webpage. the webpage is been worked on but that 's not realy the problem.
the GPIO have constantly been checked when the alarm is on. what happens when my server crasht ? i'm thinking about 3 solutions but do not know which i need to choose for security. because the system needs always to work !
- using PHP on the webserver and controlling the GPIO on this way
- using a C++ program that get his data from the webpage and control the GPIO ( do not know if it still works when server crash ?
because will the rpi still performance good or what happens ? )
- using external hardware with a I2C connection and just use the rpi only for the webpage and the controlling for I/O will happen without the rpi.
my english is not so good
the GPIO have constantly been checked when the alarm is on. what happens when my server crasht ? i'm thinking about 3 solutions but do not know which i need to choose for security. because the system needs always to work !
- using PHP on the webserver and controlling the GPIO on this way
- using a C++ program that get his data from the webpage and control the GPIO ( do not know if it still works when server crash ?
because will the rpi still performance good or what happens ? )
- using external hardware with a I2C connection and just use the rpi only for the webpage and the controlling for I/O will happen without the rpi.
my english is not so good