Tutorial: How Anki Vector communicates? Part 2
Part 2: Secure Connections: How to securely exchange messages in a distributed system
In the last article in this tutorial, we looked at protocol buffers. To recap, protocol buffers define the message format by which two distributed systems based on two different environments (such as operating systems/ programming languages) can talk to each other. Now, let us try to understand how a secure connection can be established to the Anki Vector robot to facilitate message delivery via protocol buffers. First, let us revisit the client-server paradigm of communications between two systems.
Client-Server Model of Distributed computing
In the client-server model, the server provides a certain service which is always readily available. In other words, it is always waiting to serve a customer, akin to your local departmental store whose doors are always open and the cashier is always ready to serve a customer. The client avails of the service that the server provides. In order to avail the service, the client must connect to the port where the server is listening, and send his req…
Keep reading with a 7-day free trial
Subscribe to Learn With A Robot to keep reading this post and get 7 days of free access to the full post archives.