iamlucky13
08-05-2004, 03:31 PM
This is a rather complex one, I think.
The company I'm working for (which builds sensors) recently set up a sensor system as a proof-of-concept/test for a new type of sensor, and they told me they're interested in being able to use their website to show it in operation to potential customers. What they want is basically a single page that shows a display of data taken over short period of time and possibly a daily summary. Keep in mind the sensors are continuously taking real-time data.
Important considerations:
- Our site is hosted by a webhosting company located who knows where.
- The PC that receives data from the sensors has an internet connection.
- The data can be "pre-processed" before being sent to the webserver
If anyone has suggestions about how best to go about this or links to resources, I would love to hear them.
My first thought was to have the test computer periodically (~1 min) upload data summaries to a MySQL database. This could be used to approximate realtime data. One of my coworkers can write a program to automate transmitting the data. Unfortunately, they would prefer realtime, and I'm not sure this would convey to the customer what they really need. Are there considerations I should be aware of here beyond database size.
My second thought was perhaps there is some way of using the server as a proxy between the test PC and a user to actually stream data to the user and have it display in an applet. Is there a way to create a connection capable of doing this between the PC and the webserver?
Other ideas?
Whatever happens, it looks like I have some more learning cut out for myself
The company I'm working for (which builds sensors) recently set up a sensor system as a proof-of-concept/test for a new type of sensor, and they told me they're interested in being able to use their website to show it in operation to potential customers. What they want is basically a single page that shows a display of data taken over short period of time and possibly a daily summary. Keep in mind the sensors are continuously taking real-time data.
Important considerations:
- Our site is hosted by a webhosting company located who knows where.
- The PC that receives data from the sensors has an internet connection.
- The data can be "pre-processed" before being sent to the webserver
If anyone has suggestions about how best to go about this or links to resources, I would love to hear them.
My first thought was to have the test computer periodically (~1 min) upload data summaries to a MySQL database. This could be used to approximate realtime data. One of my coworkers can write a program to automate transmitting the data. Unfortunately, they would prefer realtime, and I'm not sure this would convey to the customer what they really need. Are there considerations I should be aware of here beyond database size.
My second thought was perhaps there is some way of using the server as a proxy between the test PC and a user to actually stream data to the user and have it display in an applet. Is there a way to create a connection capable of doing this between the PC and the webserver?
Other ideas?
Whatever happens, it looks like I have some more learning cut out for myself