|
I want to log visits to my website with a high visits rate to file. How much writes to log file can I perform per second?
Started by Ilya on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
The number of possible writes is governed write 40 MB/s and your log file ....
Problems would arise when you overwrite data question is impossible to answer in all other respects .
Files, write to them, close them, so on and so forth.
|
|
I am having a C# console application access files over a network and write to it. I noticed that some files have been corrupted and have only null written to them. I did not get any exceptions. I am using simple code that writes a byte array to the file...
Started by Srijanani on
, 5 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
I'd start by changing the code....
My guess is that an exception is getting lost in the downstream code with the FileStream object is destroyed .
That's a new one.
Make sure to call FileStream.Flush() where appropriate.
Make sure you're closing the file.
|
|
Hello, I wanted to ask if it is possible to redirect writes to a specific file, to a memory stream in my application so I can immediately read it. If it is possible please explain how to do so.
Thanks.
Started by rbns on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Update: I see from your.
What you need is a stream which writes to a file as well as to another stream which you to (for example, a subclass of MemoryStream with an overridden Write method).
|
Ask your Facebook Friends
|
I have a project which is going to be write-heavy rather than read-heavy. I was wondering if anyone had any suggestions for open source DBMS setups which are quick at writes?
It doesn't necessarily have to be a relational DBMS either; I'm open to suggestions...
Started by ChrisInCambo on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
If not, without more specific informations....
If I need.
If I need to write 1 billion objects a day, I’d probably use Voldemort.
MongoDB probably use Mongo.
Don't want to calculate parity check everytime DBMS write something into the disk.
|
|
Hi
I have an Oracle PL / SQL script. It processes about 51 millon registers, and writes results to 5 different tables.
The problem is that I left the process running last night, and apparently there was an overflow in the UNDO logs.
Particularly, we are...
Started by Tom on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
If you perform a COMMIT after each smaller batch (which you would do anyway as you say that you're not going to rollback... .
Try to split it up into smaller chunks of a few thousands for example .
You should not process the 51 million registers in only one batch .
|
|
I am a big fan of agile software development which include code-reviews,testing extensively. But my question who should be ACTUALLY TESTING the code. Is it the developer, who wrote it from scratch and who by the way writes test cases(just like me) for...
Started by Maddy on
, 11 posts
by 11 people.
Answer Snippets (Read the full thread at stackoverflow):
Developers need to pitch in to write the glue code.
People (as far as possible) with help from QA personnel .
Then it should be the developer who writes the tests and the implementation to make them pass.
|
|
Please excuse my ignorance. I'm dabbling in PHP and getting my feet wet browsing SO, and feel compelled to ask a question that I've been wondering about for years:
When you write an entirely new programming language, what do you write it in?
This probably...
Started by Andrew Heath on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
If you're starting from scratch on a new platform....
If you can read/write files, your programming language will probably suffice.
There's nothing that prevents you machine code.
.)
Actually you can write in almost any language you like to.
|
|
My syslog configuration (the default CentOS 5.3 configuration) writes out time stamps that look like
Jan 1 00:00:00 message
I would like the timestamp to contain the year. Preferably it would look like
2010-01-01 00:00:00. message
Is there any way to ...
Started by Chas. Owens on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
Syslog-ng Mailing List documenting templates
CentOS 5.4 uses sysklogd by default, syslog-ng is not provided... .
What version of syslog does CentOS use?
Syslog-NG will let you change the template to use $FULLDATE or $ISODATE which seems to do what you want .
|
|
What is the best compression algorithm that allows random reads/writes in a file?
I know that any adaptive compression algorithms would be out of the question.
And I know huffman encoding would be out of the question.
Does anyone have a better compression...
Started by Brian R. Bondy on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
You have to deal turning on file system compression for your files... .
Things get complicated when you want to be able to write to the compressed file.
I don't know of any compression algorithm that allows random reads, never mind random writes.
|
|
I have a program that reads and writes very large text files. However, because of the format of these files (they are ASCII representations of what should have been binary data), these files are actually very easily compressed. For example, some of these...
Started by A. Rex on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Do you know if your applications needs to seek through the file ?
Does your application work with stdin, stdout ?
... .
Named pipes won't give you full duplex operations, so it will be a little bit more complicated if you need to provide just one filename .
|