Database Reference
In-Depth Information
Batch writes
We talked about batch writes and the optimization techniques in Chapter 2 , Ready for
Take Off .
We should remember that Neo4j provides ACID properties and every request to Neo4j is
wrapped around a transaction, which also induces some overhead. Planning your writes
and submitting it to the server in batches using a low-level API like BatchInserter would
help in directly interacting or inserting data into Neo4j and avoiding all overhead-like
transactions. It would definitely help in achieving higher throughput.
Vertical scaling
Vertical scaling or upgrading the hardware of the master node is another option where we
can scale our write operations. Neo4j cluster does support SSD drives such as Fusion-io,
which does provide exceptional high write performance.
Search WWH ::




Custom Search