RailPro > RailPro Specific Help & Discussion

Which is Faster? Loading files from the HC or the HC Sim?

<< < (2/3) > >>

Alan:
Well... that speaks volumes now doesn't it. Maybe Ring should consider carrier pigeon.

nodcc4me:
...and they recently updated the server.

KPack:

--- Quote from: Alan on December 12, 2017, 09:40:44 AM ---Well... that speaks volumes now doesn't it. Maybe Ring should consider carrier pigeon.

--- End quote ---

Do we get to eat it afterwards?  I've heard carrier pigeons are delicious.

G8B4Life:

--- Quote from: William Brillinger on December 12, 2017, 08:10:00 AM ---I think our Tim might have some insight into this as he has looked under the hood a fair bit.

--- End quote ---

Yes, some insight, and given enough time I do hope to have more but I have so few minutes to spare at this time of year to do tests and such.

So, why is this really cool system so slow to load, copy and update? Here's a few things in no order.

RPA uses UDP to communicate with Rings server. UDP has no built in error detection and correction in the protocol itself so for every bit of data sent by Ring's server RPA must basically send that same data back to Ring server so Rings server can verify what it sent was received correctly.

UDP was a terrible choice for this part in my opinion but it's likely a carry over from way back when we didn't have RPA but downloaded directly to the HC using the old internet access program (remember then?)

For RPA to HC-x / HC Sim, I haven't looked much into this but I believe UDP might used again on RPA to HC-Sim so the back and forth sending and returning data possibly applies. Not sure on RPA to HC-x. Also both the HC-x and HC Sim (emulating a HC-x) are not true USB devices, well at least the HC-2 (and HC-1) isn't. On board there is a USB to serial converter and I'm talking old school serial; I think it's RS-232 (I'll have to check again). In the grand scheme of things RS-232 is very slow with transfer rates slower than your old dial up modem.

For HC-x  / CI-1 to LM, I don't thinks there's much I can do to test this to find transfer rates etc, at least for the HC-x. I might be able to work out what's going on with the CI-1.

As for the speed of Ring's server, well the old IP address pointed to an ADSL connection meaning his server was quite possibly (read likely) in his office or home, the same if you turned your home computer into a webserver, which would make the connection very slow. Where is his new server? Office or in an ISP datacentre? who truly knows but from the available information I'm leaning to his office / home. This would mean his server would have slow communications to begin with (being on a standard ADSL connection itself) and that coupled with how slow communication using UDP is that would account for the great slowing of RailPro.


--- Quote from: William Brillinger on December 12, 2017, 08:10:00 AM ---These are not actually large files.

--- End quote ---

It's worse than you think! The EMD 645 Turbo ULT sound file is only 2.58 Megabytes.

- Tim

nodcc4me:
That file should take about 1 second to download.  ::)

As to the server location, Google shows the address at a strip mall, and the last package I sent was delivered to the reception desk, but I believe that location is a mail service office, and his business is within his home.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version