Async C Client: Opening the Door to Event-Based Processing
The Aerospike C/C++ client version 4.0 introduces asynchronous programming support, joining the Java and C# clients in this feature. Asynchronous calls allow a single thread to issue multiple commands and receive callbacks upon completion, reducing resource utilization and enabling better scaling compared to synchronous calls that tie up threads for the duration of each command. The event loop style of concurrent programming is used by the Aerospike C client's async commands, which return all results within a single thread. This tutorial demonstrates how to use the Aerospike C client's asynchronous interface to read and write large batches of records efficiently.
Company
Aerospike
Date published
March 16, 2016
Author(s)
Brian Nichols
Word count
2047
Hacker News points
None found.
Language
English