Re: Something Prevayler-like for the mobile web?

Klaus Wuestefeld <[email protected]> Tue, 8 Apr 2014 01:11:49 -0300
Newsgroups gmane.comp.java.prevayler
Message-ID <CAMAooZFVbADcxbYERXjLqS4Dv-PwwxxRV=JmFqSarH8zcp9vTw@mail.gmail.com>
Consider an api like this:

  interface Cloud {
    void pub(Uri path, Object value);
    Disposable sub(Uri path, Subscriber subscriber);
  }

  interface Subscriber {
    void on(Uri path, Object value);
  }

where you can publish any object in a rest-like path and subscribe to any
such publications.

Imagine this being persistent and distributed:
  - Every time you publish, you publish on your own space.
  - If you prepend the subscription path with someone else's public key,
you are subscribing to their space.
  - The data is available to you on all your devices.
  - There are no central servers. All data is distributed encrypted and
striped (so that several peers would have to conspire AND break encryption
to see your data) on peer's machines. You get as much space in this
"distributed cloud" as you provide to the cloud on your devices.

In other words: server-side development no longer exists, only client-side.
You can build a killer app and have it running with millions of users
overnight without servers.

We are in the early stages of implementing this, starting with a
mobile app<https://github.com/sneerteam/android.main>to provide those
services. There is also an example
client app <https://github.com/sneerteam/android.chat>.

Persistence and distribution are currently being provided by a central
server <https://github.com/sneerteam/server> and we are focusing on the API
and apps, Lean Startup style. If the app-base and user-base grow, we will
implement it p2p and kill the server.

I actually have funding if anyone is interested in working on this with us.
:)

Klaus

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees

_______________________________________________
To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
_______________________________________________
"Databases in Memoriam" -- http://www.prevayler.org