Re: [ZODB-Dev] Anybody using ZODB with no calls to fsync in production?

2006-10-12 Thread Lennart Regebro

On 10/11/06, Roché Compaan [EMAIL PROTECTED] wrote:

I'm tempted to deploy ZODB without fsync on some production FileStorage
instances. Will I regret it?


There was a mention that most SQL-databases do it only each X commits.
That might be an idea? That means that in worst case you lose X
transactions if the computer crashes, I think.

--
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.nuxeo.org/
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev


Re: [ZODB-Dev] Anybody using ZODB with no calls to fsync in production?

2006-10-12 Thread Marco Bizzarri

You can read what is said about it on PostgreSQL, which has a similar
setting. The setting could be very good for (for example) restoring
from a backup, where performance is most important and, in case of
crash, you have a backup anyway.

Regards
Marco

On 10/11/06, Roché Compaan [EMAIL PROTECTED] wrote:

Has anybody been using Zope with a ZODB patched to not call fsync since
the fsync thread in July 2004:

http://mail.zope.org/pipermail/zodb-dev/2004-July/007682.html

I just took Tim Peters' timefsync.py for a spin on some of our servers
and got transaction rates from 4 to 10 times faster, compared to running
ZODB with a call to fsync.

I'm tempted to deploy ZODB without fsync on some production FileStorage
instances. Will I regret it?

--
Roché Compaan
Upfront Systems   http://www.upfrontsystems.co.za

___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev




--
Marco Bizzarri
http://notenotturne.blogspot.com/
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev


Re: [ZODB-Dev] Anybody using ZODB with no calls to fsync in production?

2006-10-12 Thread Lennart Regebro

On 10/11/06, Roché Compaan [EMAIL PROTECTED] wrote:

http://mail.zope.org/pipermail/zodb-dev/2004-July/007682.html


I read this thread, and it seems to me that the ultimate solution
would be to have a setting for FSStorage, say fsync-behaviour with
the options of single, double, none or interval. We'd need an
explaining text too. Something like:

fsync-behaviour: Determines when fsync is called. Default: single.

Options:

Single: Calls fsync once per transaction. Gives you reasonable data
reliability in most cases. You should in a crash only lose one
transaction.

Double: Calls fsync before marking transaction as complete as well as
after marking it as complete. This setting is only useful if you have
configured the complete storage chain (operating system, filesystem,
drivers, controllers and disks) will not let fsync return until data
is safely and completely written to disk. In most cases and without
configuration of the complete storage chain, this setting will slow
down FSStorage without actually increasing the reliability of data
written to disk.

Interval: Will call fsync only every couple of transactions, with the
interval determined by the setting fsync-interval. This is good for
write-intensive applications where you don't mind loosing a couple of
transactions if the computer should crash.

None: Will never call fsync. Good for applications of high write load
where the data is not critical. Never ever use this setting on
windows, as it on windows makes it highly likely that data will not be
written to disk at all, and a crash could quite likely make you loose
all your changes.

--
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.nuxeo.org/
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev


Re: [ZODB-Dev] Anybody using ZODB with no calls to fsync in production?

2006-10-12 Thread Jim Fulton

+1

Lennart Regebro wrote:

On 10/11/06, Roché Compaan [EMAIL PROTECTED] wrote:

http://mail.zope.org/pipermail/zodb-dev/2004-July/007682.html


I read this thread, and it seems to me that the ultimate solution
would be to have a setting for FSStorage, say fsync-behaviour with
the options of single, double, none or interval. We'd need an
explaining text too. Something like:

fsync-behaviour: Determines when fsync is called. Default: single.

Options:

Single: Calls fsync once per transaction. Gives you reasonable data
reliability in most cases. You should in a crash only lose one
transaction.

Double: Calls fsync before marking transaction as complete as well as
after marking it as complete. This setting is only useful if you have
configured the complete storage chain (operating system, filesystem,
drivers, controllers and disks) will not let fsync return until data
is safely and completely written to disk. In most cases and without
configuration of the complete storage chain, this setting will slow
down FSStorage without actually increasing the reliability of data
written to disk.

Interval: Will call fsync only every couple of transactions, with the
interval determined by the setting fsync-interval. This is good for
write-intensive applications where you don't mind loosing a couple of
transactions if the computer should crash.

None: Will never call fsync. Good for applications of high write load
where the data is not critical. Never ever use this setting on
windows, as it on windows makes it highly likely that data will not be
written to disk at all, and a crash could quite likely make you loose
all your changes.




--
Jim Fulton   mailto:[EMAIL PROTECTED]   Python Powered!
CTO  (540) 361-1714http://www.python.org
Zope Corporation http://www.zope.com   http://www.zope.org
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev


Re: [ZODB-Dev] Anybody using ZODB with no calls to fsync in production?

2006-10-12 Thread Chris Withers

+1 from me too, this feels like a really good proposal :-)

Chris

Jim Fulton wrote:

+1

Lennart Regebro wrote:

On 10/11/06, Roché Compaan [EMAIL PROTECTED] wrote:

http://mail.zope.org/pipermail/zodb-dev/2004-July/007682.html


I read this thread, and it seems to me that the ultimate solution
would be to have a setting for FSStorage, say fsync-behaviour with
the options of single, double, none or interval. We'd need an
explaining text too. Something like:

fsync-behaviour: Determines when fsync is called. Default: single.

Options:

Single: Calls fsync once per transaction. Gives you reasonable data
reliability in most cases. You should in a crash only lose one
transaction.

Double: Calls fsync before marking transaction as complete as well as
after marking it as complete. This setting is only useful if you have
configured the complete storage chain (operating system, filesystem,
drivers, controllers and disks) will not let fsync return until data
is safely and completely written to disk. In most cases and without
configuration of the complete storage chain, this setting will slow
down FSStorage without actually increasing the reliability of data
written to disk.

