|Newbie questions about Pliant
Is there a way to force database entries to be saved on disk?
|Message posted by maybe Marcus on 2002/02/27 13:38:59
|Suppose one would like to implement an application (not in Pliant)
that occasionally reads data from a Pliant database. Suppose also that Pliant
applications randomly insert entries in this database. All these applications
are running all the time.
Since Pliant caches the database in the memory, is there a way to force pliant
to flush the database entries on disk, so that a nonpliant application would read
the proper data?
|Message posted by maybe Hubert Tonneau on 2002/02/27 13:51:11
|'data_store' Pliant instuction will force datas back to the disk.
|Message posted by maybe Patrice Ossona de Mendez on 2002/02/27 16:05:08
|You may also use Pliant as a database server, by creating a proper service
listening on a TCP port to perform some database requests.
Last, you may also write a "super-simple" interface by writing a .page and
sending request using a command like wget to the HTTP server.
|Message posted by maybe Marcus on 2002/02/28 18:08:20
|> you may also use Pliant as a database server, by creating a proper service
> listening on a TCP port to perform some database requests.
Interesting...Could you elaborate a bit more on that?
|Message posted by pom on 2002/03/01 10:15:36
|I give a general sample of TCP server in the code forum.
You probably would need a simpler one (as the one I've put
is intended to handle foreign allocation/deallocation) but
you would probably need a bit of crypto to secure it.