Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to scale up in Java

I have 100+ channels of video streams to process all at the same time. I need to capture the video, generate thumbnails, and serve them out as a web service. For the generation of thumbnail, I can use JMF etc.(I noticed there is another post talking about how to generate and access: better quality thumbnails from larger image files). But my concern is: how to scale? Java EE EJB or simply Java SE Threads? What's the cons and pros? How to scale horizontally using EJB?

I am not that familiar with scalability issue, and I really appreciate your kind suggestions.

Thanks.

like image 1000
Lily Avatar asked Jun 20 '26 09:06

Lily


1 Answers

Agree... threads should help to scale on single machine. If you want to scale across different machines - use Terracotta.

like image 79
Eugene Ryzhikov Avatar answered Jun 22 '26 22:06

Eugene Ryzhikov