I am writing an app listening to websocket connections and making infrequent REST requests. aiohttp seems like a natural choice for this, but I'm flexible. The app is simple but needs to be reliable (gigabytes of data to collect daily while minimising data loss). 
What is the best way to handle connection loss with aiohttp? I notice that other some other Python libraries have auto reconnect options available. With aiohttp, I could always manually implement this with a loop (start over again as soon as the connection is lost) but I wouldn't know what's the best practice (is it acceptable to keep making reconnection attempts without delay in a loop?).
aiohtp is a relative low level library, autoreconnection should be built on top of it.
Websocket connection is non-blocking operation in aiohttp.
Reliable websocket reconnection is not trivial task. Maybe you need to know what data are received by peer or maybe not -- it depends. In first case you need some high level protocol on top of plain websockets to send acknowledges etc.
autoreconnect for aiohttp websocket