Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Bad Idea? Questions of performance issues, file locking, and GPG

by BrowserUk (Patriarch)
on Apr 12, 2006 at 16:18 UTC ( [id://542870]=note: print w/replies, xml ) Need Help??


in reply to Bad Idea? Questions of performance issues, file locking, and GPG

There will probably be better suggestions from the guys here with web experience, but it strikes me that you are tackling this, or rather you have been asked to tackle this at the wrong end.

Rather than changing the data collection end, which already works, and getting into locking and all the stuff, it would be much simpler to utilise the natural and effective serialisation that the email queueing does for you. Leave the current mechanism in place and write a script to service the email account via pop3 or whatever, and place the data into the flatfile with whatever encryption is appropriate.

Depending on your version of windows, you could probably just set the encryption property on the flatfile, run the email to flatfile perl program under a secure account and the system would take care of encrypting it for you.

If the flatfile to Access program is run under that same account, the decryption will be taken care of transparently also.

Just a notion.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re: Bad Idea? Questions of performance issues, file locking, and GPG

Replies are listed 'Best First'.
Re^2: Bad Idea? Questions of performance issues, file locking, and GPG
by hmbscully (Scribe) on Apr 12, 2006 at 16:26 UTC
    I like the idea, but what I failed to mention is that the email data collection actually doesn't work all the time. We lose hundreds of messages in gaps from time to time in some problem that IT has never been able to fix. This is part of the push to go to a flatfile only system and get out of the email business.

      Is this in a LAN or WAN or internet connected environment?


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://542870]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-24 03:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found