How to scale in Java

I have another 100 channels of video streams for processing all at once. I need to capture videos, create thumbnails and serve them as a web service. To generate thumbnails, I can use JMF, etc. (I noticed that there is another article that talks about how to create and access: better thumbnails from larger image files ). But my concern: how to scale? Java EE EJB or just Java SE Threads? What are the pros and cons? How to scale horizontally using EJB?

I am not familiar with the problem of scalability, and I really appreciate your good suggestions.

Thanks.

+3
source share
5 answers

... . - Terracotta.

+4

Java SE Threads , , EJB .

, , , -, , .

0

EJB . , . . , , , . , , , . , , . - .

0

.

/ , . . , Java; , . "render farm ffmpeg" Google.

- undefined. , , HTTP- - , , - , , .

0

J2EE .

Rather, a good message queue that talks about JMSs with number X JVMs that start Y number of threads as consumers.

0
source

Source: https://habr.com/ru/post/1710592/


All Articles