首页 > 解决方案 > 3 threads per request

问题描述

I have a spring boot app that will be used on a fairly popular e-commerce platform. I need to create 3 threads to run Cassandra queries in parallel with some business logic to make the service performant. Is this unheard of? I have barely used threads in my young career.

标签: multithreadingspring-boottomcat

解决方案


That right. I usually create batch to query cassandra. Use ThreadPool query cassandra to make the service performant


推荐阅读