-
1. Re: is there a way to load 100GB from database to cache? I need to run a performance test and using JDG to read and load is taking a long time
wdfink Nov 2, 2014 12:11 PM (in response to ga2n)100GB will take time
How is your cache configured? Do you try to keep the 100GB in-memory for the test?
Maybe a async put will help or you use multiple instances.
-
2. Re: is there a way to load 100GB from database to cache? I need to run a performance test and using JDG to read and load is taking a long time
vbchin2 Feb 11, 2015 2:19 AM (in response to ga2n)- How are you loading the data, in a single thread or in multi-threaded fashion ?
- How many cluster nodes are you using ? If more than 1, you can query disjoint sets of data on the database from each node and load it into the cache. I recommend using a distributed cache for this approach.
- As Wolf-Dieter suggested you could use putAsync to speed up your load
Either way 100 GB will take time, at the source (database) + processing the relational data into objects + while loading the cache.
-
3. Re: is there a way to load 100GB from database to cache? I need to run a performance test and using JDG to read and load is taking a long time
alexis.bourdeau Jan 15, 2017 7:42 AM (in response to vbchin2)Hello,
another point :
what is the best way to feed data into Datagrid Server ?
I have a cluster of Datagrid Server, and I will receive through the system thousands of events every minutesIs it better to user a remote HotRod Client receiving data from the system and pushing them to the Grid ?
thanks !
-
4. Re: is there a way to load 100GB from database to cache? I need to run a performance test and using JDG to read and load is taking a long time
sebastian.laskawiec Jan 16, 2017 3:57 AM (in response to alexis.bourdeau)Could you tell me what is the source of those events? But in general yes, using a Hot Rod client might be a good fit.
-
5. Re: is there a way to load 100GB from database to cache? I need to run a performance test and using JDG to read and load is taking a long time
alexis.bourdeau Jan 17, 2017 12:30 PM (in response to sebastian.laskawiec)Sources of events might be
- MQ or JMS queue
- Apache Spark
-
6. Re: is there a way to load 100GB from database to cache? I need to run a performance test and using JDG to read and load is taking a long time
sebastian.laskawiec Jan 18, 2017 1:31 AM (in response to alexis.bourdeau)1 of 1 people found this helpfulI'm assuming all 3 solutions allow you to stream data (and not load everything at once). In that case a small, Hot Rod Client based app would be a perfect fit.