[rules-users] Drools Session Persistence

2014-06-30 Thread calcacuervo
Hey Guys.

I would like to persist a ksession in drools 6, but not every time I
interact with the session, as this would impact the performance and we have
lot of events and facts inserted per second.

Is this possible to manually persisting the session (for example, on
undeployment), and then, at the app startup load it?

Thanks!

Demian



--
View this message in context: 
http://drools.46999.n3.nabble.com/Drools-Session-Persistence-tp4030204.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Drools Session Persistence

2014-06-30 Thread Mark Proctor
You can marshal the sessions manually and save/load the resulting byte[].

Look at the marshaller api in -api javadocs.

Mark
On 1 Jul 2014, at 01:40, calcacuervo calcacue...@gmail.com wrote:

 Hey Guys.
 
 I would like to persist a ksession in drools 6, but not every time I
 interact with the session, as this would impact the performance and we have
 lot of events and facts inserted per second.
 
 Is this possible to manually persisting the session (for example, on
 undeployment), and then, at the app startup load it?
 
 Thanks!
 
 Demian
 
 
 
 --
 View this message in context: 
 http://drools.46999.n3.nabble.com/Drools-Session-Persistence-tp4030204.html
 Sent from the Drools: User forum mailing list archive at Nabble.com.
 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users