Hi James,

Neo4j-python uses the Neo4j Embedding capabilities. This means that there is
no such thing as a connection, and thus nothing to pool.
You definitely don't want to startup and shut down the database for each
request. What you want to do is tie the lifecycle of Neo4j to the lifecycle
of your application.
The fact that Neo4j-python embeds Neo4j has one drawback though. It limits
you to only being able to use the Neo4j database from one process.
This is a shortcoming we intend to solve in Q1 of 2011.

Cheers,
Tobias

On Tue, Dec 21, 2010 at 7:43 PM, James Thornton <[email protected]>wrote:

> Hello -
>
> How do you set up a connection pool in neo4j-python? -- I am new to
> neo4. I am working on setting up neo4j-python in Pyramid (the new
> Pylons), and I don't want to build up and tear down DB connections
> each time.
>
> Thank you.
>
> James
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
>



-- 
Tobias Ivarsson <[email protected]>
Hacker, Neo Technology
www.neotechnology.com
Cellphone: +46 706 534857
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to