Re: Sharing vars across httpds

2000-11-08 Thread Greg Cope
Perrin Harkins wrote: On Mon, 6 Nov 2000, Differentiated Software Solutions Pvt. Ltd wrote: We want to share a variable across different httpd processes. Our requirement is as follows : 1. We want to define one variable (which is a large hash). 2. Every httpd should be able to access

Re: Sharing vars across httpds

2000-11-08 Thread Perrin Harkins
Greg Cope wrote: Have you benchmarked this vs IPC::ShareLite ? Sorry, I don't have numbers for ShareLite vs. files. However, this is from DeWitt Clinton's File::Cache module docs: File::Cache implements an object store where data is persisted across processes in the filesystem. It was

Sharing vars across httpds

2000-11-06 Thread Differentiated Software Solutions Pvt. Ltd
Hi, We want to share a variable across different httpd processes. Our requirement is as follows : 1. We want to define one variable (which is a large hash). 2. Every httpd should be able to access this variable (read-only). 3. Periodically (every hour) we would like to have another

Re: Sharing vars across httpds

2000-11-06 Thread Steven Cotton
On Mon, 6 Nov 2000, Differentiated Software Solutions Pvt. Ltd wrote: Hi, We want to share a variable across different httpd processes. Our requirement is as follows : Look at the IPC::* modules, IPC::ShareLite will do exactly what you need. -- steven

Re: Sharing vars across httpds

2000-11-06 Thread Perrin Harkins
On Mon, 6 Nov 2000, Differentiated Software Solutions Pvt. Ltd wrote: We want to share a variable across different httpd processes. Our requirement is as follows : 1. We want to define one variable (which is a large hash). 2. Every httpd should be able to access this variable (read-only).