ThingWorx Model Definition in Composer > Data Storage > Persistence Providers > Using Neo4j as the Persistence Provider
Using Neo4j as the Persistence Provider
* 
As of version 8.4.0 of ThingWorx platform, Neo4j and Neo4j+DSE are no longer supported.
If you are using Neo4j as the default persistence provider (ThingworxPersistenceProvider), you can edit the following stream and value stream queue Configuration settings, which will apply to all streams and value streams. You cannot change these settings for a specific stream or value stream.
Stream Processor Settings
Base Type
Default
Notes
Max Queue Size
Number
250000
Maximum number of stream entries to queue.Once the specified value is reached, the following entries will be rejected.
Max Wait Time Before Flushing Stream Buffer (millisec)
Number
500
Number of milliseconds the system waits before flushing the stream buffer
Max no. of Items Before Flushing Stream Buffer
Number
1000
Maximum number of items to accumulate before flushing the stream buffer
Max no. of Stream Writes in Process Block
Number
1000
Maximum number of stream writes to process in one block
Buffer Status Scan Rate (millisec)
Number
5
The buffer status is checked at the specified rate value in milliseconds.
Value Stream Processor Settings
Base Type
Default
Notes
Max Queue Size
Number
500000
Maximum number of value stream entries to queue.Once the specified value is reached, the following entries will be rejected.
Max Wait Time Before Flushing Value Stream Buffer (millisec)
Number
500
Number of milliseconds the system waits before flushing the value stream buffer
Max no. of Items Before Flushing Value Buffer
Number
1000
Maximum number of items to accumulate before flushing the value stream buffer
Max no. of Value Stream Writes in Process Block
Number
1000
Maximum number of value stream writes to process in one block
Buffer Status Scan Rate (millisec)
Number
5
The buffer status is checked at the specified rate value in milliseconds.
Was this helpful?