![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
#12
| |||
| |||
|
|
On Sun, 20 May 2007 12:10:51 -0700, hasta_l3 wrote: Hmm.. Not sure what you mean here, Mladen. Memory-mapped files can be used to share memory between processes. Moreover, memory mapped files are not shared in real time. For the change to be visible by other processes, it has first to be flushed to the disk. This type of sharing is completely inadequate. |
|
What is needed are standard IPC primitives, not supported by windows. |
|
That is why Oracle has multi-threaded architecture on Windows, as opposed to the independent processes everywhere else. |
#13
| ||||
| ||||
|
|
" With one important exception, file views derived from a single file mapping object are coherent or identical at a specific time. If multiple processes have handles of the same file mapping object, they see a coherent view of the data when they map a view of the file." (http://msdn2.microsoft.com/en-us/library/ aa366537.aspx) |
|
Recall that mapped files are backed up in virtual memory. You need to flush if you want to update the underlying file. But people using mapped files for shared |
|
memory usually dont even have such a file (you can map directly the paging file) This said, I would really *love* to be shown wrong... What is needed are standard IPC primitives, not supported by windows. Which primitive do you feel is missing ? |
|
ATTRIBUTE TYPE | ATTRIBUTE VALUE | _____________________________|____________________ _________| Availability | SUNWipc (32-bit) | _____________________________|____________________ _________| | SUNWipcx (64-bit) | _____________________________|____________________ _________| |
#14
| |||
| |||
|
|
On Mon, 21 May 2007 10:21:40 -0700, hasta_l3 wrote: " With one important exception, file views derived from a single file mapping object are coherent or identical at a specific time. If multiple processes have handles of the same file mapping object, they see a coherent view of the data when they map a view of the file." (http://msdn2.microsoft.com/en-us/library/ aa366537.aspx) What is a "coherent view"? Does it reflect any changes to the mapped area immediately? |
|
My information tells me that it is not the case. |
|
Which primitive do you feel is missing ? Standard IPC primitivies. Look into manual pages under IPC: shmat, shmget,shmop,shmctl, semget,semop and all the rest: |
#15
| |||
| |||
|
|
Unfortunatly, I dont know unix... Windows synchronization objects include events, semaphores and mutexes, which can be used across processes. |
#16
| |||
| |||
|
|
I would have thought that this would be a common thing to do and thus would have a solution that was well known among the database community - so I am just looking for some help\guidance. Actually switching data servers is not common at all. |
#17
| |||
| |||
|
|
goooooglegro... (AT) yahoo (DOT) com wrote: I would have thought that this would be a common thing to do and thus would have a solution that was well known among the database community - so I am just looking for some help\guidance. Actually switching data servers is not common at all. One thumb rule that some go by is that any decision on a DBMS for a given app remains in place for seven years (one may argue the exact number but long by software standards it is). |
|
After those seven years the app is reasonably dependent on the DBMS and any change is quite expensive. Hence you see some interesting vendors popping up like Ants (Sybase -> Oracle)or EDB (Oracle -> Postgress). The regulars in this group will be the first to tell you that an app should exploit the DBMS intricacies to the fullest.... |
#18
| |||
| |||
|
|
I got an unsolicited PDP job email yesterday |
#19
| |||
| |||
|
|
On Tue, 22 May 2007 11:11:09 -0700, joel garry wrote: I got an unsolicited PDP job email yesterday PDP? Like PDP-11, RSX, KED and alike? Somebody is still using that? It looks like the old computers never die. They live forever in our nightmares. Don't get me wrong, I spent significant part of my career being a VAX/VMS system administrator and, as a student, I was using FORTRAN and PASCAL compilers on PDP-11. We had some fun with the DEFINE FILE command and old RZ drives but I am now 46 years old, quarter of a century after the last use of an RSX box that I can remember. Anyone who has kept these boxes in a corporate IT after all these years deserves to be shot, regardless of my nostalgia and Peter Pan complex. --http://www.mladen-gogala.com |
#20
| |||
| |||
|
|
On Tue, 22 May 2007 11:11:09 -0700, joel garry wrote: I got an unsolicited PDP job email yesterday PDP? Like PDP-11, RSX, KED and alike? Somebody is still using that? It looks like the old computers never die. They live forever in our nightmares. Don't get me wrong, I spent significant part of my career being a VAX/VMS system administrator and, as a student, I was using FORTRAN and PASCAL compilers on PDP-11. We had some fun with the DEFINE FILE command and old RZ drives but I am now 46 years old, quarter of a century after the last use of an RSX box that I can remember. Anyone who has kept these boxes in a corporate IT after all these years deserves to be shot, regardless of my nostalgia and Peter Pan complex. --http://www.mladen-gogala.com |
![]() |
| Thread Tools | |
| Display Modes | |
| |