Re: PG in cash till machines

From: Merlin Moncure <mmoncure(at)gmail(dot)com>
To: Carlos Henrique Reimer <carlos(dot)reimer(at)opendb(dot)com(dot)br>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: PG in cash till machines
Date: 2013-05-10 13:55:16
Message-ID: CAHyXU0yu_C1CLz-C2ur00JkH3qmrVqumT8XNnS03J8o-oEOA4A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, May 10, 2013 at 8:43 AM, Carlos Henrique Reimer
<carlos(dot)reimer(at)opendb(dot)com(dot)br> wrote:
> Hi,
>
> We are developing a solution which will run in thousands of small cash till
> machines running Linux and we would like to use PostgreSQL but there is a
> insecurity feeling regarding the solution basically because these boxes
> would be exposed to an insecure environment and insecure procedures like:
> non controlled power outages, untrusted hardware, no appropriate environment
> for hardware (dusty, hot) etc...
>
> Our major concern is related to the write-back issues we can face in this
> environment. Is there a way to prevent it or a way PG can be configured to
> detect write-back configurations? Don't think so, but...

This is not the job of postgres, but of the operating system (and
possibly various hardware attached to the server). In practice, it's
very possible to configure things so that a full flush all the way to
physical storage is guaranteed -- in fact that's the default behavior
for many configurations. So this part, at least, is trivially done.

> Basically, the question is: is there a way to guaranty a reliable PG
> database in an untrusted and insecure environment? Maybe some kind of file
> system could give this guaranty, not sure..

Again, this has more to do with the hardware (especially) operating
environment and the operating system than postgres itself.

merlin

--
Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Matt Brock 2013-05-10 14:14:09 Deploying PostgreSQL on CentOS with SSD and Hardware RAID
Previous Message Larry Rosenman 2013-05-10 13:50:33 Re: LONG delete with LOTS of FK's