Dennis Lee Bieber <wlfr...@ix.netcom.com> wrote:
> On Mon, 23 Jul 2018 22:14:22 +0100, Chris Green <c...@isbd.net> declaimed the
> following:
> 
> >Anders Wegge Keller <we...@wegge.dk> wrote:
> >> 
> >>  If your update frequency is low enough that it wont kill the filesystem 
> >> and
> >> the amount of data is reasonably small, atomic writes to a file is easy to
> >> work with:
> >> 
> >Yes, I think you're right, using a file would seem to be the best
> >answer.  Sample rate is only one a second or slower and there's not a
> >huge amount of data involved.
> >
> 
>         If the data is small enough, putting the file into the small shared
> memory (forget if that is /dev/shm or /run/shm on the BBB) would even avoid
> wearing out eMMC/SD card.
> 
That is also a very good idea, there's /dev/shm and /run on my BBB,
/dev/shm seems to have more space.

-- 
Chris Green
ยท
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to