What is better ethernet shield or wifi shield or wifi modele ??

Why not use a Raspberry PI and configure it as a MQTT server with sub/pub type of platform?

(you can even install W/LAMP on it.. so you can have Apache, PHP and a MySQL database for logging sensor values..etc)