[Making Logs]MySQL vs Text Files for Performance
#5

Personally, I use SQLite with synchronous OFF.

It's fast enough and allows me to add more metadata such as categories and tags.

The main issue with fwrite is that the I/O is blocking. Creating a string with date/time or casting a string to a C-string is negligible, and changing your code just because of that is bad practice.
Reply


Messages In This Thread
[Making Logs]MySQL vs Text Files for Performance - by Yashas - 14.02.2016, 08:04
Re: [Making Logs]MySQL vs Text Files for Performance - by ]Rafaellos[ - 14.02.2016, 08:12
Re: [Making Logs]MySQL vs Text Files for Performance - by maddinat0r - 14.02.2016, 08:56
Re: [Making Logs]MySQL vs Text Files for Performance - by AmigaBlizzard - 14.02.2016, 10:28
Re: [Making Logs]MySQL vs Text Files for Performance - by Slice - 14.02.2016, 13:10

Forum Jump:


Users browsing this thread: 1 Guest(s)