Forum Discussion
Thanks @cjhoward18 for the info, correct me this flow if my understanding is correct due to cache and we have two cases.
- The load balancer forwards the request to an active groundplex node. GP-Node1 is
selected for the purpose of this example.
Case1:
In this case if task is already cached in GP-Node1, it will execute the task and will sent response back to GP-LB and request will not go to control plane at all.
Case2:
in case task is not cached then request will go from GP-Node1 to control plane and control plane will not decide as you mentioned which node is going to be execute the task, it must be the same node (GP-Node1), from where request goes to control plane.
is there anyway we can check task is cached previously or not before execution?
No, there is no way to check before execution.
Is there a use case or problem to be solved that you could shed some light on at a high level?
- Aleksandar_A2 years agoContributor III
Hello akarsh.
You can try by using Mapper with the following Mapping table:
Here I assume that as updatedTime you want to take the current time, if your requirement differs, just remap it correspondingly. 🙂
Let me know if this helps you.
Regards,
Aleksandar.
I tried that but getting below error. anything I am doing wrong here?
- Aleksandar_A2 years agoContributor III
It is because upstream of the Mapper Snap, you have the error field as string and you are trying to pass it through but in the same time you are mapping it to an object in the Mapper Snap.
Related Content
- 11 months ago
- 2 years ago
- 6 years ago