Language:EN
Pages: 2
Rating : ⭐⭐⭐⭐⭐
Price: $10.99
Page 1 Preview
were using the rest api submit cypher queries the

Were using the rest api submit cypher queries the database

JVM only
As with developing against embedded Neo4j, we’ll have to use a JVM-based lan‐guage.

GC behaviors
We can do arbitrarily complex (and dangerous) things inside a server extension. We need to monitor garbage collection behaviors to ensure that we don’t intro‐duce any untoward side effects.

Buffer writes using queues

In high write load scenarios, we can use queues to buffer writes and regulate load. With this strategy, writes to the cluster are buffered in a queue. A worker then polls the queue and executes batches of writes against the database. Not only does this reg‐ulate write traffic, but it reduces contention and enables us to pause write operations without refusing client requests during maintenance periods.

Application Architecture | 81

When using a clustered graph database, we should consider load balancing traffic across the cluster to help maximize throughput and reduce latency. Neo4j doesn’t include a native load balancer, relying instead on the load-balancing capabilities of the network infrastructure.

Separate read traffic from write traffic

Load balancers can poll this URI at intervals to determine where to route traffic.

82 |

Chapter 4: Building a Graph Database Application

You are viewing 1/3rd of the document.Purchase the document to get full access instantly

Immediately available after payment
Both online and downloadable
No strings attached
How It Works
Login account
Login Your Account
Place in cart
Add to Cart
send in the money
Make payment
Document download
Download File
img

Uploaded by : Murray Cameron-Costello

PageId: ELI6F2BB94