| Author |
Message |
![[Post New]](/forums/templates/default/images/icon_minipost_new.gif) 03/10/2012 10:12:24
|
chava
neo
Joined: 03/10/2012 10:07:06
Messages: 7
Offline
|
Hi,
There are lot of topics on L1,L2 for none of them are clear for newbies.
1) How L1 and L2 works?
Lets we have three L1s and one L2 on server
When first L1 loads the data will it look in local cache first and look at L2 and if its not in both , it loads from db and put in L1 ,L2?
When first L1 updates the data it updates its local cache and L2 ? Will the second L1 get updated as well by L2?
Basically I am referring How stale data works in both multiple L1's and L2?
Regards
Chava
|
|
|
 |
![[Post New]](/forums/templates/default/images/icon_minipost_new.gif) 03/10/2012 13:01:11
|
steve
ophanim
Joined: 05/24/2006 14:22:53
Messages: 619
Offline
|
Hi, You pretty much nailed it with 1 exception. The L2 doesn't push data to L1's when a person tries to retrieve data from the second L1 it will get faulted from the L2 the first time. That said, if the data is changed the data will be kept fresh in the cluster.
Does that make sense?
Cheers,
Steve
|
Want to post to this forum? Join the Terracotta Community |
|
|
 |
![[Post New]](/forums/templates/default/images/icon_minipost_new.gif) 03/10/2012 13:19:00
|
chava
neo
Joined: 03/10/2012 10:07:06
Messages: 7
Offline
|
Thank you Steve. The data get refreshed in cluster means, all L1's and L2 will get resfreshed? L2 sends stale message to L1's ? How it works?
Also, do we have to keep local cache ? Is it mandatory? I want to cache zip codes and do not want keep that in every local cache and only in L2. is it possible?
Thank You
Chava
|
|
|
 |
![[Post New]](/forums/templates/default/images/icon_minipost_new.gif) 03/10/2012 13:22:49
|
steve
ophanim
Joined: 05/24/2006 14:22:53
Messages: 619
Offline
|
Yeah, entries on nodes that are stale are notified so they can be invalidated.
In answer to your other question. Yes, you can turn off the local cache.
|
Want to post to this forum? Join the Terracotta Community |
|
|
 |
![[Post New]](/forums/templates/default/images/icon_minipost_new.gif) 03/10/2012 13:29:56
|
chava
neo
Joined: 03/10/2012 10:07:06
Messages: 7
Offline
|
If we use only L2 ,is it slow performance ?
Its looks very promising so far.
|
|
|
 |
![[Post New]](/forums/templates/default/images/icon_minipost_new.gif) 03/10/2012 13:32:23
|
steve
ophanim
Joined: 05/24/2006 14:22:53
Messages: 619
Offline
|
L2 should give you milli-second latency vs micro-second latency for things cached in the L1.
|
Want to post to this forum? Join the Terracotta Community |
|
|
 |
![[Post New]](/forums/templates/default/images/icon_minipost_new.gif) 03/10/2012 13:41:47
|
chava
neo
Joined: 03/10/2012 10:07:06
Messages: 7
Offline
|
When a person tries to retrieve data from the second L1 it will get faulted from the L2 the first time . Its only the data user trying to retrive not all the data on L2 right?
|
|
|
 |
![[Post New]](/forums/templates/default/images/icon_minipost_new.gif) 03/10/2012 19:52:54
|
steve
ophanim
Joined: 05/24/2006 14:22:53
Messages: 619
Offline
|
Right, it will get retrieved but only the data that is needed.
|
Want to post to this forum? Join the Terracotta Community |
|
|
 |
![[Post New]](/forums/templates/default/images/icon_minipost_new.gif) 03/10/2012 20:23:00
|
klalithr
consul
Joined: 01/23/2011 10:58:07
Messages: 466
Offline
|
You are correct Chava.
|
Karthik Lalithraj (Terracotta) |
|
|
 |
![[Post New]](/forums/templates/default/images/icon_minipost_new.gif) 03/12/2012 20:59:47
|
chava
neo
Joined: 03/10/2012 10:07:06
Messages: 7
Offline
|
Hi,
What are the exact features we are going to missing if we choose open source instead of commercial version?
Thanks
Chava
|
|
|
 |
![[Post New]](/forums/templates/default/images/icon_minipost_new.gif) 03/13/2012 08:55:05
|
chava
neo
Joined: 03/10/2012 10:07:06
Messages: 7
Offline
|
Any ideas?
I am trying to finish evaluation on this?
Thanks
Chava
|
|
|
 |
![[Post New]](/forums/templates/default/images/icon_minipost_new.gif) 03/13/2012 11:59:08
|
klalithr
consul
Joined: 01/23/2011 10:58:07
Messages: 466
Offline
|
Chava - I would suggest you reach out to sales@terracottatech.com and someone will walk you though these differences.
|
Karthik Lalithraj (Terracotta) |
|
|
 |
![[Post New]](/forums/templates/default/images/icon_minipost_new.gif) 03/14/2012 16:37:45
|
chava
neo
Joined: 03/10/2012 10:07:06
Messages: 7
Offline
|
I have already talked to sales people before. I was not that clear.
|
|
|
 |
![[Post New]](/forums/templates/default/images/icon_minipost_new.gif) 03/15/2012 09:47:16
|
ilevy
consul
Joined: 04/16/2008 10:26:42
Messages: 357
Offline
|
Try this page for a comparison table:
http://terracotta.org/products/enterprise-suite/compare-editions
You can also read through the documentation -- commercial (enterprise) features are called out.
|
|
|
 |
|
|