Hello!
As far as my understanding goes, you do not need to do anything special to
get data off swap. You can just access any data in the cache, whether
swapped out or not.
I'm not sure how it would interact with eviction.
Regards,
--
Ilya Kasnacheev
ср, 24 мар. 2021 г. в 10:26, martinlundasko
Hi Valentin
TL/DR; How is data evicted from swap then?
I know this is an old issue, but I am also trying to understand the swap
feature.
This may be outdated by now due to the addition of Native Persistence, but I
have a use case where having swap instead of native persistence would be
ideal.
I
o off-heap
memory limit.
-Val
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Understanding-Swap-Space-feature-how-it-works-tp10859p13033.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
. Although eviction policy writes data to off heap
memory but not to disc.
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Understanding-Swap-Space-feature-how-it-works-tp10859p12968.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
which will seriously
drop performance.
Swap can be enabled or disabled on per cache level via
CacheConfiguration.setSwapEnabled property.
-Val
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Understanding-Swap-Space-feature-how-it-works-tp10859p10885.html
Sen
alone it can spill over to disk
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Understanding-Swap-Space-feature-how-it-works-tp10859.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.