On 31 March 2014 16:58, Nathan McCorkle <nmz787@gmail.com> wrote:
What about dynDNS for getting past the IP issue?
I think that solutions that put the pi on the internet as a web server are just kicking down the road, the can containing the issue of scaling.
Which is basically that for these nice graphs, to get real time updates, your going to be running a bunch of XMLHTTPRequest() to pull data into a AJAX/jQuery or other nice visualization running in the browser. And these are all going to be served by the pi. If you have 10 users watching some experiment in progress, and then they would all be polling the pi continuously. Eventually this is going to compromise the pi's ability as a controller/sensor.
For scaling, it would be better just to have the pi batch a bunch of data, say every 10 seconds, and post it to a dedicated server, with decent resources, which can scale to dishing out lots of updates to web browsers. Load might bring down the web server, say an AWS virtual, or https://www.pythonanywhere.com/, but the Pi would go on oblivious.
(and you would definitely not lose ssh access to the pi, during a critical experiment etc, the important thing that would result in you having to get out of bed ;-)
Cheers,
Tom
-- You received this message because you are subscribed to the Google Groups DIYbio group. To post to this group, send email to diybio@googlegroups.com. To unsubscribe from this group, send email to diybio+unsubscribe@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/diybio?hl=en
Learn more at www.diybio.org
---
You received this message because you are subscribed to the Google Groups "DIYbio" group.
To unsubscribe from this group and stop receiving emails from it, send an email to diybio+unsubscribe@googlegroups.com.
To post to this group, send email to diybio@googlegroups.com.
Visit this group at http://groups.google.com/group/diybio.
To view this discussion on the web visit https://groups.google.com/d/msgid/diybio/CAB%2BzPJAvpkXqVae9zMdq%2BsYDvgaRqXZou-3y4dOLa-dQ2Byr_Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
0 comments:
Post a Comment