Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring Integration in Action - Question?

 
Luke Murphy
Ranch Hand
Posts: 300
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you think that Spring can in any way at all make Java architectures make better use of multi core CPUs?
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Luke Murphy wrote:Do you think that Spring can in any way at all make Java architectures make better use of multi core CPUs?


That isn't a Spring Integration question. Would never be at that level. Would have to be at the Java low level. And Java does use multi cores in many ways, most importantly in Garbage collectors.

Mark
 
Iwein Fuld
Author
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well in some ways, if you have a Java application that uses a single thread and you start using Spring Integration, you could make it use more of the CPU by adding some threads. If this is your only reason to use SI I'd say it's overkill because an ExecutorService will do the same for you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic