r/cloudcomputing • u/vittyvirus • Feb 08 '22
Virtual PCs aren't taking off (IMO) because of latency issues- however that can be solved in theory.
Firstly, apologies if this post doesn't strictly belong to r/cloudcomputing. I couldn't figure out where else to post this.
So I have been thinking about this for a while now. The major problem I see with Windows 365 and all such efforts is the latency - which makes even Xeon processors on 16GBs of RAM feel sluggish.
This problem arises because currently cloud computing vendors are using screen streaming technologies (RDP e.g.). However, it doesn't have to be this way.
We can implement a display protocol which would send all the textual contents of the application, including the submenus, separately from the graphical elements on the screen. And the client would render out the elements using its own processor. Hence, the client wouldn't feel as much of a lag when clicking on things: the response would be immediate for most textual elements. For example, clicking on File -> Save would be instantaneous even though the actual command to save the file would be sent to the server with a lag.
This should, in theory, work well for most tasks such as browsing the web, editing documents etc. There would still be a slight lag for working with photo and video editing software, but if this succeeds then even that lag would not be noticeable.
I'm thinking out loud here, so please correct me if I'm wrong. Please also point me to the relevant literature, if there is any research that has been done on this stuff.
4
u/Infintie_3ntropy Feb 09 '22
You are literally describing HTML.
2
u/InstructionNo3616 Feb 08 '22
This works if each machine is as graphically and computationally as powerful as the remote PC sending the instructions. The advantage of using RDP and pixel streaming protocols is the ability to offload the GPU/CPU power. Would also apply to intensive CPU instructions as well. I can connect to a powerful EC2 instance from a $100 chromebook and have it render in real-time. If I were to just send instructions from an EC2 instance to the chromebook I would be limited to its poor hardware capabilities.
2
u/tedivm Feb 09 '22
That doesn't change latency, it just lowers bandwidth requirements. Latency is limited by the speed of light- even if you had an ideal connection you can't go faster than that, but you can shove larger and larger packets over it.
Your solution (which, for the record, is already used by many protocols) reduces bandwidth but doesn't help with latency at all. The protocols that exist tend to be even more efficient than than text, utilizing super efficient binary protocols.
1
u/IT_Dark_Side Feb 09 '22
Read up on how Citrix's ICA protocol works. RDP evolved out of the joint engineering that Citrix started back in the mid-late 90s with MS,
1
u/[deleted] Feb 09 '22
virtual pc's are niche. they're more expensive than the equivalent physical workstation long term...
and you need at least one physical workstation to enjoy them.
0
u/[deleted] Feb 08 '22
[deleted] — view deleted comment