A computer-implemented method, comprising: receiving, by a first secure computation node, SCN, of a plurality of secure computation nodes, SCNs, a first random number of a plurality of random numbers from a random number provider; encrypting, by the first SCN, data stored at the SCN using the received first random number in order to generate a first encrypted data; transmitting, by the first SCN, the first encrypted data to a second SCN of the plurality of SCNs; receiving, by the first SCN, a second encrypted data from the second SCN, the second encrypted data encrypted using a second random number of the plurality of random numbers from the random number provider; iteratively updating, by the first SCN, a secure logistic regression model, SLRM, by using the first encrypted data and the second encrypted data based on an event-driven model being a publish-subscribe model, wherein a publisher sends a notification when its service is completed, wherein a subscriber monitors for the notification of the publisher, and wherein a service of the subscriber is triggered upon receipt of the notification of the publisher, wherein the iteratively updating the SLRM comprises determining a column vector of a prediction error based on equation: E = g A − Y i ; wherein g represents a fitting function of a sigmoid function, wherein A represents a share of the column vector calculated using a mini batch sample vector, and wherein Y i represents a label of the i th sample of the mini batch sample vector; and after iteratively updating the SLRM, publishing a result of the SLRM, wherein the result is configured to enable a service to be performed by each SCN of the plurality of SCNs. receiving, by a first secure computation node, SCN, of a plurality of secure computation nodes, SCNs, a first random number of a plurality of random numbers from a random number provider; encrypting, by the first SCN, data stored at the SCN using the received first random number in order to generate a first encrypted data; transmitting, by the first SCN, the first encrypted data to a second SCN of the plurality of SCNs; receiving, by the first SCN, a second encrypted data from the second SCN, the second encrypted data encrypted using a second random number of the plurality of random numbers from the random number provider; iteratively updating, by the first SCN, a secure logistic regression model, SLRM, by using the first encrypted data and the second encrypted data based on an event-driven model being a publish-subscribe model, wherein a publisher sends a notification when its service is completed, wherein a subscriber monitors for the notification of the publisher, and wherein a service of the subscriber is triggered upon receipt of the notification of the publisher, wherein the iteratively updating the SLRM comprises determining a column vector of a prediction error based on equation: E = g A − Y i ; wherein g represents a fitting function of a sigmoid function, wherein A represents a share of the column vector calculated using a mini batch sample vector, and wherein Y i represents a label of the i th sample of the mini batch sample vector; and after iteratively updating the SLRM, publishing a result of the SLRM, wherein the result is configured to enable a service to be performed by each SCN of the plurality of SCNs. wherein g represents a fitting function of a sigmoid function, wherein A represents a share of the column vector calculated using a mini batch sample vector, and wherein Y i represents a label of the i th sample of the mini batch sample vector; and after iteratively updating the SLRM, publishing a result of the SLRM, wherein the result is configured to enable a service to be performed by each SCN of the plurality of SCNs. <EOS>