<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-1033933413127832310.post884867798834754623..comments</id><updated>2010-04-25T17:33:14.321-07:00</updated><title type='text'>Comments on Kick me in the nuts: Something more scalable</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://lookfirst.com/feeds/884867798834754623/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1033933413127832310/884867798834754623/comments/default'/><link rel='alternate' type='text/html' href='http://lookfirst.com/2009/11/something-more-scalable.html'/><author><name>Jon Scott Stevens</name><uri>http://www.blogger.com/profile/11867559494404858630</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1033933413127832310.post-4144387126866628280</id><published>2010-04-25T17:33:14.298-07:00</published><updated>2010-04-25T17:33:14.298-07:00</updated><title type='text'>I seriously doubt it given how we use it. It also ...</title><content type='html'>I seriously doubt it given how we use it. It also serves a different purpose.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1033933413127832310/884867798834754623/comments/default/4144387126866628280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1033933413127832310/884867798834754623/comments/default/4144387126866628280'/><link rel='alternate' type='text/html' href='http://lookfirst.com/2009/11/something-more-scalable.html?showComment=1272241994298#c4144387126866628280' title=''/><author><name>Jon Scott Stevens</name><uri>http://www.blogger.com/profile/11867559494404858630</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='16624715962739355499'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://lookfirst.com/2009/11/something-more-scalable.html' ref='tag:blogger.com,1999:blog-1033933413127832310.post-884867798834754623' source='http://www.blogger.com/feeds/1033933413127832310/posts/default/884867798834754623' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-1033933413127832310.post-8802282011093513333</id><published>2010-04-25T12:12:51.082-07:00</published><updated>2010-04-25T12:12:51.082-07:00</updated><title type='text'>Jon, have you experimented with memcached instead ...</title><content type='html'>Jon, have you experimented with memcached instead of ehcache, I don&amp;#39;t have the statistics on hand at the moment, but I believe that would provide you with an even bigger performance boost then ehcache.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1033933413127832310/884867798834754623/comments/default/8802282011093513333'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1033933413127832310/884867798834754623/comments/default/8802282011093513333'/><link rel='alternate' type='text/html' href='http://lookfirst.com/2009/11/something-more-scalable.html?showComment=1272222771082#c8802282011093513333' title=''/><author><name>Yev</name><uri>http://www.blogger.com/profile/18363848217686959354</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://lookfirst.com/2009/11/something-more-scalable.html' ref='tag:blogger.com,1999:blog-1033933413127832310.post-884867798834754623' source='http://www.blogger.com/feeds/1033933413127832310/posts/default/884867798834754623' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-1033933413127832310.post-4056115110996996224</id><published>2010-02-11T07:49:33.214-08:00</published><updated>2010-02-11T07:49:33.214-08:00</updated><title type='text'>Unfortunately, I can't because we use the 'support...</title><content type='html'>Unfortunately, I can&amp;#39;t because we use the &amp;#39;supported&amp;#39; EAP version of JBoss. You aren&amp;#39;t supposed to change components at all in that version, otherwise you lose your support contract from Redhat.&lt;br /&gt;&lt;br /&gt;We are running with full classloader isolation on and call by value. That was another recent change I made. It has vastly improved things for us because now ears with different jar files don&amp;#39;t conflict.&lt;br /&gt;&lt;br /&gt;As for jboss 5, that is a direction we are moving in at work, but it will take quite a bit of porting of our code (classpath changes, etc) to make it work. Part of the porting issue was that we were injecting the TreeCache into our beans and you can no longer do that with 5 (lame).&lt;br /&gt;&lt;br /&gt;I&amp;#39;m *very* happy with ehcache now that I have it all setup and working well. We have JMX monitoring of it in cacti, it is very fast, it works well in our cluster. All of the issues we were having before with jboss cache are gone now.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1033933413127832310/884867798834754623/comments/default/4056115110996996224'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1033933413127832310/884867798834754623/comments/default/4056115110996996224'/><link rel='alternate' type='text/html' href='http://lookfirst.com/2009/11/something-more-scalable.html?showComment=1265903373214#c4056115110996996224' title=''/><author><name>Jon Scott Stevens</name><uri>http://www.blogger.com/profile/11867559494404858630</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='16624715962739355499'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://lookfirst.com/2009/11/something-more-scalable.html' ref='tag:blogger.com,1999:blog-1033933413127832310.post-884867798834754623' source='http://www.blogger.com/feeds/1033933413127832310/posts/default/884867798834754623' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-1033933413127832310.post-1082040158928748884</id><published>2010-02-11T00:57:33.813-08:00</published><updated>2010-02-11T00:57:33.813-08:00</updated><title type='text'>Jon, you can always isolated the classloader for y...</title><content type='html'>Jon, you can always isolated the classloader for your app and use a different JGroups/JBoss Cache or even Hibernate version. Here&amp;#39;s one such example:&lt;br /&gt;&lt;br /&gt;http://community.jboss.org/wiki/JBossCache2xand3xandJBossAS4x&lt;br /&gt;&lt;br /&gt;Btw, maybe time to move to JBoss 5? :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1033933413127832310/884867798834754623/comments/default/1082040158928748884'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1033933413127832310/884867798834754623/comments/default/1082040158928748884'/><link rel='alternate' type='text/html' href='http://lookfirst.com/2009/11/something-more-scalable.html?showComment=1265878653813#c1082040158928748884' title=''/><author><name>Galder Zamarreño</name><uri>http://www.blogger.com/profile/13720543036523511661</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://lookfirst.com/2009/11/something-more-scalable.html' ref='tag:blogger.com,1999:blog-1033933413127832310.post-884867798834754623' source='http://www.blogger.com/feeds/1033933413127832310/posts/default/884867798834754623' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-1033933413127832310.post-9217269647531423744</id><published>2009-11-12T08:12:44.445-08:00</published><updated>2009-11-12T08:12:44.445-08:00</updated><title type='text'>JBoss has a multi tiered classloader. I'm fine wit...</title><content type='html'>JBoss has a multi tiered classloader. I&amp;#39;m fine with it being shared across all of my .ear files (server/default/lib/*), but the big issue is that hibernate (and jgroups and jboss cache) lives in there. &lt;br /&gt;&lt;br /&gt;So, if you are trying to replicate your domain objects in a cluster, hibernate (et al) can&amp;#39;t find them because it is in a classloader higher up the chain than your own objects.&lt;br /&gt;&lt;br /&gt;The end solution is to put the caching layer into your own classpath so that each ear file has its own cache instance and to turn on invalidation so that there isn&amp;#39;t any replication going on.&lt;br /&gt;&lt;br /&gt;There is one more side issue which I need to resolve which is that I&amp;#39;d like to be able to turn on Disk based caching as well for my hibernate objects. We use @Enumerated enum&amp;#39;s in hibernate and by default hibernate serializes the enums as objects instead of the toString() representation. Since hibernate is in a higher classloader, it can&amp;#39;t rehydrate the objects from a disk based cache because the objects aren&amp;#39;t in the same classloader. If I define my own @Type(type=&amp;quot;enum&amp;quot;) and implement my own hydration using toString/valueOf, that will solve this problem.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1033933413127832310/884867798834754623/comments/default/9217269647531423744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1033933413127832310/884867798834754623/comments/default/9217269647531423744'/><link rel='alternate' type='text/html' href='http://lookfirst.com/2009/11/something-more-scalable.html?showComment=1258042364445#c9217269647531423744' title=''/><author><name>Jon Scott Stevens</name><uri>http://www.blogger.com/profile/11867559494404858630</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='16624715962739355499'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://lookfirst.com/2009/11/something-more-scalable.html' ref='tag:blogger.com,1999:blog-1033933413127832310.post-884867798834754623' source='http://www.blogger.com/feeds/1033933413127832310/posts/default/884867798834754623' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-1033933413127832310.post-6606712006387862521</id><published>2009-11-12T01:10:09.421-08:00</published><updated>2009-11-12T01:10:09.421-08:00</updated><title type='text'>Surely that's the JBoss "everything is shared" cla...</title><content type='html'>Surely that&amp;#39;s the JBoss &amp;quot;everything is shared&amp;quot; classloader at work? You can turn that off somehow and are left with the problem of getting commons-logging back ends in at the level of commons-logging, JDBC drivers in high enough up for the DB engine to find them...</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1033933413127832310/884867798834754623/comments/default/6606712006387862521'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1033933413127832310/884867798834754623/comments/default/6606712006387862521'/><link rel='alternate' type='text/html' href='http://lookfirst.com/2009/11/something-more-scalable.html?showComment=1258017009421#c6606712006387862521' title=''/><author><name>SteveL</name><uri>http://www.blogger.com/profile/07654931341335136008</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://lookfirst.com/2009/11/something-more-scalable.html' ref='tag:blogger.com,1999:blog-1033933413127832310.post-884867798834754623' source='http://www.blogger.com/feeds/1033933413127832310/posts/default/884867798834754623' type='text/html'/></entry></feed>