tag:blogger.com,1999:blog-2976473844390099876.post5601840806207011623..comments2024-03-14T05:51:28.294-04:00Comments on A journey through tech goodness...: What's this Offheap thing anyway?Fabien Sanglierhttp://www.blogger.com/profile/04384842381258512896noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-2976473844390099876.post-50320835614976373132019-11-05T02:08:08.209-05:002019-11-05T02:08:08.209-05:00I was scrolling the internet like every day, there...<br />I was scrolling the internet like every day, there I found this article which is related to my interest. The way you covered the knowledge about the subject and the <a href="https://agrawalconstruction.com/category/5-bhk-bungalows/" rel="nofollow">Bungalows in chunabhatti bhopal</a> was worth to read, it undoubtedly cleared my vision and thoughts towards B <a href="https://agrawalconstruction.com%20%E2%80%BA%20sagar-high-street" rel="nofollow">Commercial Shops on ayodhya bypass road</a>. Your writing skills and the way you portrayed the examples are very impressive. The knowledge about <a href="https://agrawalconstruction.com%20%E2%80%BA%20sagar-green-hills" rel="nofollow">flats in chunabhatti bhopal</a> is well covered. Thank you for putting this highly informative article on the internet which is clearing the vision about top builders in Bhopal and who are making an impact in the real estate sector by building such amazing townships.<br />chetanhttps://www.blogger.com/profile/17696027129245875964noreply@blogger.comtag:blogger.com,1999:blog-2976473844390099876.post-22139939767659663722015-11-07T14:21:17.466-05:002015-11-07T14:21:17.466-05:00Thanks Fabien - I'll be arriving in Vegas tomo...Thanks Fabien - I'll be arriving in Vegas tomorrow mid-day and then leaving Monday around noon. I'm @ghidinelli on twitter if you will be at the Aria tomorrow - there's a drink on me for a longer chat. :)Anonymoushttps://www.blogger.com/profile/11732518701146173562noreply@blogger.comtag:blogger.com,1999:blog-2976473844390099876.post-56025490640761621242015-11-07T11:25:11.393-05:002015-11-07T11:25:11.393-05:00We definitely should catch up at the conference! I...We definitely should catch up at the conference! I think using ehcache + terracotta would allow you to not have to code custom JSON serialization etc... because it's all done automatically with ehcache + terracotta setup.<br /><br />The only data "limitation" for the objects stored in ehcache+terracotta is that your objects must be "Serializable" (implements java.io.Serializable). Then it's all done and work behind the scene...Terracotta does not care what object or groups of objects you put in there as long as it's overall serializable. (if you have a large tree of interdependent CFCs, not a problem...it will become a big serialized blob in terracotta...)<br />Same for your mention of locking and race conditions etc...Ehcache+Terracotta offers different consistency models that will use locks internally to make sure there's no inconsistencies between cache entries on various servers...(so you don't need to do this using cflock in the first place...)<br /><br />Let's catch up for sure for further discussion!Fabien Sanglierhttps://www.blogger.com/profile/04384842381258512896noreply@blogger.comtag:blogger.com,1999:blog-2976473844390099876.post-71375194662720371832015-11-06T20:57:57.786-05:002015-11-06T20:57:57.786-05:00Fabien - I see you're presenting on this at CF...Fabien - I see you're presenting on this at CF Summit, unfortunately the same time I'm presenting on SaaS apps Monday morning. If I understand you correctly, you can create a cluster-wide session scope cache to externalize sessions (and therefore remove the need for sticky sessions)? Are there limitations as to what you can put in the session? For example, if you have a CFC and that CFC has any references to other CFCs like a service layer, I imagine it doesn't work or could lead to unpredictable results if you access those values on different servers? We are currently working to move our sessions to Redis and so are eliminating CFCs or creating serialize() methods to get them down to JSON. I'm curious if this Terracotta option would cut out any of the work we're going to have to do or if ultimately we would just be choosing between a redis-based store and an ehcache-based store? (Side question: how does cflock work on session values stored in ehcache? Is access synchronized to prevent race conditions?)Anonymoushttps://www.blogger.com/profile/11732518701146173562noreply@blogger.com