Bulk request processing Kotlin

I am trying to build an android service which will pretty much wait for some specific sms then it will store them in room database. After storing them it will execute one by one and will wait for the response and if response arrives then it will throw a log. After processing every single request there will be a 3 seconds delay. Now my question is how can I handle bulk requests? Because there will be thousands of request which needs to be processed

submitted by /u/anindyadas0
[link] [comments]