ctesh
They provide a global data mesh with a KVs store, a JSON Doc DB, Graphs, pub/Sub, Event Stream Processing, Complex Event Processing, Search along with edge functions and containers. Used by large enterprise customers like Verizon and twilio as well startup and fast growing SAAS players like DevCycle and Resulticks.
The distributed datamesh featuring a global KV Store, JSON DocDB, Graph DB, pub/sub, search and complex event processing is based on an novel CRDT framework and protocol - published research and papers prior to starting commercial sales at High Performance Transaction systems in 2019 - http://www.hpts.ws/papers/2019/macromedia.pdf
We got accepted in High Performance Transaction systems last year for the innovations around CRDTs for strong eventual consistency (SEC) with low read and write latencies.
Im trying to figure out how to provide a simple light weight way for fly.io users to use our global DB in their apps. It would allow a full stack to run at the edge with the compute on fly.io and the data on Macrometa either directly on fly.io or a nearby PoP (same city). Will update
Freeing the database: from centralization to mutable shared state at the edge
Chris Meiklejohn on building a globally distributed CRDT database for the edge
A globally distributed stateful data layer for AWS lambda
Macrometa offers a free developer platform for building apps and APIs like barker at www.macrometa.co
Barker – a decentralized/distributed open-source Twitter clone
Thanks also for the great point you made about "altering source of truth" - we will look into how best to provide those gaurantees as well. Our underlying data structures are an event source on an append only log - so we can go back to see the provenance of changes to make sure there was no cheating but we dont expose that externally.
Show HN: Make a lowlatency, realtime multiplayer game with edge computing
Build a low latency Python app with a globally distributed DB
Show HN: Build an App/API with a MultiCloud, GeoDistributed Back End in 10Mins
The DB incorporates streams and streams processing as a first-class database primitive and lets you build low latency, high volume data pipelines that are event-driven and reactive.
Show HN: A globally distributed, cross-region/cloud DB in 25 regions in 40s
The edge computing position is intentional in that we think the edge is a way to build globally distributed apps and apis. Our goal is to make as simple to build and run an app in 25 regions as it is to build an app against say firebase or dynamodb.
We think we provide the flexibility of both very strict acid behavior using spot collections Along with the strong eventual consistency model for everything else. Important to understand that as a developer you don’t need to deal with any of it - it’s handled for you once you have marked a collection as a spot.
This is not related to gun in any way. We love what gun does and it’s approach and they do some very clever things (including work on the end device). We sit as a back end database as a service in 25 global pops and process dB operations (and code expressed as functions or containers) at the closest location (by latency or geo physical location) to the user or device using an app or api rubbing against us.
we wrote our own operational CRDT engine And streams to solve this.
Yes it does solve the double spend - it let’s you mark (check box) a collection with a SPOT property (single point of truth) which restricts the number of edge region that collection is replicated across. Additionally the spot collection is replicated across two separate data centers (and separate availability zones in those data centers) to provide high availability. The developer doesn’t need to deal with the complexity of where and how this is done - they continue to access the collection like a regular one and the DB will redirect the queries (and do things like joins) between the regular and spot collection.
I’m writing a faq and will include your questions there.
Jepsen is in the plans - we hope to get a report out in the summer.
We also have a more technical internals paper almost completed and will publish next week.
Thanks again! This is such a helpful comment.
The short answer is yes. Macrometa integrates a function as service (FaaS) which can be hooked into the database and be triggered by events on a stream or a data collection.
So you can for example do the following: Expose a RESTful or GraphAPI (included deep nested queries in graphQL) for one or more collections - when mutating, attach a validation function to the collection as a trigger that is called before the mutation is applied to the DB. You can also have a trigger that calls a function after the mutation is complete.
One can also do this on streams with functions being triggered to a specific topic.
Lastly - there is full support for running containers as well and you can use the endpoints exposed by the container as a trigger.
Oh and one more thing - the dB is real time. It will notify clients of updates to collections automatically (like firebase).
Hope this helps..
1. We use causal consistency using vector clocks to establish the causal order of operations instead of using Time stamping and Network Time Protocol which are unreliable over WAN distances
2. We share Database state changes/updates between each Point of Presence (POP) to the others in the cluster using Asynchronous Streams that use a pull model instead of a push to maintain ordering of messages over the network. This has the added benefit of allowing us to know exactly how current each PoP is with changes.
3. We dont use Quorum for inter PoP to establish consistency - there's a white paper on our site that shows you the how and why of coordination free replication. Gist is we have developed a generalized operational CRDT model that allows us to get Associtive, Commutative, Idempotent convergence of changes between PoPs in the cluster without needing quorum
4. the DB is a multi master - you can access and change data at any PoP. Its also multi model and lets you query your data across multiple interfaces such as key/value, documentDB (JSON), Graph etc
5. the DB automatically creates GraphQL and REST APIs for your schema taking away the complexity and effort of a lot of boilerplate development on the backend
6. The DB is available as a managed service in 25 PoPs today - you can request an account and we will give you one. WE will be generally available with a free tier in April and you can signup online and self administer your cluster
7. You can access the DB via a CLI, GUI, or write code that accesses it via REST, GrapHQL or using native language drivers in JavaScript, Python today (we are working on other languages with a view on releasing them over the next few months)
hope this helps...
1. Causal consistency with the ability to create collections (tables) with strict consistency - uses vector clocks and not wall clock timestamps for ordering DB operations
2. Streams to propagate DB changes from one geo location (node) to another with guaranteed ordering and reliable delivery
3. Generalized Operational CRDTs to make all DB operations Associative, Commutative, Idempotent and Distributed (the new ACID)
4. One data model - multiple interfaces - store and query your data as Key/Value DB, DocumentDB, Graph DB, StreamDB, Geo location DB (query by lat/long/altitude)
5. Automatic GraphQL and REST api generation for your schema
6. Multi master - query and update any of our 25 global locations and get one consistent view of data globally
7. Access via CLI, REST, GraphQL (built in server), client drivers for python, Javascript today (Java, Go, Ruby in the works)