When on app A a product price is changed, app B should update the displayed price there, too, ideally as soon as possible. I would let the updated field flash briefly and show a temporary message that the value just has changed to notify the user.
websockets come to mind as a faster and more efficient alternative to classical polling.
For keeping everything simple I want to use something very high-level.
i’ve made the backed in java (spring), in my typescrit code (ionic with angular) i call a refresh function every X seconds, depending on the type of data i’m handling:
if i’m on a product page, i call the refresh method on “add to cart”, on “page enter” and every 30-60 secs if the user stays on the page.
For “less important data” i just call a refresher inside a setInterval, every 2-3 minutes