[JBoss-user] [JBossCache] - Re: is it possible to have in-memory caching if running on m

2005-05-27 Thread enyedi
Yes, the same config file is on both computers. When using FileCacheLoader, the 
location attribute was set with respect to each disk.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879318#3879318

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3879318


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: is it possible to have in-memory caching if running on m

2005-05-27 Thread enyedi
Yes, this is exactly what I want to obtain - both [real-time] synchronization 
and [better] performance. I'm actually trying to use JBossCache as a data 
sharing utility.

You suggest that using REPL_SYNC this synchronization won't happen instantly. 
The "handshake" test was fairly permissive spped-wise, in the sense that a 
human operator placed the value in cache and literally yelled at the other user 
to try and get the value.

I do not need data to be persisted, but the above test failed if I did not use 
a cache loader - a FileCacheLoader, to be exact. But performance obviously 
decreases a lot - I have a second test to measure that.

Suggestion for making it easier for users to configure JBossCache: offer a 
small console-based utility, to help perform this "handshake" test and avoid 
later debugging efforts. Once a configuration  works, the xml file can be used 
in the real application.  I am planning to contribute myself - will have to 
study 
submission policies first, though.

Thank you for the suggestions. I will keep digging starting from those.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879308#3879308

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3879308


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: is it possible to have in-memory caching if running on m

2005-05-24 Thread enyedi
Hello,

This is exactly what I have been using - REPLY_ASYNC. I have also tried using 
RmiDelegatingCacheLoader instead of FileCacheLoader (with the host set 
explicitly to one of the IPs in the cluster, the same IP in the XMLs on each 
machine). Nothing worked. The two test instances both use the same node to 
store keys, of course.

Here is the complete configuration file:



  | 
  | 
  | jboss:service=Naming
  | jboss:service=TransactionManager
  | 
  | 
  | org.jboss.cache.DummyTransactionManagerLookup
  | 
  | 
  | 
  | SERIALIZABLE
  | 
  | 
  | REPL_ASYNC
  | 
  | 
  | test
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 5000
  | 
  | 
  | 1
  | 
  | 
  | 15000
  | 
  | 
  | 
  | 
  | 
  |true
  | 
  |org.jboss.cache.loader.RmiDelegationCacheLoader
  | 
  |
  | 
  | host=192.168.97.148  
  | 
  |
  | true
  | 
  |/
  | 
  |true
  | 
  |true 
  |
  | 
  | 
  | 
  | 
  | 

Thank you for your help.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878856#3878856

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3878856


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - is it possible to have in-memory caching if running on multi

2005-05-23 Thread enyedi
I am using version 1.2.2 and attempting to configure jbosscache standalone. My 
problem is as follows:

I run two instances of a "handshake" test on two sepatate machines. The test 
consists of client A putting a key in cache and client B then performing a get 
on this key (both caches were started beforehand). If I use a FileCacheLoader, 
the test works (but a performance test, using this configuration, outputs very 
unsatisfactory values - about 40 puts-per-second). If I don't use a 
CacheLoader, client B does not see the value placed in cache by client A.

What I would like to know is if I can configure the cache not to use disk 
back-up at all (to work only in memory) while at the same time having 
consistency across machines. If this is possible, configuration tips or a small 
configuration xml would be very appreciated.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878720#3878720

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3878720


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user