This is known as the IPLS, or In-Process Lock Server. This is shipped with IG 2.1, but it is not intended for production use.
There is really only one pro for this. Performance. Moving the lock server internally to a process removes the network layer, and, therefore, makes it faster.
The #1 con that makes this option infeasible is that it requires a highly specialized use case. The application with the IPLS can be the only application accessing the graph database. Basically, removing the network layer also removes the capability for anything else to access your database. This includes database tools, as well. So, you would have to control the access to the database. Obviously, this isn't conducive to a highly distributed graph architecture, where, most likely, there are multiple applications accessing the graph.
The other cons would be increased application size and complexity. Due to the fact that this was not intended for production use, it wasn't really considered as a part of the API. As such, I highly suggest consulting with one our Field Systems Engineers to help you implement this, if you really feel that this is the correct path for you IG application.
Let me know if this answers your questions, or if there is anything else that we can do to help.
From: email@example.com [mailto:firstname.lastname@example.org] On Behalf Of Chris Powell
Sent: Tuesday, July 17, 2012 10:24 AM
Subject: [InfiniteGraph] Embedded lock server
Objectivity/DB has an option for a single multi-threaded app to run its own embedded lock server. Does IG have this option? If so, what are the pros and cons of an embedded lock server?
You received this message because you are subscribed to the Google Groups "InfiniteGraph Developer Forum" group.
To view this discussion on the web visit https://groups.google.com/d/msg/infinitegraph/-/EYdvlnF2BJAJ.
To post to this group, send email to email@example.com<mailto:firstname.lastname@example.org>.
To unsubscribe from this group, send email to email@example.com<mailto:infinitegraph+unsubscribe @googlegroups.com>.
For more options, visit this group at http://groups.google.com/group/infinitegraph?hl=en.