amark/gun
View on GitHub ↗ ★ 19,160 JavaScript
An open source cybersecurity protocol for syncing decentralized graph data.
291 mentions on Hacker News by 45 people: 34 stories, 257 comments · first 2014-10-19 · latest 2024-10-08
20082026
-
Might want to try (disclaimer: mine) https://github.com/amark/gun then, it is a cross-browser graph database (that supports relational/table based data) and has live streaming updates like Firebase. Plus, a SQL query engine is in the works…
comment by marknadal · 2017-05-10 · in Lovefield, a relational database for web apps, works cross-browser -
Source code included in the examples, here: https://github.com/amark/gun/blob/master/examples/vue/todo.h...
comment by marknadal · 2017-04-11 · in VueJS and GunDB = Perfect ToDo App That Syncs -
…fit: http://gun.js.org/distributed/matters.html A quick glance of the CAP Theorem tradeoffs: https://github.com/amark/gun/wiki/CAP-Theorem Some lower level implementation details of the CRDT: https://github.com/amark/gun/wiki/Conflict-Resol…
comment by marknadal · 2017-03-22 · in Building a Database System in Academia -
…. - In 2 years we had a system that can outperform Redis on the same test on the same hardware: https://github.com/amark/gun/wiki/100000-ops-sec-in-IE6-on-2... - Within 2.5 years we've built a system that can do on low end hardware across…
comment by marknadal · 2017-03-22 · in Building a Database System in Academia -
…prefers to use Open Source tools and not have vendor lock in, though. That is why we're building https://github.com/amark/gun which I often describe as an Open Source Firebase. The goal is that it is self-healing (P2P architecture) so you…
comment by marknadal · 2017-03-18 · in The Firebase Story -
…more vendor-lock-in doom. My disclosure is obvious, I'm an Open Source competitor, switch to us ( https://github.com/amark/gun ) and get "cloud functions" for free which can deploy to any services ( Docker enabled, Heroku 1 click install,…
comment by marknadal · 2017-03-09 · in Introducing Cloud Functions for Firebase -
…fine from big names like Tim Draper and Marc Benioff of Salesforce for our Open Source Firebase - https://github.com/amark/gun . [1] https://changelog.com/podcast/236 [2] https://devchat.tv/js-jabber/mjs-002-my-js-story-mark-nadal [3]…
comment by marknadal · 2017-03-08 · in How we convinced founder-angels to invest in our developer tool startup -
…testing, load testing, distributed systems testing, database optimizations, and more for https://github.com/amark/gun ), but also am the CEO. This means I correspond with investors, do fund raising (which is another full time job), and of…
comment by marknadal · 2017-03-08 · in Ask HN: Developers with kids, how do you skill up? -
…of saving 100M+ writes for $10/day: https://www.youtube.com/watch?v=x_WqBuEA7s8 Our sync system: https://github.com/amark/gun And since we are on the topic, I highly recommend this engineering blog post by Discord on how they scaled up…
comment by marknadal · 2017-02-20 · in How we built a back end system for Uber-like maps with animated cars -
…linearizable key/value SQL store. To read about what we guarantee/don't, check out these articles: https://github.com/amark/gun/wiki/CAP-Theorem http://gun.js.org/distributed/matters.html (tech talk on how the algorithms work)…
comment by marknadal · 2017-02-16 · in CockroachDB beta-20161013 -
…in a completely wrong state. Managing and maintaining state is the important thing (which is what https://github.com/amark/gun does, which is of course also "websockets-first"). When you reload your game, it should return/remain as it was,…
comment by marknadal · 2017-02-13 · in Show HN: WebSocket-first development -
…be better off running something like a pure NodeJS database like Parse's open source server or https://github.com/amark/gun , either inside the lambda function directly or connecting to it (since it'll be on a nearby machine in AWS)?
comment by marknadal · 2017-02-09 · in Build a serverless app with a serverless database -
…as well, where we compared cached read performance against Redis, and were 50X faster - here: https://github.com/amark/gun/wiki/100000-ops-sec-in-IE6-on-2... ).
comment by marknadal · 2017-02-09 · in Joining a billion rows 20x faster than Apache Spark -
…- pouchDB - https://github.com/pouchdb/pouchdb - RxDB - https://github.com/pubkey/rxdb - gunDB - https://github.com/amark/gun - horzion - https://github.com/rethinkdb/horizon - firebase - https://firebase.google.com/
comment by realPubkey · 2017-01-30 · in Parse is shutting down today -
…be there, first and foremost. In fact, the license was determined by a community vote (see here: https://github.com/amark/gun/issues/17 ). People have asked why others (like us) won't shut down in the same way Parse and Rethink have, I…
comment by marknadal · 2017-01-30 · in “Worrying about licensing is what PG would call a sitcom idea” -
…plug though, there are other Open Source alternatives though - we wrote a migration guide for ours: https://github.com/amark/gun/wiki/Migrating-from-Parse .
comment by marknadal · 2017-01-30 · in Parse is shutting down today -
How does it compare to https://github.com/amark/gun and http://lokijs.org ? Does it handle concurrency and conflict resolution?
comment by marknadal · 2017-01-28 · in RxDB – Local JavaScript-Database -
…adapters to backup to S3, Level, SQLite, etc. Here is an article on the JSON graph structure: https://github.com/amark/gun/wiki/GUN%E2%80%99s-Data-Format-... Sync is done using a deterministic AP (of the CAP Theorem) conflict resolution…
comment by marknadal · 2017-01-20 · in The Infrastructure Behind Twitter: Scale -
…http://myrighttocode.org/blog/artificial%20intelligence/part... 30M+ ops/sec performance testing: https://github.com/amark/gun/wiki/100000-ops-sec-in-IE6-on-2... 1 minute demo of seamless multi-server failover during a live chat app:…
comment by marknadal · 2017-01-20 · in The Infrastructure Behind Twitter: Scale -
…base case is an ad-hoc mesh network (how the messaging between peers works is explained here: https://github.com/amark/gun/wiki/Mesh-Network-Messaging-Alg... ). Initial connections are handled statelessly, both peers exchange blobs of the…
comment by marknadal · 2016-12-26 · in Show HN: Gun database – 100k ops/sec in IE6 on 2GB Atom CPU -
…is not a silver bullet but it does "just work" out of the box for many web cases. See more here: https://github.com/amark/gun/wiki/Conflict-Resolution-with-G... . Please especially read about our CAP tradeoffs (see the sidebar on the…
comment by marknadal · 2016-12-25 · in Show HN: Gun database – 100k ops/sec in IE6 on 2GB Atom CPU -
…considers using this project should definitely read the code first and make up their own mind. [1] https://github.com/amark/gun/blob/master/gun.js#L584 [2] https://news.ycombinator.com/item?id=10683467
comment by atombender · 2016-12-24 · in Show HN: Gun database – 100k ops/sec in IE6 on 2GB Atom CPU -
…really shouldn't use it for anythign involving accounting, money, etc. - read more about that here: https://github.com/amark/gun/wiki/CAP-Theorem Where should you use it instead of Redis? When you want realtime updates or graph data. There…
comment by marknadal · 2016-12-24 · in Show HN: Gun database – 100k ops/sec in IE6 on 2GB Atom CPU -
…Does this only work for static websites? I work on a P2P database (Open Source Firebase, https://github.com/amark/gun ) but wouldn't Beaker cause web apps (not static sites) to break, even if they are using a P2P browser based DB? I'd be…
comment by marknadal · 2016-12-19 · in Beaker – An experimental P2P browser -
…out there work with React Native? I think http://lokijs.org does with Forage, and (I work on) https://github.com/amark/gun people have been getting it to work with adapters. The comment below seems to suggest Couchbase Lite does too? What…
comment by marknadal · 2016-12-05 · in PouchDB, the JavaScript Database That Syncs -
…with http://gun.js.org/ as well on reactive push-based data sync, here are some of our results: https://github.com/amark/gun/wiki/100000-ops-sec-in-IE6-on-2... . I would be very interested in chatting with more people (I see the Realm…
comment by marknadal · 2016-12-05 · in Reactive Offline-first Database -
…interacted with them a couple times. As far as realtime and multi-model (graph) I work on https://github.com/amark/gun , which is also distributed and offline-first.
comment by marknadal · 2016-11-24 · in ArangoDB Closes 2.2M Euro Investment Led by Target Partners -
Disclosure: We're a competitor. If you need browser support check out https://github.com/amark/gun , it runs on all major browsers and can be embedded into native apps and has realtime CRDT sync out of the box. Fully MIT / ZLIB / Apache 2…
comment by marknadal · 2016-11-17 · in The First Object Database for Node: Introducing Realm Node.js -
…actually super easy. Here is a sweet&short guide that introduces graphs to relational/NoSQL people: https://github.com/amark/gun/wiki/graphs . It even has a runnable JSbin example at the bottom so you can try it out in the browser without…
comment by marknadal · 2016-11-11 · in Show HN: GUN Starter App Boilerplate – An Easy Open Source Firebase Replacement -
…they mention an authorization filter, but don't go into more detail. [0] https://pouchdb.com/ [1] https://github.com/amark/gun/wiki/Security%2C-Authentication... [2] https://github.com/amark/gun/wiki/Mesh-Network-Messaging-Alg...
comment by TheAceOfHearts · 2016-11-11 · in Show HN: GUN Starter App Boilerplate – An Easy Open Source Firebase Replacement -
…works with react-native but there is currently a bug in a react-native module loader (according to: https://github.com/amark/gun/issues/236#issuecomment-2555553... ) that is causing some problems. But I'm sure this will get sorted out…
comment by marknadal · 2016-11-11 · in Show HN: GUN Starter App Boilerplate – An Easy Open Source Firebase Replacement -
…layer above file systems). This looks like it would make for a really nice storage engine for https://github.com/amark/gun . Also it is nice to see non-English projects! Very exciting work.
comment by marknadal · 2016-10-25 · in Baidu File System – A distributed file system for real-time applications -
…want to commend you guys for doing it. But I do have some questions (disclosure: I am the author of https://github.com/amark/gun ): - Is it correct to say that Bedrock is primarily a replication layer for SQLite? Most things your homepage…
comment by marknadal · 2016-10-19 · in Bedrock – Rock-solid distributed data -
ours https://github.com/amark/gun . Pouch https://pouchdb.com/ . You could even do http://webtorrent.io !
comment by marknadal · 2016-10-16 · in Vanadium – Create distributed applications that can run anywhere -
…and Append-Only systems, as my work on a similar project ( an Open Source Firebase, https://github.com/amark/gun ) made me move away from those ideas (even though they are great ideas). - Content-Addressed stores are going to revolutionize…
comment by marknadal · 2016-10-16 · in Noms – A versioned, forkable, syncable database -
I raised almost half a million for an Open Source Firebase ( https://github.com/amark/gun ). The license is MIT which guarantees we can't coerce you to do anything. What alternative for compensation do you propose?
comment by marknadal · 2016-10-12 · in Releasing Serverless Framework V.1, and Fundraising -
…despite agreeing with it). Instead, if you look at correct systems - like Elm, Rx, Datomic.com , or https://github.com/amark/gun (my own, obviously I am biased) you get less complicated ideas: - Event Driven. - Data Streams. - Data Flow. -…
comment by marknadal · 2016-09-30 · in Data denormalization is broken -
…Always awesome to launch, good job. Full disclosure, I work on a competing product (MIT licensed, https://github.com/amark/gun ) and do a lot of testing on distributed systems. You guys say it is offline-first with conflict-resolution.…
comment by marknadal · 2016-09-27 · in Realm Mobile Platform – Realtime Sync Plus Fully Open Source Database -
…Wired Tiger, Cassandra, Redis, and even Chrome V8 engine as we have built towards 30M+ ops/sec, see https://github.com/amark/gun/wiki/100000-ops-sec-in-IE6-on-2... ). However clicking through on the performance links didn't lead to any…
comment by marknadal · 2016-09-21 · in CouchDB 2.0 -
…Here are some resources for JS: - https://github.com/petkaantonov/bluebird/wiki/Optimization-k... - https://github.com/amark/gun/wiki/100000-ops-sec-in-IE6-on-2... - http://danieltao.com/lazy.js/
comment by marknadal · 2016-09-20 · in Laws of Performant Software -
…then there is a generic callback for that that gives you the ability to reject requests. See https://github.com/amark/gun/blob/master/examples/express-au... as an example, note that we may be changing this in the future though.
comment by marknadal · 2016-09-19 · in Reasons not to use Firebase -
…such that data is strongly Eventually Consistent. Check out the 1 minute demo videos in the repo https://github.com/amark/gun . 7) Relations are marvelous! Because gun is a graph database, you get relations as well as documents! As well as…
comment by marknadal · 2016-09-18 · in Reasons not to use Firebase -
…JavaScript library. Check out this link for a podcast on how we did it as well as more information: https://github.com/amark/gun/wiki/100000-ops-sec-in-IE6-on-2... .
comment by marknadal · 2016-09-05 · in Three JavaScript performance fundamentals that make Bluebird fast -
…I remember reading. Which doesn't seem scalable or fast. We're trying to solve that problem with https://github.com/amark/gun , and hopefully will be able to team up with the ZeroNet guys at some point. I love their work.
comment by marknadal · 2016-08-17 · in ZeroNet and IPFS: uncensorable auto-scaling BitTorrent powered websites -
…aware that OT is not P2P or decentralized. The algorithm in the paper is, however, and so is GUN ( https://github.com/amark/gun ) . Probably more important to the discussion, is that it IS possible to implement collaborative rich text…
comment by marknadal · 2016-08-17 · in A Conflict-Free Replicated JSON Datatype -
Shlabam, we built it for you: https://github.com/amark/gun , and we're funded by a couple billionaires (Tim Draper and Marc Benioff of Salesforce). Come chat with us in the https://gitter.im/amark/gun !
comment by marknadal · 2016-08-17 · in 30K Page Views for $0.21: A Serverless Story -
If you are interested in graph databases (full disclosure: I am the author) you should check out https://github.com/amark/gun . - It is Open Source under MIT license, very liberal, at no cost. - It has property graph features like Neo4j. -…
comment by marknadal · 2016-08-15 · in NoSQL Databases: A Survey and Decision Guidance -
…to" list here (rather than spreading them around the HN comment thread). How does it compare to: - https://github.com/amark/gun - https://github.com/substack/wikidb
comment by marknadal · 2016-08-02 · in Show HN: Noms – A new decentralized database based on ideas from Git -
…always need coding help. Latest stuff we've been working on is [2]performance (30M+ ops/sec)! [1] https://github.com/amark/gun [2] https://github.com/amark/gun/wiki/100000-ops-sec-in-IE6-on-2...
comment by marknadal · 2016-08-01 · in Germany offers up to €30k for 6 months of working on OSS -
…with ExpressJS or Hapi, etc.), which gives you the balance of using whatever backend you like. [1]: https://github.com/amark/gun
comment by marknadal · 2016-07-05 · in LokiJS – In-memory JavaScript Datastore with Persistence