[infinispan-dev] Fwd: infinispan + mc + vfs

Ales Justin ales.justin at gmail.com
Thu Apr 29 06:33:39 EDT 2010


Pushing to dev ml ...

Begin forwarded message:

> From: Manik Surtani <msurtani at redhat.com>
> Date: April 28, 2010 4:44:11 PM GMT+02:00
> To: Ales Justin <ales.justin at gmail.com>
> Cc: Bela Ban <bban at redhat.com>
> Subject: Re: infinispan + mc + vfs
> 
> All sounds very good.  We should discuss this on infinispan-dev BTW... 
> 
> On 28 Apr 2010, at 15:14, Ales Justin wrote:
> 
>>> It looks pretty good.  Perhaps you should create a wiki page about this on Infinispan's wiki - I'm sure others will be interested.
>> 
>> I still need to play around a bit.
>> Perhaps wiki really is the best way to push this fwd, along with mentioning this on the-core and/or our weekly AS confcall.
>> 
>>> Also, what else would we need to create an infinispan-mc module?  Essentially this would be an adapter that would allow Infinispan lifecycle and config parsing to hook in to the MC, so that we could build a JBoss AS "data grid" profile such that:
>>> 
>>> ${JBOSS_HOME}/servers/datagrid/lib/<infinispan jars>
>>> ${JBOSS_HOME}/servers/datagrid/conf/infinispan.xml
>>> 
>>> running:
>>> 
>>> $ run.sh -c datagrid 
>>> 
>>> would start a standalone Infinispan node with:
>>> 
>>> * MC
>>> * JNDI
>>> * JMX
>>> * Infinispan (based on the config in infinispan.xml)
>> 
>> With my prototype you can already do all of this. ;-)
>> 
>> All you're missing is infinispan.deployers dir/module in AS' deployers directory.
>> And then you would simply move conf/infinispan.xml into datagrid/deploy/ dir.
>> Voila! ;-)
>> 
>> I can setup this once you/we get confirmation from the AS team that this is the right approach.
>> 
>>> Some configs may also include HotRod/Memcached/WebSock/REST server - the latter which would then need a web container.  Same goes for servers/datagrid-managed which would also contain a JOPR instance.  Perhaps then what we are looking for is:
>>> 
>>> servers/datagrid // default, p2p comms
>>> servers/datagrid-server // + HotRod/Memcached/WebSock endpoints
>>> servers/datagrid-REST // + REST endpoint
>>> servers/datagrid-managed // + JOPR instance 
>>> 
>>> Thoughts?
>> 
>> This looks too much fuss for simple config diff.
>> We can ask around on what the new ProfileService (PS) can help us here,
>> to make this a single config + some PS magic.
>> 
>> -Ales
>> 

On 24 Apr 2010, at 21:48, Ales Justin wrote:

> I've hacked this initial MC + VFS support:
> * http://anonsvn.jboss.org/repos/jbossas/projects/demos/microcontainer/trunk/infinispan/src/main/java/org/jboss/demos/infinispan/
> * http://anonsvn.jboss.org/repos/jbossas/projects/demos/microcontainer/trunk/infinispan/src/main/resources/META-INF/infinispan-beans.xml
> 
> You can then drop in this jar:
> * http://anonsvn.jboss.org/repos/jbossas/projects/demos/microcontainer/trunk/gfs/src/main/
> 
> Where we watch for "jboss-infinispan.xml" files:
> * http://anonsvn.jboss.org/repos/jbossas/projects/demos/microcontainer/trunk/gfs/src/main/resources/META-INF/jboss-infinispan.xml
> 
> And to test all of this I deploy a plain MC bean:
> * http://anonsvn.jboss.org/repos/jbossas/projects/demos/microcontainer/trunk/gfs/src/main/resources/META-INF/gfs-beans.xml
> * http://anonsvn.jboss.org/repos/jbossas/projects/demos/microcontainer/trunk/gfs/src/main/java/org/jboss/demos/gfs/Test.java
> 
> This also exposes how we can transparently use GridFilesystem over VFS.
> 
> So, any feedback is welcome.
> 
> -Ales
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20100429/23a6eded/attachment-0001.html 


More information about the infinispan-dev mailing list