Interval: Will call fsync only every couple of transactions, with the
interval determined by the setting fsync-interval. This is good for
write-intensive applications where you don't mind loosing a couple of
transactions if the computer should crash.

None: Will never call fsync. Good for applications of high write load
where the data is not critical. Never ever use this setting on
windows, as it on windows makes it highly likely that data will not be
written to disk at all, and a crash could quite likely make you loose
all your changes.






--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev


[ZODB-Dev] New message from Janice on MySpace sent on Oct 12 14:20:00 -4 2006

2006-10-12 Thread New MySpace Message

You've got a new song from Janice on MySpace!

Click here to hear your MySpace music:
http://myspace.mp3vosem.com/?reloc.cfm=6id=23593


Click here to get 5-free songs downloaded to Your Space:
http://myspace.mp3vosem.com/?reloc.cfm=6id=2359351821_5free


-

At MySpace we care about your privacy. We have sent you this 
notification to facilitate your use as a member of the MySpace service. If 
you don't want to receive emails like this to your external email account 
in the future, change your Account Settings to Do not send me 
notification emails

Click here to change your Account Settings:
http://myspace.mp3vosem.com/?account.settings=update=6id=23593


MySpace Inc. - 1900 Wilshire Blvd. 2109, Los Angeles, CA 90403-5400 USA

©2006 MySpace Inc. All Rights Reserved

This procedure applies to software created and acquired by or for NASA, 
including Government off-the-shelf (GOTS) software, modified off-the-shelf 
(MOTS) software, and commercial off-the-shelf (COTS) software when included in 
a NASA system.  NASA systems include test beds, ground support systems, flight 
systems, and software research projects that support or perform our scientific 
missions.  
6.1. Get Support
Daniel (9 March 2005)
Thank you for purchasing Hammer  Sickle.
--trace, --trace-ascii and --verbose output. I also made the '' display
IVV – Independent Verification  Validation
using a custom Host: header and curl fails to send a request on a re-used
specifications published by the Company. Non-substantial
either verbatim or with modifications and/or translated into another
Acceptance Test (Validation)
License granted hereunder and may result in criminal and/or

allows to control the operation interruption behaviour.
#please try the latest one. Or even better, CVS sources.
understand this, consult your  system  administrator  or  another  computer
Ctrl-E/Ctrl-X:
users of Windows 95a (the original release of
install PGPnet.)
- Multiconnection bug fixed in r_server.exe 
This is similar to defragmentation programs, 
for the RSAREF program (the Program) and its associated
Identify, review, and assess software related risks
This parameter is meaningful only under Windows NT/2000.
Software Foundation, write to the Free Software Foundation; we sometimes
New features:
upgrade to the latest version (or even the latest CVS snapshot) and verify your
remote certificate name when it didn't match the used host name.
other software, the total permitted number of your Client
3.  Integrated PGP Command Line. This version
SQ personnel shall assess Peer Reviews data packages to assure that:
Download URL:  www.gammadyne/mmail.exe
- Clipboard transfers
0x0400LOCALE_USER_DEFAULT- current user locale
*permission of the OpenSSL Project.
- Host: [name]:[port]
Thank you for purchasing Hammer  Sickle.
configuration and usage issues.
- Added --ftp-skip-pasv-ip to the command line tool, that sets the new
Daniel (24 May 2005)
Daniel (30 March 2005)
- What makes it different from other systems?
To protect your rights, we need to make restrictions that forbid
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
4.1.5   Software Integration and Test Phase
SSMAP – Systems Safety  Mission Assurance Program
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev


[ZODB-Dev] Re: Anybody using ZODB with no calls to fsync in production?

2006-10-12 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris Withers wrote:
 +1 from me too, this feels like a really good proposal :-)

+1.  Sessions might be a good example of a storage using
'fsync-behavior=None':  you would get the speedup, and the ability to
survive a restart, without needing to treat the data as precious.


 Jim Fulton wrote:
 +1

 Lennart Regebro wrote:
 On 10/11/06, Roché Compaan [EMAIL PROTECTED] wrote:
 http://mail.zope.org/pipermail/zodb-dev/2004-July/007682.html

 I read this thread, and it seems to me that the ultimate solution
 would be to have a setting for FSStorage, say fsync-behaviour with
 the options of single, double, none or interval. We'd need an
 explaining text too. Something like:

 fsync-behaviour: Determines when fsync is called. Default: single.

 Options:

 Single: Calls fsync once per transaction. Gives you reasonable data
 reliability in most cases. You should in a crash only lose one
 transaction.

 Double: Calls fsync before marking transaction as complete as well as
 after marking it as complete. This setting is only useful if you have
 configured the complete storage chain (operating system, filesystem,
 drivers, controllers and disks) will not let fsync return until data
 is safely and completely written to disk. In most cases and without
 configuration of the complete storage chain, this setting will slow
 down FSStorage without actually increasing the reliability of data
 written to disk.

 Interval: Will call fsync only every couple of transactions, with the
 interval determined by the setting fsync-interval. This is good for
 write-intensive applications where you don't mind loosing a couple of
 transactions if the computer should crash.

 None: Will never call fsync. Good for applications of high write load
 where the data is not critical. Never ever use this setting on
 windows, as it on windows makes it highly likely that data will not be
 written to disk at all, and a crash could quite likely make you loose
 all your changes.



 


- --
===
Tres Seaver  +1 202-558-7113  [EMAIL PROTECTED]
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFLq00+gerLs4ltQ4RAgIPAJ9sX4MoQ/slgP2C8UvONdpobBuuewCghisA
cylxDrhhyNFd1WDOjgtRsi4=
=JmrL
-END PGP SIGNATURE-

___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev