Intelligent dataset slicing during microservice handshaking
View Patent ↗A computer-implemented process of intelligent dataset slicing within a network having a plurality of microservices is disclosed. Handshaking between a first microservice and a second microservice is initiated. A vertical reduction of a dataset is required by the second microservice and from the first microservice. A first slice of the dataset generated by the vertical reduction is received by the second microservice and from the first microservice. The sliced dataset is evaluated by the second microservice. The vertical reduction is terminated by the second microservice based upon the evaluating.
1 . A computer-implemented process of intelligent dataset slicing within a network having a plurality of microservices, comprising:
initiating handshaking between a first microservice and a second microservice,
requesting, by the second microservice and from the first microservice, a vertical reduction operation on a dataset;
receiving, by the second microservice and from the first microservice, a first slice of the dataset generated by the vertical reduction operation as a reduced dataset;
evaluating, by the second microservice, the reduced dataset to determine whether the reduced dataset provides a desired result; and
communicating, by the second microservice to the first microservice and based upon the evaluating, a communication to terminate the vertical reduction operation.
2 . The method of claim 1 , wherein
an additional slice of the dataset is requested from the first microservice based upon the evaluating.
3 . The method of claim 2 , wherein
the evaluating includes:
performing data analytics on the first slice of the dataset,
determining, based upon the data analytics, that the reduced dataset does not provide the desired result, and
requesting the additional slice based upon the determining.
4 . The method of claim 3 , wherein
the determining is based upon a third microservice that evaluates results from the data analytics.
5 . The method of claim 1 , wherein
the vertical reduction operation is performed by the first microservice using a dimensionality reduction algorithm.
6 . The method of claim 1 , wherein
the terminating is based upon the evaluating determining that a desirable result is produced.
7 . The method of claim 6 , wherein
vertical reduction data regarding the vertical reduction operation on the dataset is saved responsive to the terminating.
8 . The method of claim 1 , wherein
the initiating, the requesting, the receiving, the evaluating, and the terminating are performed by a vertical reducer, and
each of the first and second microservices includes the vertical reducer.
9 . A computer hardware system configured for intelligent dataset slicing within a network having a plurality of microservices, comprising:
a hardware processor configured to perform the following executable operations:
initiating handshaking between a first microservice and a second microservice,
requesting, by the second microservice and from the first microservice, a vertical reduction operation on a dataset;
receiving, by the second microservice and from the first microservice, a first slice of the dataset generated by the vertical reduction operation as a reduced dataset;
evaluating, by the second microservice, the reduced dataset to determine whether the reduced dataset provides a desired result; and
communicating, by the second microservice to the first microservice and based upon the evaluating, a communication to terminate the vertical reduction operation.
10 . The system of claim 9 , wherein
an additional slice of the dataset is requested from the first microservice based upon the evaluating.
11 . The system of claim 10 , wherein
the evaluating includes:
performing data analytics on the first slice of the dataset,
determining, based upon the data analytics, that the reduced dataset does not provide the desired result, and
requesting the additional slice based upon the determining.
12 . The system of claim 11 , wherein
the determining is based upon a third microservice that evaluates results from the data analytics.
13 . The system of claim 9 , wherein
the vertical reduction operation is performed by the first microservice using a dimensionality reduction algorithm.
14 . The system of claim 9 , wherein
the terminating is based upon the evaluating determining that a desirable result is produced.
15 . The system of claim 14 , wherein
vertical reduction data regarding the vertical reduction operation on the dataset is saved responsive to the terminating.
16 . The system of claim 9 , wherein
the initiating, the requesting, the receiving, the evaluating, and the terminating are performed by a vertical reducer, and
each of the first and second microservices includes the vertical reducer.
17 . A computer program product for intelligent dataset slicing within a network having a plurality of microservices, comprising:
a computer readable storage medium having stored therein program code,
the program code, which when executed by a computer hardware system, cause the computer hardware system to perform:
initiating handshaking between a first microservice and a second microservice,
requesting, by the second microservice and from the first microservice, a vertical reduction operation on a dataset;
receiving, by the second microservice and from the first microservice, a first slice of the dataset generated by the vertical reduction operation as a reduced dataset;
evaluating, by the second microservice, the reduced dataset to determine whether the reduced dataset provides a desired result; and
communicating, by the second microservice to the first microservice and based upon the evaluating, a communication to terminate the vertical reduction operation.
18 . The computer program product of claim 17 , wherein
an additional slice of the dataset is requested from the first microservice based upon the evaluating, and
the evaluating includes:
performing data analytics on the first slice of the dataset,
determining, based upon that the data analytics, that the reduced dataset does not provide the desired result, and
requesting the additional slice based upon the determining.
19 . The computer program product of claim 17 , wherein
the determining is based upon a third microservice that evaluates results from the data analytics.
20 . The computer program product of claim 17 , wherein
the vertical reduction operation is performed by the first microservice using a dimensionality reduction algorithm,
the terminating is based upon the evaluating determining that the desirable result is produced,
vertical reduction data regarding the vertical reduction operation on the dataset is saved responsive to the terminating,
the initiating, the requesting, the receiving, the evaluating, and the terminating are performed by a vertical reducer, and
each of the first and second microservices includes the vertical reducer.