141 reputation
5
bio website nitecon.com
location Virginia
age 34
visits member for 1 year, 10 months
seen Aug 1 at 3:27

I've been programming since I was 7 years old, the first computer I ever owned was an XT with 640k memory, I'm one of the lucky few people that learned how to program with extremely little memory on a machine and understand the true importance of cleaning up your code.

For those that think they know everything about the language your using... Learn assembly and some soft stream electronics, understanding the lowest level stuff will make you surprisingly better than you think you would ever be.


Jun
13
comment Bidirectional mirroring of 2 directories
Took a look at FS cache however there is this limitation based on the docs which will cause failures for us as parts of the application does direct io 10.3.2. Cache Limitations With NFS Opening a file from a shared file system for direct I/O will automatically bypass the cache. Based on the above documentation we will be SOL when the NFS mount is dead regardless so I think my async method would be the safest regardless
Jun
13
comment Bidirectional mirroring of 2 directories
Thanks @jeffatrackaid I'll take a look at it. I still think there is some use into what my app will eventually do. And yes you are correct on what I'm trying to do with the filesystem replication.
Jun
13
comment Bidirectional mirroring of 2 directories
That way if for instance the NFS mount goes down the daemon doesn't just wipe the entire doc root since the path is empty it waits for it to come back or notifies the owner of outage and just idles until fixed.
Jun
13
comment Bidirectional mirroring of 2 directories
We have a huge amount of writes as some cached files are written locally to the filesystem where there is no memcached available which is why NFS mounts are not an option, the other issue with a mount is potential issue with network if the network is down then so is the filesystem which is very problematic so a local sync between 2 directories is much better. I'm actually starting to work on a c++ app to do just that, do checksums between files and look at inotify for changes. If the one directory becomes fully empty notify of the issue if needed etc.
Jun
13
asked Bidirectional mirroring of 2 directories
Dec
13
awarded  Supporter
Nov
6
awarded  Teacher
Nov
6
answered Ubuntu server failing daily
Nov
4
comment Apache2 URL Rewrite - Second-Level-Domain to the end of URL
Updated my original answer to add the additional rewrite condition to exclude a specific host. That way the rule will check first to make sure it doesn't rewrite the base domain, if it's not the base domain then rewrite... base domain being (www\.)?example.com
Nov
4
revised Apache2 URL Rewrite - Second-Level-Domain to the end of URL
added 467 characters in body
Oct
24
answered Apache2 URL Rewrite - Second-Level-Domain to the end of URL
Oct
22
awarded  Student
Oct
22
awarded  Editor
Oct
22
revised Nginx / PHP-FPM setting 404 / 5xx on externals
deleted 3 characters in body
Oct
22
asked Nginx / PHP-FPM setting 404 / 5xx on externals
Oct
22
awarded  Autobiographer