Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

problems gigaSpace in the enterprise-class applications

Dear all experts:

1: Do you know whether Gigaspaces support distribution mySQL with mySQL NDB ?

2: If the power off, how is the loading rate to re-load the data into GigaSpaces?

3: In addition to support relational databases , how about gigaSpace support to file system,message data?

4: whether its performance influenced by different machines, different cpu and memory ?

5:Can support multiple data sources with the structure?

6:As a middleware usually gigaspace how to transform existing projects, whether to support attachments scenarios.

7:What is the security measures in gigaSpace?

8:How to avoid the depletion of the entire system resources?

last:It's ok to create a table to space then auto mirror to DB by Gigaspace Jdbc Syntax,But falled in insert

Datas.

just see attachment, how to insert or update data by gigaSpace jdbc Syntax. h4. Attachments

[TestMan.java|/upfiles/13759707199954297.txt]

{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=3271]{quote}

asked 2009-10-10 03:50:47 -0600

mj2342003 gravatar image

updated 2013-08-08 09:52:00 -0600

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

1. GigaSpaces does not use a database for its operations. GigaSpaces implements its own data managment system with indexes where both data and indexes stored in memory.
You can persist the data into a database (any database) or load data from the database into GigaSpaces. See:
http://www.gigaspaces.com/wiki/display/XAP7/ExternalDataSource

2. If you shut down the space you can re-load the data from the database using the ExternalDataSource initial load. See:
http://www.gigaspaces.com/wiki/display/XAP7/HowtoCustomizeInitialLoad

3. You can persist the data into any media by implementing the ExternalDataSource interfaces. See:
http://www.gigaspaces.com/wiki/display/XAP7/ExternalDataSourceAPI

4. GigaSpaces provides In-Memory-Data-Grid. The system performance would be impacted with slow CPU or Netowrk. See more:
http://www.gigaspaces.com/benchmarks

5. Yes. You can load data from Multiple sources and persist into different sources.

6. See the petclinic example provided as part of the openspaces project and the cloud tutorial.
http://www.gigaspaces.com/wiki/display/CCF/Exercise3-PortingthePetClinictoGigaSpaces
http://www.openspaces.org/display/DAE/GigaSpacesPetClinic

7. See the secutiry section in the docs: http://www.gigaspaces.com/wiki/display/XAP7/Security

8. Make sure you protect the machines and run the system with backups spaces. You might want to have few extra machine available and have GSC started on the fly when needed (by having the GSA running). See:
http://www.gigaspaces.com/wiki/display/XAP7/TheRuntimeEnvironment

9. I suggest you to use the Native Space API instead of the JDBC API. See:
http://www.gigaspaces.com/wiki/display/XAP7/POJOSupport#POJOSupport-CodeSnippets

Any case, You can update data within the space using the regualr JDBC calls. See:
http://www.gigaspaces.com/wiki/display/XAP7/JDBCDriver
If the data within the space persit into a database via the Mirror , in case the database transaction fails , the spaec will retrasmit the operation again back into the Mirror.
See: http://www.gigaspaces.com/wiki/display/XAP7/AsynchronousPersistencywiththeMirror

Shay

answered 2009-10-10 10:40:19 -0600

shay hassidim gravatar image
edit flag offensive delete link more

Comments

thank you for you resource,and i will have a good look at it.

regards

mj2342003 gravatar imagemj2342003 ( 2009-10-14 09:01:00 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2009-10-10 03:50:47 -0600

Seen: 34 times

Last updated: Oct 10 '09