After you have developed your application, you may want to adjust parameters in various areas, in order to improve performance. The following issues may affect system performance, and can be fine-tuned to better suit the needs of your GigaSpaces-based application:
- Infrastructure - The hardware and operating system settings can be optimized to suit the requirements of the GigaSpaces functionality that has been implemented.
- GigaSpaces application features and design - Select the appropriate data model and design features for your application needs.
- Slow consumers - GigaSpaces includes a feature that can detect slow consumers and adjust the system behavior, so that performance is only minimally affected.
- Large-scale deployment - When designing a large cluster, some fine-tuning is required to ensure that the cluster can handle heavy loads, while providing rapid and stable performance.
- Proxy connectivity - The default parameter values of the Space proxy router can be modified to better suit they way that the client application connects to the GigaSpaces data grid.
- Handling large objects - If your application has to store large files in memory, you can adjust the memory allocation behavior accordingly.
- Communication protocol - GigaSpaces includes a proprietary LRMI (Light Remote Method Invocation) communication adaptor, built on top of the NIO communication protocol. This adaptor has parameters that can be tweaked to improve application performance.
- Java Virtual Machines (JVMs) - GigaSpaces is a Java process and runs on a JVM that can be adjusted to enhance system use.
- Threads Usage - GigaSpaces uses thread resources extensively to scale activities depending on system load. You can adjust the configuration parameters.
For more information about fine-tuning the performance of your GigaSpaces-based application, refer to the section that describes Moving Into Production.