I have the following situation. I am using some DMI DataSources that on an update, may cause changes in another DataSource. For example, update of DS1 introduces a new record in DS2.
Is there a nice and/or efficient way to send these changes back to the client?
I can think of a few mechanisms:
1) force DS2 to be refreshed (invalidCache) on any DS1 update from the client
2) continually check the server for changes by polling using an RPC. If a DS has changed, send back the rows.
3) indicate changes to the other DS in the DSResponse - perhaps by adding extra data to the response. The most efficient thing I can think of is to send back a (list of (map of DS -> changed records)). Is there something like this built in?
Thanks in advance for any pointers.
Is there a nice and/or efficient way to send these changes back to the client?
I can think of a few mechanisms:
1) force DS2 to be refreshed (invalidCache) on any DS1 update from the client
2) continually check the server for changes by polling using an RPC. If a DS has changed, send back the rows.
3) indicate changes to the other DS in the DSResponse - perhaps by adding extra data to the response. The most efficient thing I can think of is to send back a (list of (map of DS -> changed records)). Is there something like this built in?
Thanks in advance for any pointers.
Comment