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
-
…If that wasn't helpful, then there is also this article on the implementation (not written by me) https://github.com/amark/gun/wiki/Conflict-Resolution-with-G... . Timestamps are bad, yes (I mention this in the talk as well), GUN uses a…
comment by marknadal · 2017-06-12 · in GUN 0.7.9 – 15M read/sec, 15K write/sec, 2K sync/sec MIT Licensed Graph Database -
…point, to prevent data from getting trashed you need to run auth on the system, more info here: https://github.com/amark/gun/wiki/auth I wasn't talking about auth. If conflict resolution is timestamp based, It feels like you could very…
comment by jimktrains2 · 2017-06-12 · in GUN 0.7.9 – 15M read/sec, 15K write/sec, 2K sync/sec MIT Licensed Graph Database -
…and links to these resources: (let me know how they can be improved) - CAP Theorem tradeoffs: https://github.com/amark/gun/wiki/CAP-Theorem (We are AP, which is eventually consistent) - My tech talk of how the CRDT works:…
comment by marknadal · 2017-06-12 · in GUN 0.7.9 – 15M read/sec, 15K write/sec, 2K sync/sec MIT Licensed Graph Database -
…scattered throughout the comments, but here they are again: - Numbers on the performance benchmark: https://github.com/amark/gun/wiki/100000-ops-sec-in-IE6-on-2... , also see https://youtu.be/BEqH-oZ4UXI , and run it yourself clone…
comment by marknadal · 2017-06-12 · in GUN 0.7.9 – 15M read/sec, 15K write/sec, 2K sync/sec MIT Licensed Graph Database -
…will not convince anybody but the most junior web developers. source (hopefully I'm wrong ;) ): https://github.com/amark/gun/blob/master/test/ptsd/perf.js#L...
comment by ccommsxx · 2017-06-12 · in GUN 0.7.9 – 15M read/sec, 15K write/sec, 2K sync/sec MIT Licensed Graph Database -
…that you were testing a routine that was optimized out (to a static return/noop) by the JIT? from https://github.com/amark/gun/wiki/100000-ops-sec-in-IE6-on-2...
comment by ccommsxx · 2017-06-12 · in GUN 0.7.9 – 15M read/sec, 15K write/sec, 2K sync/sec MIT Licensed Graph Database -
…and such. There are much better solutions than GUN.) - http://gun.js.org/distributed/matters.html - https://github.com/amark/gun/wiki/CAP-Theorem - https://github.com/amark/gun/wiki/Conflict-Resolution-with-G...
comment by marknadal · 2017-06-12 · in GUN 0.7.9 – 15M read/sec, 15K write/sec, 2K sync/sec MIT Licensed Graph Database -
…announced our Security, Encryption, and Authorization framework to handle trusted peers, here: https://github.com/amark/gun/wiki/auth - GUN is master-master, so no, even with a sliding window of 300ms from latency shouldn't effect the…
comment by marknadal · 2017-06-12 · in GUN 0.7.9 – 15M read/sec, 15K write/sec, 2K sync/sec MIT Licensed Graph Database -
…. - - If you want to run (or write your own) please read through this well-commented 300LOC test: https://github.com/amark/gun/blob/master/test/panic/load.js . - - The test that was added in this release simulates what happens to GUN in a…
comment by marknadal · 2017-06-12 · in GUN 0.7.9 – 15M read/sec, 15K write/sec, 2K sync/sec MIT Licensed Graph Database -
▲ 142
GUN 0.7.9 – 15M read/sec, 15K write/sec, 2K sync/sec MIT Licensed Graph Databasestory by marknadal · 2017-06-11 · 47 comments
-
…a multi-master database you can run across globally distributed clouds. - Heck, even my own system, https://github.com/amark/gun , is a multi-master database that you can (and I have) run across globally distributed clouds. - CosmosDB has…
comment by marknadal · 2017-06-08 · in Global Multi-Cloud Replication in FaunaDB Serverless Cloud -
▲ 23
Why `;` Is Important in JavaScript and How to Encourage First Time Contributorsstory by marknadal · 2017-06-08 · 11 comments
-
▲ 3
Show HN: SEA, an Opinionated Authorization Framework – Passport for P2P Appsstory by marknadal · 2017-06-05 · 0 comments
-
I built https://github.com/amark/gun after I was using MongoDB to event source data. The key piece for me was wanting to have Firebase-like realtime sync for my event sourcing. It is MIT/ZLIB/Apache2 licensed.
comment by marknadal · 2017-05-31 · in Damn Cool Algorithms: Log structured storage (2009) -
▲ 2
Show HN: Early Preview of End-To-End Encrypted P2P Social Networkstory by marknadal · 2017-05-24 · 0 comments
-
…easy 1 click deploy to Heroku), hopefully this will be helpful for people maxing out connections: https://github.com/amark/gun .
comment by marknadal · 2017-05-24 · in Show HN: Real-time notes app built with Vue.js, inspired by Notational Velocity -
…https://www.youtube.com/watch?v=x_WqBuEA7s8 - You can 1 click deploy to a free Heroku server here: https://github.com/amark/gun#heroku - Watch a demo of the GPS tracking here: 1min https://youtu.be/7ALHtbC9aOM - Demo of the app here:…
comment by marknadal · 2017-05-20 · in Show HN: Build live location sharing in your app with HyperTrack -
…And that is coming from me (I work on gun, an OSS alternative with graphs that you can self host - https://github.com/amark/gun ), so while I have an incentive to get people to use gun, I have to keep plugging Firebase because they are…
comment by marknadal · 2017-05-17 · in A startup’s Firebase bill suddenly increased from $25 to $1750 per month -
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 -
▲ 1
GUN 0.7, P2P Graph Database That Runs in the Browser with GraphQLstory by marknadal · 2017-05-10 · 0 comments
-
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 -
▲ 1
GUN 0.7.X – 1.5K Table Inserts/sec, React, GraphQL, RxJS, Support and Morestory by marknadal · 2017-04-04 · 0 comments
-
…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 -
▲ 1
Why GUN Won't Shut Down: Our Open Source Promise, Concerns for Parse/RethinkDBstory by marknadal · 2017-01-30 · 0 comments
-
…- 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 -
▲ 2
Parse.com Migration Guide to GUN – Open Source Alternativestory by marknadal · 2017-01-30 · 0 comments
-
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 -
▲ 3
GUN Graph Database – 0.5 Merged into Master Now Beta Testing 25M+ Ops/secstory by marknadal · 2017-01-27 · 0 comments
-
…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 -
▲ 71
Show HN: Gun database – 100k ops/sec in IE6 on 2GB Atom CPUstory by marknadal · 2016-12-24 · 48 comments
-
▲ 2
GUN v0.5.x Open Source Firebase – Now with Docker, Heroku, and Now.sh Deploysstory by marknadal · 2016-12-20 · 0 comments
-
…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