I am considering an app that has to match up continuous GPS data being received as a stream from up to 5000 buses on a 1gb fibre optic network.
This data is collated by others and I would received it at the rate of about 20 buses per second.
As each packet is received I want to look up a table to establish if the vehicle is where it is supposed to be from a schedule and modify as database record if it is not. This requires a computation 20 times a second.
The Schedule database can have 100,000 records and consists of way points where each bus should be every 2 minutes throughout the day (the bus timetable)
I can easily do this using the usual dbOpenRecordset stuff but it is much faster just using simple string arrays and is all done in memory. Results only need to be saved every few minutes so the disk is not being thrashed.
Problem is MyString(100000,5000) is far too big!
Any ideas as to how I can do it in memory?
Is there a way of measuring how much string space is remaining in a given vb6 app? (not just available RAM)
This data is collated by others and I would received it at the rate of about 20 buses per second.
As each packet is received I want to look up a table to establish if the vehicle is where it is supposed to be from a schedule and modify as database record if it is not. This requires a computation 20 times a second.
The Schedule database can have 100,000 records and consists of way points where each bus should be every 2 minutes throughout the day (the bus timetable)
I can easily do this using the usual dbOpenRecordset stuff but it is much faster just using simple string arrays and is all done in memory. Results only need to be saved every few minutes so the disk is not being thrashed.
Problem is MyString(100000,5000) is far too big!
Any ideas as to how I can do it in memory?
Is there a way of measuring how much string space is remaining in a given vb6 app? (not just available RAM)