http://blog.neo4j.org/2012/04/streaming-rest-api-interview-with.html
And feel free to feedback on how we can make things even faster. Thank
you Michael and Jake for working on these areas!
Cheers,
/peter neubauer
G: neubauer.peter
S: peter.neubauer
P: +46 704 106975
L: http://www.linkedin.com/in/neubauer
T: @peterneubauer
If you can write, you can code - @coderdojomalmo
If you can sketch, you can use a graph database - @neo4j
--
Javier de la Rosa
http://versae.es
> Are the extension points (managed and unmanaged plugins) going to remain the same for server-side developers?
Yes they stay the same, people should take care to return Iterables and also use ListRepresentation(type, iterable) to benefit from streaming.
>
> Will the streaming features be available automatically for managed extensions?
Yes, see above.
>
> Also: it's be nice if clients could choose whether they want streamed responses using the TE request header paired with the corresponding Transport-Encoding response header (as Michael and I have discussed offlist).
Right that will be changed after we figured out how exactly to do it.
http://hg.readify.net/neo4jclient/changeset/1806f2373fc1
http://nuget.org/packages/Neo4jClient/1.0.0.330
(Note: version comparisons don't work against snapshots because the root endpoint doesn't give us sufficient information, thus this will only kick in once the milestone drops.)
-- Tatham
Thanks a lot Tatham!
Can you see any performance improvements yet?
I pushed another change last night (json-utf8-generator-buffer tuning) which added another 20%.
Michael
> The .NET Neo4jClient library will now automatically upgrade to streaming when connecting to 1.8+:
This raises a question: should Neo4J Server clients use version numbers to detect
features like this? I'd be happy to add this to Neocons [1] soon but not entirely sure if it is a good idea
to use version-based capabilities detection.
Can capabilities like this be exposed with extensions information during discovery? What do Neo4J engineers think?
1. https://github.com/michaelklishin/neocons
MK
http://docs.neo4j.org/chunked/1.7/rest-api-service-root.html#rest-api-get-service-root
versus SNAPSHOT
http://docs.neo4j.org/chunked/snapshot/rest-api-service-root.html#rest-api-get-service-root
So I think this is possible ...
Cheers,
/peter neubauer
G: neubauer.peter
S: peter.neubauer
P: +46 704 106975
L: http://www.linkedin.com/in/neubauer
T: @peterneubauer
If you can write, you can code - @coderdojomalmo
If you can sketch, you can use a graph database - @neo4j
Cypher itself is able to handle versions by prefixing them.
The other features of the server have (so far) been tied to a version but might be interesting to add an explicit feature-descriptor to the root resource.
Michael
I just made sure that the library could still talk to the server ok; I haven't done any performance tests as yet.