diogogmt / webvirt

NodeJS application to manage hyper-visors though libvirt
1 stars 2 forks source link

Refresh VM instance status with a socket conn #30

Open diogogmt opened 11 years ago

diogogmt commented 11 years ago

Instead of pulling the vm status with ajax we should have a socket connection listening for real time changes on the instances.

This would be useful specially when a shutdown event is fired, since sometimes it might take a few min to finalize the shutdown process

sedge commented 11 years ago

When we discussed this with our industry partner, didn't they say that using socket connections for this could clog up the network traffic?

diogogmt commented 11 years ago

I think it was the contrary, we had decided to use socket connections, however we didn't have enough time to implement system wide.

Independently of our client this is a nice to have feature that would provide real time info regarding all aspects of libvirt.

We can start implementing sockets just for the vm status and slowly port to other areas of the app.