We recently moved from using Google App Engine standard environment to Kubernetes (GKE), while in the standard environment, we used Task queues to run task in the background to reduce latency. I want to do the same on Kubernetes, how do I achieve this since task queue is not available on Kubernetes?
One solution I can think of is to use Threads, but threading is not advised on google cloud. I have also heard about message queues and Kubernetes Executor but I cant seem to get a good resource to walk me through how to achieve backgroud task using them.
Please I need suggestions on this and resource I could read.
After little research and Consultation, I have made the following findings and I wish to correct misconceptions I presented in the question.
So to solve my problem I just used Java Threading managed with executor service.