• Post Reply Bookmark Topic Watch Topic
  • New Topic

when object to be distributed?  RSS feed

 
jacob deiter
Ranch Hand
Posts: 587
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when objects to be distributed?.Why can't all object exist in same same physical computer(vm).IF it needs any perfomance improvment ,i can use caching?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

IF it needs any perfomance improvment ,i can use caching?

If your application is CPU bound, how does caching help? If your perfoamnce problem is memory bound, how does caching help?

Caching typically helps when data is sourced from some persistant store the has a high IO impact. Its not a panacea for all performance problems, indeed it may cause performance issues if your application is not distibutable and you start to hit the limits of your JVM's heap.
 
jacob deiter
Ranch Hand
Posts: 587
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when objects to be distributed?

please address this question
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Performance is the main reason. Two possible perfomance issue I mention above. Given all performance issue on computers boil can be cused by:
  • the CPU
  • memory
  • IO

  • adding more of any of the above is a way to fix the perfomance issue.
     
    It is sorta covered in the JavaRanch Style Guide.
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!