[Gambas-user] A couple of questions about building web / cgi applications

Dimitris Anogiatis dosida at ...626...
Sat Feb 14 05:07:03 CET 2015


Hey Bruce,
In addition to all the good suggestions everyone is throwing in the
problem, you could use a CouchDB database on a different server and just
connect to it with a normal http connection if you're worried about file
hits on the sd card. Gambas supports JSON and the httpclient component
should work just fine for what you want it to do.

Hope this helps,
Dimitris


On Fri, Feb 13, 2015 at 7:04 PM, Benoît Minisini <
gambas at ...1...> wrote:

> Le 13/02/2015 21:35, Bruce Cunningham a écrit :
> > Caveat,
> >
> > Thanks for the info.
> >
> > I'm a little concerned about using a "disk" based database because
> > the disk is flash, which has a limited number of write cycles.  Even
> > with wear-leveling, I would eventually kill parts of the flash.  I
> > don't want these things dropping dead in the field after a year or
> > so...
> >
> > I was considering something like named pipes, but I'm a little
> > unclear about how Linux actually handles them.  I thought I saw a
> > mention that they are managed via temporary files within the file
> > system, and that would defeat the whole idea of not writing to disk.
> >
> > I know how to do interprocess communication in Windows, but not in
> > Linux with Gambas.
> >
> > Bruce
> >
> > Bruce Cunningham bcunningham at ...3336...
> >
>
> You can use a named pipe : you create the node on the disk once (if you
> don't want to ruin the flash). All the data exchange will be done in
> memory by the system.
>
> Regards,
>
> --
> Benoît Minisini
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list