1. A computer-implemented method for implementing a distributed database in a data network, the method comprising: receiving node data associated with one or more nodes of a plurality of nodes, the plurality of nodes being communicatively coupled to a software-driven network (SDN), the plurality of nodes fulfilling service requests, the plurality of nodes including at least one or more traffic classification engines and a plurality of service nodes, wherein the receiving the node data includes: connecting, by each of the one or more traffic classification engines and each of the plurality of service nodes, to the distributed database, the distributed database being maintained by a node of the one or more nodes; updating tables in the distributed database by each of the one or more traffic classification engines, wherein each of the one or more traffic classification engines updates tables containing records relevant to each of the one or more traffic classification engines, wherein the records relevant to each of the one or more traffic classification engines include at least traffic classification data; and updating the tables in the distributed database by each of the plurality of service nodes, wherein each of the plurality of service nodes updates tables containing records relevant to each of the plurality of service nodes, wherein the records relevant to each of the plurality of service nodes include at least service policies of one or more of the plurality of service nodes; updating the distributed database using the node data to provide an updated distributed database; initiating, by the node of the one or more nodes maintaining the distributed database, replication of the updated distributed database to each of the one or more traffic classification engines and each of the plurality of service nodes; getting the node data from the distributed database; generating a service policy using the node data; and providing the service policy to an SDN controller, the SDN controller bringing up a new node when a load of the data network increases and bringing down an existing node of the plurality of nodes when the load of the data network decreases, using the service policy.