Instead of having to go through the MySQL server to access data, you can access the data directly from your C++ application. Why would you like to do this? There are some reasons:
- Data access with minimal overhead
- Flexibility - posssible to hand-optimize queries. You control exactly when you want to send data to NDB Cluster.
- Performance - Shorter response times, because of fewer network hops (no MySQL server as a proxy) and (1,2) above.
In this blog, I will try to show you how to start programming your own NDBAPI applications and I will illustrate this with simple examples. It will require that you have knowledge about C/C++.