Download Balanced Fiware Orion

I just created a docked version of OCB load balancing using Nginx and supervisord, which run separate Orion instances balanced by Nginx. For testing purposes only.

My question is: if I use this approach, will I have problems with TIMEINTERVAL subscriptions? (I do not want "n" notifications for each OCB process).

Any help would be appreciated.

+2
source share
1 answer

The current version of Orion (0.23.0) works as follows: during the creation of the ONTIMEINTERVAL subscribeContext, the LB is sent to one of the CB nodes, which creates a constant stream responsible for sending notifications in the notification frequency.

However, there are two problems:

  • If a client wants to unsubscribe from unsubscribeContext, this request may be received by a CB that does not manage the subscription. Thus, the operation may lead to the deletion of the subscription from the database, but the notification continues to be sent.

  • , CB1 S1 S2 CB2, S3 S4. , CB2 . CB2 "" (S1, S2, S3 S4) , , 4 , , S3 S4 ( CB1 CB2).

, ONTIMEINTERVAL HA / . , , , ONTIMEINTERVAL, "", , , , .

EDIT: ONTIMEINTERVAL Orion 1.0.0. ONTIMEINTERVAL ( ). , , , ONTIMEINTERVAL, , queryContext ( queryContext, )

+1

Source: https://habr.com/ru/post/1607324/


All Articles