The atPlatform : The 'batch' verb

Search for a command to run...

No comments yet. Be the first to comment.
For a long while we ran The atPlatform on Ubuntu Linux, but we found that doing stuff with nodes on a large Docker Swarm spiked CPU usage for cloud-init. Every start or stop of a container was a change to networking, and every change to networking ca...

In this step-by-step guide I will walk you through all steps required to setup your own private dess using AWS.

Do you wish to store and share objects on Flutter without worrying about databases, infrastructure and other annoyances? What would these objects look like and how would you make them? The atPlatform already has you covered! Let’s take a deep dive in...

On running tests that are expected to fail
GitHub recently launched a beta for their new project boards, which provide a lot more flexibility than the old Kanban boards. I've been excited about the new functionality ever since I heard of the 'Memex' project. With the new boards comes a new A...
The batch verb in the atPlatform allows multiple commands to be sent in a single call to the secondary server. Developers of apps can leverage the batch feature to send multiple commands, thereby reducing the number of network calls from the device to the secondary server.
[{"id":1,"command":"update:public:phone@alice +1 111 1111”},
{"id":2,"command":"update:@alice:phone@alice +1 222 2222”},
{"id":3,"command":"delete:public:phone@alice”}]
data:[{"id":1,"response":{"data":10}},
{"id":2,"response":{"data":11}},
{"id":3,"response":{"data":12}}]
[{"id":1,"command":"update:public:phone@alice +1 111 1111”},
{"id":2,"command":"update:@alice:phone@alice”}]
data:[[{"id":1,"response":{"data":13}}, {"id":2,"response":{"error_code":"AT0003","error_message":"Invalid syntax"}}]
Refer to the BatchVerbHandler to learn more about this verb.
The batch verb has not yet been exposed in our SDK . We plan to do that soon.