Some of you may be familiar with app.io's demo pages service which was discontinued in August. We loved using their service and we thought it'd be a blast building a replacement.
Technologies used: node, socket.io, mongodb, html5 canvas
Some of you may be familiar with app.io's demo pages service which was discontinued in August. We loved using their service and we thought it'd be a blast building a replacement.
Technologies used: node, socket.io, mongodb, html5 canvas
Care to shed any light as to an overview on how the backend works? I've always been curious since I first saw App.io
Maybe a modified iOS Simulator binary that can run hundreds of instances on a single powerful server, would be my best bet.
Apparently app.io had some setup w/ VMs running on lightweight hypervisors (https://macstadium.com/casestudies), but we found we didn't have to have all that overhead to run multiple simulators per machine.
And you're exactly right about the small piece of custom code to pass controls and send frames. We're big fans of socket.io - pretty powerful stuff!
Happy to answer follow-ups if we missed something.
Thanks, weiyin
Thanks!
yea, so the incoming keystrokes and mouse movements are managed through some custom OS X code as well.
the specific method we're using is CGEventPostToPSN, more information here: https://developer.apple.com/library/mac/documentation/Carbon...
Thats a pretty sweet API, never seen that before, thanks! I'm going to play around with it a bit to see what it can do!
ps. I love the new /embed endpoint and iPad support. Keep it coming!