Hi,
I'm testing voldemort in memory store with replication factors in a cluster of three, but found out that the data replication never happened. Could someone please let me know what is the problem?
I have tried different combination of replication factors and number of nodes, but nothing worked.
thanks
Store configuration:
<stores>
<name>XXX</name>
<persistence>memory</persistence>
<routing>client</routing>
<replication-factor>3</replication-factor>
<required-reads>2</required-reads>
<required-writes>2</required-writes>
<key-serializer>
<type>string</type>
</key-serializer>
<value-serializer>
<type>identity</type>
</value-serializer>
</store>
</stores>
Cluster.xml:
<cluster>
<name>EipDataGrid</name>
<server>
<id>0</id>
<host>localhost</host>
<http-port>8081</http-port>
<socket-port>6665</socket-port>
<partitions>0,1,2,3</partitions>
</server>
<server>
<id>1</id>
<host>localhost</host>
<http-port>8083</http-port>
<socket-port>6669</socket-port>
<partitions>4,5,6,7</partitions>
</server>
<server>
<id>2</id>
<host>localhost</host>
<http-port>8087</http-port>
<socket-port>6673</socket-port>
<partitions>8,9,10,11</partitions>
</server>
</cluster>
Samyuthka,
In addition to what Carlos said, you also need a large enough bdb cache size, so that the cleaners can fit enough of the index into the cache to do their cleaning. If your cache is too small, your cleaner threads can fall behind and cause your jdb structure to grow in an unbounded fashion (rarely reclaiming enough space). Your max logfile size (jdb size) can also impact the performance of the cleaners. And I'd definitely recommend upgrading to a much more recent release.
Also no transaction data is stored in the structure, just key, versions, timestamps and values. It's log structured (append-only), so all modifications to existing keys get written to the end of the current jdb file and the old files are deleted over time as the keys in them are invalidated by the more current jdb files. That deleting of the old jdb files can be improved or degraded depending on your configuration, how many keys you have and how many updates to existing keys you do.
Brendan
--
You received this message because you are subscribed to the Google Groups "project-voldemort" group.
To unsubscribe from this group and stop receiving emails from it, send an email to project-voldem...@googlegroups.com.
Visit this group at http://groups.google.com/group/project-voldemort?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
Yanming
(Home)
650-520-2673(cell)
650-278-3837