126 reputation
2
bio website 3D-Avatar-Store.com
location Los Angeles, CA
age 49
visits member for 1 year, 7 months
seen Mar 18 at 16:25

Mad Computer Scientist behind www.3D-Avatar-Store.com.


Jan
10
comment Getting hardware accelerated graphics on a headless Windows Server 2008 R2
They are proprietary neural nets written by a business partner. They do computer vision and 3D reconstruction operations.
Dec
16
comment Windows Server 2008 R2: How to force writing of a file to disk, past any disk cache, so other processes reading the file get its entire contents?
@Greg: from the client's API view: 1st they Create the resource, causing the 3rd party tool to generate the file. After the file's created, its copied to the fileShare, and then the client's original Create request returns success. Then the client starts making API requests for files, and one of them (the largest one at 1M in size) has this issue of returning incomplete file data. This troublesome file is not the first one retrieved, it's 3rd, so it's getting requested probably 500 milliseconds after it's expected on disk, and after 2 freshly-written (smaller) siblings are successfully read.
Dec
16
comment Windows Server 2008 R2: How to force writing of a file to disk, past any disk cache, so other processes reading the file get its entire contents?
@Greg: The Windows 2008 Server creates the file, stores it locally, and then copies that local version to a fileShare. The fileShare is centos6, but beyond that I'd have to ask others to get more info on the fileShare. The specific passing of logic control goes Apache/PHP/Drupal -> C++ host -> 3rd party logic creates file -> C++ host -> Apache/PHP/Drupal. I'm in control at the "Apache/PHP/Drupal" and "C++ host" levels, but not at the level that creates the file. The fileSharing logic occurs at the 2nd Apache/PHP/Drupal phase, just before reading the file for transmission to the client.
Dec
15
comment Windows Server 2008 R2: How to force writing of a file to disk, past any disk cache, so other processes reading the file get its entire contents?
@Greg: currently, this logic runs after the file in question has already been copied to a fileShare for other load balanced servers to reach. I'm currently monitoring the system with 1 server, so no load balancing takes place. Yet this issue occurs after said file is copied to the fileShare. Tests show the fileShare version is complete. I guess I could try logic that if my loaded-file-size test fails, try loading from fileShare. This only happens 1% of the time anyway. Worth a try...
Dec
15
comment Windows Server 2008 R2: How to force writing of a file to disk, past any disk cache, so other processes reading the file get its entire contents?
@Greg: Well, of course I need to wait or do something to insure I deliver the entire file to the client. I guess I could sleep for a bit, but it sure would be nice to just flush the disk caches... The odd thing here is I have another portion of the same API which zips all the files that resource's assorted GETs deliver (8 files) into a single 10 meg file. That one delivers without issue... but it maybe because I create that zip with PHP in the webAPI framework, not with external C++ processes.