Forum Discussion
PaoloT
10 years agoLithium Alumni (Retired)
Hi Manasa
thanks for sharing your use case with us. For your questions
- The REST API is a pull API, so you would have to poll at regular intervals. I would reccommend checking with your Lithium Manager in relations to the expected load increase for this integration. You can also investigate the event subscription model and see if the information provided by this API is enough for you (this is a push api). I think caching and polling at regular intervals could do the trick
- "Realtime" may translate into polling at a high frequency, which does not sound advisable in general
- This will depend on the requirements. For most applications and use cases, it sounds like a completely reasonable strategy to me.
Hope this helps,
Related Content
- 2 months ago
- 8 hours ago
- 3 years ago
- 5 years ago