Hacker GitHub

← All repos

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

Mentions per year 291 mentions · busiest year 2017 (67)
20082026
  1. …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…
  2. …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…
  3. …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:…
  4. …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…
  5. …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...
  6. …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...
  7. …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...
  8. …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…
  9. …. - - 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…
  10. ▲ 142
    GUN 0.7.9 – 15M read/sec, 15K write/sec, 2K sync/sec MIT Licensed Graph Database
    story by marknadal · 2017-06-11 · 47 comments
  11. …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…
  12. ▲ 23
    Why `;` Is Important in JavaScript and How to Encourage First Time Contributors
    story by marknadal · 2017-06-08 · 11 comments
  13. ▲ 3
    Show HN: SEA, an Opinionated Authorization Framework – Passport for P2P Apps
    story by marknadal · 2017-06-05 · 0 comments
  14. 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.
  15. ▲ 2
    Show HN: Early Preview of End-To-End Encrypted P2P Social Network
    story by marknadal · 2017-05-24 · 0 comments
  16. …easy 1 click deploy to Heroku), hopefully this will be helpful for people maxing out connections: https://github.com/amark/gun .
  17. …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:…
  18. …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…
  19. 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…
  20. ▲ 1
    GUN 0.7, P2P Graph Database That Runs in the Browser with GraphQL
    story by marknadal · 2017-05-10 · 0 comments
  21. Source code included in the examples, here: https://github.com/amark/gun/blob/master/examples/vue/todo.h...
  22. ▲ 1
    GUN 0.7.X – 1.5K Table Inserts/sec, React, GraphQL, RxJS, Support and More
    story by marknadal · 2017-04-04 · 0 comments
  23. …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
  24. …. - 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
  25. …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
  26. …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
  27. …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]…
  28. …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…
  29. …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…
  30. …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
  31. …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
  32. …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)?
  33. …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... ).
  34. ▲ 1
    Why GUN Won't Shut Down: Our Open Source Promise, Concerns for Parse/RethinkDB
    story by marknadal · 2017-01-30 · 0 comments
  35. …- 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
  36. …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…
  37. …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
  38. ▲ 2
    Parse.com Migration Guide to GUN – Open Source Alternative
    story by marknadal · 2017-01-30 · 0 comments
  39. 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
  40. ▲ 3
    GUN Graph Database – 0.5 Merged into Master Now Beta Testing 25M+ Ops/sec
    story by marknadal · 2017-01-27 · 0 comments
  41. …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
  42. …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
  43. …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…
  44. …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…
  45. …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
  46. …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…
  47. ▲ 71
    Show HN: Gun database – 100k ops/sec in IE6 on 2GB Atom CPU
    story by marknadal · 2016-12-24 · 48 comments
  48. ▲ 2
    GUN v0.5.x Open Source Firebase – Now with Docker, Heroku, and Now.sh Deploys
    story by marknadal · 2016-12-20 · 0 comments
  49. …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
  50. …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