You might find this link informative, it addresses many scalability issues.
A key quote, that gets to your question:
Neo4j is currently not suitable for storing BLOBs/CLOBs. Nodes, relationships, and properties are not co-located on disk. This might be introduced in the future.
Now, you can use setProperty
on a node to store a byte[]
or a String
, so in this sense you can store arbitrary binary objects or Strings.
But storing very large objects like that above a certain size probably wouldn't be a very good idea. What's that size threshold? Unfortunately I don't know. Someone else may jump in with some advice or guidance there. Presumably, at some point performance may begin to degrade in some way, and of course just to set the property, the object in question would have to fit into memory.