-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to test for reliable server #524
Comments
The release v0.12.x is now production on the AWS servers and live for POSTs to data.enviroDIY.org. I'm looking to try and defined a test so that it can characterize current conditions My specific purpose in characterizing this process, is what I can tell hydrologists I work with as to whether they should continue downloading data from the depth gauges Insitu LT500s that they visit in the field. The objective would be that retrieving data from the MMW would have as good a confidence as retrieving the data by boot-net.
This reliable delivery is configured through a local ms_cfg.ini file that is read on startup by azModularSensors. [COMMON]
LOGGING_INTERVAL_MINUTES=2 ; aggressive testing, typically though every 15minutes
[NETWORK]
COLLECT_READINGS=5 ;Number of readings to collect before send 0to30
POST_MAX_NUM=100 ; Max number of readings to POST after
SEND_OFFSET_MIN=0 ;minutes to wait after collection complete to send
[PROVIDER_MMW]
CLOUD_ID=data.enviroDIY.org
TIMER_POST_TOUT_MS=7000; Gateway Timeout (ms)
TIMER_POST_PACE_MS=3000; Initial testing is to define a baseline that can be used for dual characterization of a base ModularSensors release, and can appear as a "normal load" to the server by a sensor node. Periodically, when the above targets are met a longer soak test lasting 3months could be initiated. |
@neilh10, think it is worth changing your host to See my explanation here. |
Sorry responding to aufdenkampe, this was posted in a number of places, I did change all the two device testing destination to monitormywatershed.org, and there was never any hardcoded IP addresses in there. Seems to me that the current state of the server architecture as in #543 , #541, there should be no testing against the production server monitormywatershed.org unless specifically requested. |
@neilh10, I think we addressed most of these issues with our Jan. 6 v0.12.1 Hotfixes & Tweaks to AWS release. I'm closing this issue. Feel free to reopen if feel any of these issues remain. |
The https://monitormywatershed.org architecture has some inherent occasional stability/reliability issues.
Since Nov13 it has been exhibiting a lot of date losses from POSTs as seen by test06 - probably because of maintenance work.
The test system https://monitormywatershed.org/sites/tu_rc_test06/
through a "reliable delivery" algorithm only records a successful post when a 201 is received, so from past experience, data losses as seen by downloading the .csv file have been associated with the server.
https://staging.monitormywatershed.org/ is setup to sync internal databases with monitormywatershed.org, and this is great setup for testing some of the new presentation features, and much appreciated.
I believe staging.monitormywatershed.org also provides a new method for ensuring that POSTs are guaranteed to be successful.
What type of test plan do you see could be used to verify test the new algorithms for no loss of POSTs.
It might not be possible to do this until the staging transitions to production, but just thought I would check in and ask the question.
Related question - #485
The text was updated successfully, but these errors were encountered: