Romiko,
I would suggest to do the TX log config via Gremlin for the time
being, so you can resolve it via scripting. For the exposure of the Tx
log rotate size as a configuration property (there are logs for every
XA resource participating in a transaction), please raise an issue at
https://github.com/neo4j/community/issues - good input!

For the flushing to disk, we will merge a Deferred Write feature back
into master soonish (after 1.5) which lets the OS decide when to
flush, if you can stand the risk of a lost flush if things go down.
The REST interface is waiting for the TX to be finished, which is why
it is slowing down when you have big flushes. See
https://github.com/neo4j/community/issues/18 for the ticket on this :)

Would that be ok?

Cheers,

/peter neubauer

GTalk:      neubauer.peter
Skype       peter.neubauer
Phone       +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter      http://twitter.com/peterneubauer

http://www.neo4j.org               - Your high performance graph database.
http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



On Thu, Sep 22, 2011 at 1:52 PM, Romiko Derbynew
<romiko.derby...@readify.net> wrote:
> Hi,
>
> It's the database logging, I'm finding the transaction logs are causing the 
> rest API to become unresponsive when it flushes to disk. Basically just want 
> to turn it off or set the tlog size by configuration and not via code sample 
> as it is demonstrated in the performance guide.
>
> The current work around without this setting is a circuit breaker pattern. 
> But I am very concerned as the DB flush should not slow down further rest 
> calls :(
>
> Sent from my iPhone
>
> On 22/09/2011, at 6:36 PM, "Peter Neubauer" 
> <peter.neuba...@neotechnology.com> wrote:
>
>> Romiko,
>> which log files are you referring to? For the database transaction log
>> rotation, look at the neo4j.properties file to tune things, see
>> http://docs.neo4j.org/chunked/snapshot/server-configuration.html
>>
>> For the server, there is logging.properties to tweak stuff. Note that
>> these settings require a restart to take effect.
>>
>> HTH
>>
>> Cheers,
>>
>> /peter neubauer
>>
>> GTalk:      neubauer.peter
>> Skype       peter.neubauer
>> Phone       +46 704 106975
>> LinkedIn   http://www.linkedin.com/in/neubauer
>> Twitter      http://twitter.com/peterneubauer
>>
>> http://www.neo4j.org               - Your high performance graph database.
>> http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
>> http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.
>>
>>
>>
>> On Thu, Sep 22, 2011 at 1:38 AM, Romiko Derbynew
>> <romiko.derby...@readify.net> wrote:
>>> Hi,
>>>
>>> I am using Neo4j on a Windows Server, is there any way I can configure log 
>>> rotation via the configuration files? I would like to turn it off or try a 
>>> different log rotation size. Since I am on windows, I am not sure how I 
>>> would do it at runtime.
>>>
>>> Thanks!
>>> _______________________________________________
>>> Neo4j mailing list
>>> User@lists.neo4j.org
>>> https://lists.neo4j.org/mailman/listinfo/user
>>>
>> _______________________________________________
>> Neo4j mailing list
>> User@lists.neo4j.org
>> https://lists.neo4j.org/mailman/listinfo/user
>>
> _______________________________________________
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to