[OFBiz] Dev - load balancing with entity engine cache

Mark Gordon fred at markgordon.org
Sun Apr 17 19:04:51 EDT 2005


Excellent!  That is what I was looking for!!

I am using 3.0 of the entity engine and I have made a few minor changes 
to deal with my odd database situation.  I may have to upgrade to the 
latest version and add my changes.

Thanks!
-Mark

Adam Heath wrote:
> On Sun, 17 Apr 2005, Mark Gordon wrote:
> 
> 
>>I am using the Ofbiz Entity Engine and Service Engine for converting a
>>legacy system to a web application.
>>
>>We are using Tomcat 5.5.7 for the servlet container and HTTP server.
>>Stand along tomcat can load balance with more then one server and
>>passing the user to the correct server.
>>
>>I see that it would be possible to use the entity engine with load
>>balancing as long as you didn't access values in the cache.  Is there a
>>way to configure the entity engine in a load balanced environment and
>>still be able to use the cache?
>>
>>Thanks for any input.
> 
> 
> Look in entityext, there are distributed cache clearing stuff.  When I
> modified the cache system heavily last summer, I modified those classes too,
> but haven't actually tested them in a real cluster.
> 
> In effect, each node will have it's own cache, and when a node writes to the
> database, will clear it's cache, and send an event to other nodes to clear
> their caches as well.
> 
>  
> _______________________________________________
> Dev mailing list
> Dev at lists.ofbiz.org
> http://lists.ofbiz.org/mailman/listinfo/dev
> 


More information about the Dev mailing list