Hi Maurice,

this message is not strictly related to libpaxos, but it might be interesting to you, as you seem to be in an experimenting stage too.

I understand you are looking for some DHT semantics with resilience against byzantine faults, correct?
If so, you may be interested in http://ball.askemos.org .  For PUT/GET/DELETE semantics, look for the WebDAV component.

BTW: it does not use libpaxos (yet).  I'm lurking here, because I'm looking for alternatives to our homegrown atomic broadcast implementation.

Best
/Jörg

Am 16.06.2014 18:27, schrieb Marco Primi:
Hello Maurice,

Paxos does not offer GET/PUT/DELETE interface, paxos implements Atomic broadcast, which is a messaging primitive, not a database/storage kind of thing.
The interface offered to applications built on top of paxos are generally submit() (to send a message to all listeners) and deliver() (a callback invoked by all listeners when the next message is accepted).

The functions you see in storage are reserved for internal usage (by the processes running the "acceptor" role).

If you want to implement a database-like system, it's not hard to imagine one built on top of this submit/deliver interface, but you're going to have to implement in your own application.

The file acceptor_0 and similar are not logfiles, I believe they are the actual (binary) storage databases maintained by acceptors.

Cheers,
Marco



On 6/15/14, 6:25 AM, Nitin Arya wrote:
Hello,

I am new to Paxos learning i was going through the sample code and there is
a function paxos_submit() that client.c calls . As i wish to perform the
GET , PUT and DELETE operations on the database how can I implement that ?

There is no option to invoke storage_get or a delete function and I would
like to call a paxos_delete() function so a value gets deleted from
database in all the replicas by using the paxos algorithm. So how can i do
that ? Please guide.
Also the log file there is a log file in /tmp/acceptor_0 but its garbage is
there anywhere else the log file is getting saved ?

Thanking you for your excellent libpaxos.
Maurice



------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems


_______________________________________________
Libpaxos-general mailing list
Libpaxos-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libpaxos-general



------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems


_______________________________________________
Libpaxos-general mailing list
Libpaxos-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libpaxos-general


-- 
A Sch(K)EMatic Operating System