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
-
Likely they're referring to https://github.com/amark/gun , which they refer to earlier. amark is Mark Nadal.
comment by grzm · 2018-03-08 · in Ask HN: If you've used a graph database, would you use it again? -
…it to HackerNews in early 2014. It was a huge success. Since then, we've gotten 7.5K+ stars ( https://github.com/amark/gun ), raised venture capital money, and introduced decentralized cryptographically secure user blockchains, and a ton…
comment by marknadal · 2018-03-08 · in Ask HN: If you've used a graph database, would you use it again? -
…part of our system for free, very openly licensed as MIT/ZLIB/Apache2. Check it out, 7.5K+ stars - https://github.com/amark/gun , we view clustering/availability as a core necessary feature of any database and not some "optional" or…
comment by marknadal · 2018-03-07 · in Why DNSFilter replaced InfluxDB with TimescaleDB -
Or add realtime updates to IPFS, Beaker, or Blockstack using a P2P/decentralized Firebase: https://github.com/amark/gun IPFS + Firebase = Lovechild ^
comment by marknadal · 2018-03-05 · in Show HN: Hearth – A Dropbox-like, IPFS-powered personal website publisher -
Try https://github.com/amark/gun , it is a popular (~7.5K stars) truly open source (MIT/ZLIB/Apache 2) database that has Firebase like features (realtime sync) plus a lot more, like graph/table/document/relational data and a…
comment by marknadal · 2018-03-02 · in How we built Hamiltix.net for less than $1 a month on AWS -
…And more! Note, this is not using Ethereum, but our decentralized tool: https://github.com/amark/gun , and here is a 4 minute and 40 LOC interactive coding tutorial that shows you how to get started: https://scrimba.com/c/c2gBgt4
comment by marknadal · 2018-02-19 · in Show HN: Decentralized application starter with Vue, Ethereum and IPFS -
…think / expect. We had similar experience when we worked to get our system 25X faster than Redis: https://github.com/amark/gun/wiki/100000-ops-sec-in-IE6-on-2...
comment by marknadal · 2018-02-17 · in Performance debugging: from 1.3X slower to 48X faster than Apache Kafka -
…of cash to dole out? At the same time, we already have people building P2P dApps with our system ( https://github.com/amark/gun/wiki/auth ), you know, the ones that Ethereum/Dfinity/etc. can only dream of doing even after they hit their…
comment by marknadal · 2018-02-17 · in ICO startups band together to create $100M grant fund for Ethereum projects -
…of all the world. We've implemented observable/FRP/chain-reaction programming as the default API in https://github.com/amark/gun , it is really quite pleasant language abstraction. However, FRP/etc. hasn't quite hit "mainstream" hype yet,…
comment by marknadal · 2018-02-15 · in JavaScript Promises Discussion: Make Them Monadic? (2013) -
…structure and have released an alpha of it with the Radix Storage Engine (RSE) in the main repo: https://github.com/amark/gun Let me know if you need help with any/all of that, or more links/resources (docs are somewhat scarce on it…
comment by marknadal · 2018-02-15 · in Serverless Databases: The Future of Event-Driven Architecture -
…hard and correctness is a necessary tradeoff from performance. Other systems, like Cassandra, us ( https://github.com/amark/gun ), Couch/Pouch, etc. are all in the Master-Master camp, and thus AP not CP. Our argument is that while P holds,…
comment by marknadal · 2018-02-07 · in Distributed Databases Should Work More Like CDNs -
…into proofs that can client-side only decrypt public/private keypairs. For an example, see: https://github.com/amark/gun/wiki/auth
comment by marknadal · 2018-02-04 · in Best practices for user account, authorization and password management -
…here https://github.com/ipfs/research-CRDT/blob/master/Readme.MD (disclaimer: I'm the author of https://github.com/amark/gun , which is one of the listed options). The StatusPage link is sparse on info, anybody know how it works…
comment by marknadal · 2018-01-31 · in Show HN: A Decentralized StatusPage on IPFS -
Wow, point for point this is what we've built at gun ( https://github.com/amark/gun ). - You only store the data you are subscribed to, which if it is your data, it is automatically stored in localStorage and if you run a…
comment by marknadal · 2018-01-31 · in Paradigm shifts for the decentralized Web -
As an alternative, we've worked really hard on making E2E key management super easy: https://github.com/amark/gun/wiki/auth It is P2P not federated though, and the UI might be worse or better depending on your tastes. ;)
comment by marknadal · 2018-01-29 · in Status.im Invests $5M in Riot.im -
…Feross, who I know) have made comparisons of Datomic to gun, which I have made open source: https://github.com/amark/gun they're based on very similar principles and architecture of functional reactive programming (elm and eve are also in…
comment by marknadal · 2018-01-17 · in Datomic Cloud -
…built on CRDT primitives for doing P2P apps that are end-to-end encrypted. ~7K stars on GitHub: https://github.com/amark/gun It can do 20M reads/sec, 20K writes/sec, and 2K sync/sec (verified table inserts across 4 network hops). It's like…
comment by marknadal · 2017-12-31 · in Ask HN: What did you work on in 2017? -
…are covered pretty well in the article, but CRDTs are also a must for most projects: https://github.com/amark/gun . The article seemed to mix in some blockchain/cryptocurrency projects as well, but seemed out of place (for instance, if…
comment by marknadal · 2017-12-26 · in Decentralization Roundup for 2017 -
…using the Web Crypto API (it is what we switched over to, for our P2P cryptographic user accounts: https://github.com/amark/gun/wiki/auth ) to reduce dependency on the server. You can use the `integrity` attribute to help out with this,…
comment by marknadal · 2017-12-18 · in Show HN: Darkwire.io – instant encrypted web chat (Socket.io and Web Crypto API) -
…CRDTs be implemented on top in just a few lines of code (take this example, of a counter CRDT: https://github.com/amark/gun/wiki/snippets-(v0.3.x)#counter ).
comment by marknadal · 2017-12-10 · in Decentralized Web Primer -
…CRDTs. They have a research page on this: https://github.com/ipfs/research-CRDT One of them is us ( https://github.com/amark/gun ), David reached out the other week, now we're trying to find time to discuss with Juan how to best integrate.
comment by marknadal · 2017-12-09 · in Decentralized Web Primer -
…did a talk on how to port gun into a new language, so I'm hoping some contributors could help out: https://github.com/amark/gun/wiki/porting-gun Thanks for asking! Definitely a hard one, any other issues we need to address still, that I…
comment by marknadal · 2017-11-29 · in AWS AppSync – Build data-driven apps with real-time and off-line capabilities -
…Turns out the math/algorithm isn't too hard! Less than 50LOC for full implementation: https://github.com/amark/gun/blob/master/nts.js I recommend you have fun and challenge yourself to solve it first before looking at the code! It made me…
comment by marknadal · 2017-11-14 · in Determinism in League of Legends: Unified Clock -
…I know from stats) the most popular CRDT-based data sync (MIT/ZLIB/Apache2 licensed, 6.6K+ stars, https://github.com/amark/gun ). Usually I'm pretty skeptical of most systems, but I'm rather particularly impressed with yours. I also do not…
comment by marknadal · 2017-11-04 · in PeerPad – A realtime P2P collaborative editing tool powered by IPFS -
…so naturally I found it - although I was bummed it wasn't about gun (I'm the author of the popular https://github.com/amark/gun MIT licensed graph database) just the expression. But since I now have you, you mention that "make reactive all…
comment by marknadal · 2017-11-04 · in Ask HN: Is Meteor.js still a thing? -
…on? I know some people at Riak/Basho who are now at MIT, they are helping us formalize our CRDT ( https://github.com/amark/gun/wiki/Conflict-Resolution-with-G... ). We were chatting just last night and he said that Riak actually lacked…
comment by marknadal · 2017-10-18 · in Pure Operation-Based Replicated Data Types -
…that fairly well, but not for highly mutable data (versus large scientific files). Meanwhile we ( https://github.com/amark/gun ) tackled that problem first, because it seems like CRDTs are the most relevant for killing traditional…
comment by marknadal · 2017-10-13 · in Peer-to-peer social networking with Rotonde and Beaker -
We're a popular alternative, https://github.com/amark/gun Some cool differences: - MIT/ZLIB/Apache2 licensed. - Graph data structures (document, key value, tables, relations, and more!) - Decentralized like IPFS! - Alpha prototype for…
comment by marknadal · 2017-10-03 · in Cloud Firestore: A New Document Database for Apps -
…months), and Gun doesn't even handle unsubscribe-on-unmount in either its official React examples https://github.com/amark/gun/blob/master/examples/react/src/... or in graphql-gun https://github.com/brysgo/graphql-gun/blob/master/react/inde…
comment by btown · 2017-09-27 · in Meteor allow/deny vulnerability disclosure -
…still no better way in 2017", RethinkDB's Horizon ( http://horizon.io/ ) and our tool, GUN ( https://github.com/amark/gun ), seriously contest that fact. For instance, - You get realtime data sync out of the box with an infrastructure you…
comment by marknadal · 2017-09-26 · in Meteor allow/deny vulnerability disclosure -
Lol. I opened a random src-file and started to wonder wtf this is. Source: https://github.com/amark/gun/blob/master/src/state.js
comment by dsun180 · 2017-08-09 · in Why I’m dumping Firebase for Web -
Has anyone here used gun extensively? https://github.com/amark/gun it seems to position itself as a competitor to firebase, and wouldn't have many of the issues mentioned in the OP
comment by daurnimator · 2017-08-09 · in Why I’m dumping Firebase for Web -
…only syncs partial subsets of the data you request (rather than the whole thing), try checking out https://github.com/amark/gun (disclosure: I build it). However Postgres is probably the best database choice out there right now, so you…
comment by marknadal · 2017-08-08 · in CouchDB 2.1.0 -
…prototype demo, and watch our 1 minute animated explainers on cryptography, check out this link: https://github.com/amark/gun/wiki/auth (Note: All our code is MIT/ZLIB/Apache2 and open for auditing).
comment by marknadal · 2017-06-29 · in ZeroKit for Realm: Easy End-To-End Encryption -
…very well worded. That is exactly what I'm trying to do with my own system, for anybody curious: https://github.com/amark/gun (MIT / ZLIB / Apache 2 licensed).
comment by marknadal · 2017-06-28 · in CAP: Don't settle for eventual consistency -
…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 -
…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 -
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) -
…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