[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
BigMemory Max + Server Array question  XML
Forum Index -> BigMemory
Author Message
ant284

neo

Joined: 10/02/2013 04:26:45
Messages: 9
Offline

Hi,

So after reading the documentation (alot) I'm obviously a bit confused.
So by playing with BigMemory max code, such as hello world for example.

I guess that will create the cache server and store /retrieve the data in the memory.

At this point my first question here
1) Is that the client and bigmemory max functionality are integrated in the same application?

then I played with server array.
So looking at the code and xml. it loads the example class (hello word, crud, group, search) and store it in server array at the give port.

So my question is how do I add/edit/remove data , let me clarify the use case.

I have multiple webclients that receives data ( I want it to be separate from bigmemeory), according to some values I want to retrieve/add/delete the data for the in memory.

Do I have to write a client server application on top of Bigmemory to respond to the webclients ?

what is confusing with the examples, there is only 1 class and 1 method that creates the data set and query's it. It is the same as using a HashMap example :).

Thanks,
adahanne

master

Joined: 03/20/2012 23:14:46
Messages: 95
Offline

hello,
in your use case, your webclients are going to use (embed) ehcache as the terracotta server array clients.
Your webclients code will interact with ehcache to do the puts/gets/deletes on the saved data on the TSA.
ant284

neo

Joined: 10/02/2013 04:26:45
Messages: 9
Offline

When you mention ehcache you mean bigmemory?
similar to the diagram found here :
http://terracotta.org/images/documentation/BigMemoryMaxLogoDiagram.png

The idea I had really, is having bigmemory distributed.


So basically when using the server array. Everything is stored in the BigMemory of the server Array and not of the App.

So if you ran out of memory space how do you add another instance of Bigmemory with a new server? <-- this I will try to look into it

However thanks for the help,
fashion0

neo

Joined: 10/23/2013 19:27:25
Messages: 2
Offline

ant284 wrote:
Hi,

So after reading the documentation (alot) I'm obviously a bit confused.
So by playing with BigMemory max code, such as hello world for example.

I guess that will create the cache server and store /retrieve the data in the memory.

At this point my first question here
1) Is that the client and bigmemory max functionality are integrated in the same application?

then I played with server array.
So looking at the code and xml. it loads the example class (hello word, crud, group, search) and store it in server array at the give port.

So my question is how do I add/edit/remove data , let me clarify the use case.

I have multiple webclients that receives data ( I want it to be separate from bigmemeory), according to some values I want to retrieve/add/delete the data for the in memory.

Do I have to write a client server application on top of Bigmemory to respond to the webclients ?

what is confusing with the examples, there is only 1 class and 1 method that creates the data set and query's it. It is the same as using a HashMap example :).

Thanks, 
 
Forum Index -> BigMemory
Go to:   
Powered by JForum 2.1.7 © JForum Team