Using Multithreading/concurrency in real world application
Mar 26, 2020
14 Comments
I develop backend microservices in Java & so far haven’t used any Multithreading/concurrency paradigm in my code. I want to know from my fellow engineers, are you guys using it in your e-commerce or retail store or any other backend systems? And if so, then where exactly are you guys using?
All what I do is create my api abd deploy it in cloud. And using auto scaling we manage the performance.
Any pointers would be really helpful.
yoe - 6
tc - 110k
loc - Framingham, MA
#uber #lyft #dropbox #oracle #twitter #linkedin #microsoft #apple #facebook
comments
p.s. I haven’t developed any batch process so my knowledge on that subject is limited.
We use executor service as threadpool manager / read n write executors.
1) fetching data from data store
2) efficiently read from and/or write to in-memory cache which needs to refreshed periodically
Etc