Here my major considerations is High Data availability across all the nodes
that are participating in the cluster and every thing must be in full sync.

my idea was to increase the operations so i though of increasing the thread
pool which i have increased to 100 but still by using the command "ps -efL |
grep <Process name> | wc -l" i am getting the max threads are 64.....

there i have used binary configurations to have the platform
interoperability.

<?xml version="1.0" encoding="UTF-8"?>



<beans xmlns="http://www.springframework.org/schema/beans";
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
       xmlns:util="http://www.springframework.org/schema/util";
       xsi:schemaLocation="
        http://www.springframework.org/schema/beans
        http://www.springframework.org/schema/beans/spring-beans.xsd
        http://www.springframework.org/schema/util
        http://www.springframework.org/schema/util/spring-util.xsd";>

    <bean id="grid.cfg"
class="org.apache.ignite.configuration.IgniteConfiguration">
        
        <property name="peerClassLoadingEnabled" value="true"/>
                        
                        <property name="systemThreadPoolSize" value="100"/>


<property name="binaryConfiguration">
            <bean
class="org.apache.ignite.configuration.BinaryConfiguration">
                <property name="compactFooter" value="false"/>

                <property name="idMapper">
                    <bean
class="org.apache.ignite.binary.BinaryBasicIdMapper">
                        <property name="lowerCase" value="true"/>
                    </bean>
                </property>

                <property name="nameMapper">
                    <bean
class="org.apache.ignite.binary.BinaryBasicNameMapper">
                        <property name="simpleName" value="true"/>
                    </bean>
                </property>

                <property name="classNames">
                    <list>
                        <value>org.apache.ignite.examples.CrossClass</value>
                    </list>
                </property>
            </bean>
        </property>


        <property name="cacheConfiguration">
            <list>
                <bean
class="org.apache.ignite.configuration.CacheConfiguration">
                                                        <property
name="name" value="txnCache"/>
                                                        <property
name="cacheMode" value="PARTITIONED"/>
                                                        <property
name="writeSynchronizationMode" value="FULL_SYNC"/>
                                                        <property
name="backups" value="1"/>
                </bean>
            </list>
        </property>


        <property name="discoverySpi">
            <bean
class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
                <property name="ipFinder">
                    
                    
                    <bean
class="org.apache.ignite.spi.discovery.tcp.ipfinder.vm.TcpDiscoveryVmIpFinder">
                    
                        <property name="addresses">
                            <list>
                                
                                
                                <value>10.0.2.55:47500..47510</value>
                                <value>10.0.2.56:47500..47510</value>
                                <value>10.0.2.57:47500..47510</value>
                            </list>
                        </property>
                    </bean>
                </property>
            </bean>
        </property>
    </bean>
</beans>




--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/How-to-compile-C-code-tp13989p14124.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to