I have used raspberry pi 3 B+ in my application where the raspberry pi will run as a data logging device from different sensors and the raspberry pi sometimes have to be installed in hot sun which may have to run it in such conditions continuously for a few days. On the software i have installed MySQL to save the data and some python scripts for receiving the data and some other stuff. When the raspberry pi is run in a room it gets hot enough that it cant be touched with bare hands. Is it ok to run the raspberry pi in hot sun for a few days or is installing a lite version of raspbian do any good for the raspberry pi in reducing the heat by reducing the load on the CPU? if not then can anyone suggest some ways to reduce the heat generation and run the raspberry pi.