Push services when internet is down

All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS

Moderator: Mattk

Post Reply
SWRCWeatherS
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: Wed Oct 02, 2013 12:38 am

Push services when internet is down

Post by SWRCWeatherS »

What happens to the push services when the internet is down? I'm using the MySQL service to store my data every 5 minutes, but our building is terrible about losing internet service. Is there any way to recover the lost data?

Thanks!
User avatar
josecmorales
Expert Boarder
Expert Boarder
Posts: 93
Joined: Wed Sep 25, 2013 8:25 pm
Location: Puerto Ordaz, Venezuela
Contact:

Re: Push services when internet is down

Post by josecmorales »

Is a really good question!, sometimes i have to power off the system when the rain is convert to thunderstorm!, but i loss data!
The weather in Guayana, Venezuela
@climaguayana
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: Push services when internet is down

Post by admin »

Meteobridge push services are not buffered, weather network services are buffered for a defined number of retries.
crazyace
Senior Boarder
Senior Boarder
Posts: 40
Joined: Sat Jan 24, 2015 8:13 am

Re: Push services when internet is down

Post by crazyace »

About how much data is buffered if I set the number of retries to "retry forever". I have a DIR-505L and just wondered if I had an internet outage how much data could be buffered and uploaded once the connection was restored. Just a an educated guess is all I was asking... one hour, two hours, 24 hours, etc). I looked around but could not located much detail on this question.
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: Push services when internet is down

Post by admin »

Percentage of used buffer is shown on "system" tab. It can be a few hundred send outs.
In general I would not really recommend to use "forever". It is not making much sense.
crazyace
Senior Boarder
Senior Boarder
Posts: 40
Joined: Sat Jan 24, 2015 8:13 am

Re: Push services when internet is down

Post by crazyace »

Thanks for the reply. I changed the retries to 100. What exactly did this mean? Is this the retries for a specific report to the weather network? What happens after the 100 attempts expires and does this restart for rhe next successful update?
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7874
Joined: Mon Oct 01, 2007 10:51 pm

Re: Push services when internet is down

Post by admin »

The failed transmissions will be tried again and again, but letting newer requests passing by first.
After 100 attempts Meteobridge does drop the record.
Post Reply