What Is Clustering About – An answer to Spring is not designed for scalabilityJan 16, 2006 · 1 minute read · Comments
I wanted to reply to Diego Parilla post about scalability, but my reply ended up being too long not to post it over here. I don't know if I am the only one here but I don't fully understand his post and arguments.
Clustering the web server and clustering the model are just two parts of clustering, not exclusive.
For more stateful web apps, there are strategies to avoid clustering the session, you can make one client attack one server only for his whole session duration. Another strategy is to use DB where you would use a session. This is actually reported to work quite well. If my memory is right, this is how Friendster rewrote its app (used to be Java and session based, moved to PHP+DB).
EJBs are not about clustering the model more than Spring, they are about clustering the business logic. And I don't see how EJB3 is more scalable than Hibernate.