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. 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…
  2. Source code included in the examples, here: https://github.com/amark/gun/blob/master/examples/vue/todo.h...
  3. …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
  4. …. - 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
  5. …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
  6. …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
  7. …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]…
  8. …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…
  9. …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…
  10. …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
  11. …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
  12. …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)?
  13. …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... ).
  14. …- 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
  15. …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…
  16. …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
  17. 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
  18. …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
  19. …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
  20. …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…
  21. …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…
  22. …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
  23. …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…
  24. …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
  25. …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
  26. …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
  27. …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.
  28. 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…
  29. …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…
  30. …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...
  31. …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…
  32. …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.
  33. …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
  34. ours https://github.com/amark/gun . Pouch https://pouchdb.com/ . You could even do http://webtorrent.io !
  35. …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…
  36. 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?
  37. …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
  38. …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.…
  39. …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
  40. …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
  41. …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
  42. …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
  43. …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... .
  44. …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.
  45. …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
  46. 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
  47. 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. -…
  48. …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
  49. …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...
  50. …with ExpressJS or Hapi, etc.), which gives you the balance of using whatever backend you like. [1]: https://github.com/amark/gun