by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Mark Robert Henderson
    @aphelionz
    oh yeah... that's a heavy lift but a welcome one for sure
    Kia
    @mistakia
    as it stands right now, refs are not used in replication? just nexts?
    Mark Robert Henderson
    @aphelionz
    @mistakia I believe refs are used in loading not sure about replication. ping @haadcode @shamb0t
    Kia
    @mistakia
    Looking at orbit-db-store - I don't see any use of refs. Any downsides to using refs along with nexts here: https://github.com/orbitdb/orbit-db-store/blob/master/src/Replicator.js#L181
    Mark Robert Henderson
    @aphelionz
    Benchmark and test!
    vasa
    @vasa-develop

    Hey all!

    I'm trying to build MongoDB-like database using OrbitDB (and also exploring Ceramic protocol).

    Here is a very initial draft spec: https://bit.ly/ipfsdb-spec

    Would love to hear any suggestions, comments :pray:

    Andrea Vitaletti
    @andreavitaletti
    Hi all, my name is Andrea Vitaletti and with a group of volunteers we are trying to set-up the service described at https://github.com/andreavitaletti/spesa/ ... I'm sorry still in italian (Google translate should give you an idea) , but I will translate soon. The target are small shops. The goal is to reduce the queue at shops in this time of crises, to increase safety. The main featureis to reduce the queue allowing people to make an order by an arbitrary media channel and then simply collect and pay at the shop. We have now a centralised PoC https://www.youtube.com/watch?v=YCMNtq4WMuc&feature=youtu.be and different channels, but we really would love to deploy it on Orbi. Do you think it is worth? We do not expect heavy loads, but who knows. Any suggestion is welcome
    Mark Robert Henderson
    @aphelionz
    I think p2p / decentralized technologies are going to be very important during this crisis! I did not look at it closely but I would think yes
    (watching the video now)
    Andrea Vitaletti
    @andreavitaletti
    Any help is more than appreciated ... thanks a lot. We are still in a very preliminary phase, but we would like to test is asap
    Mark Robert Henderson
    @aphelionz
    i hope you are healthy btw
    Andrea Vitaletti
    @andreavitaletti
    We are thanks! but lot of peolple is in trouble and this is our modest contribution ... any other comment on the feasibility or opportunity of employing orbit in this context? We can even thing at a mirror of the centralised solution and the decentralised one, with a kind of load balancer between the two
    Just for the sake of comparison
    Mark Robert Henderson
    @aphelionz
    yes i think resiliency is important here, so if you DO use orbit please have a node that's "always on" replicating everything
    i know this is "centralized but as they say - desperate times call for desperate measures
    it should be a matter of replacing your data.json with this: https://github.com/orbitdb/orbit-db-kvstore/
    Andrea Vitaletti
    @andreavitaletti
    Sure ... we have to be practical, we'll have time to be idealistic ... even if we do not always forget the consequences on out ideals of our practical decisions
    Mark Robert Henderson
    @aphelionz
    you can always go back and decentralize later :D
    just help people now
    Andrea Vitaletti
    @andreavitaletti
    thanks we'll experiment wit this ... again if you have other suggestion any help is very appreciated
    Mark Robert Henderson
    @aphelionz
    yeah stay in touch
    I'm usually signed in here so if you need help quick find me here
    Andrea Vitaletti
    @andreavitaletti
    thanks a lot Mark
    Mark Robert Henderson
    @aphelionz
    you're welcome, any time :pray:
    Mark Robert Henderson
    @aphelionz
    @andreavitaletti how do I run locally?
    Mark Robert Henderson
    @aphelionz
    @mistakia can you take a look at this and comment on the reporting requirements? orbitdb/benchmark-runner#5
    Andrea Vitaletti
    @andreavitaletti
    I sorry I was in a call for the project ... sure I'll do
    Mark Robert Henderson
    @aphelionz
    thank you
    vaultec
    @vaultec81
    @vasa-develop I have mentioned in this same room about improving orbitdb's current docstore and building a mongodb like datastore. I would love to work with you on building a system like this.
    vasa
    @vasa-develop

    @vaultec81 awesome. BTW, I'm also working with @oed to introduce Ceramic Protocol in IpfsDB

    You can join the discussion here: https://discord.gg/2nkqP2Y

    Mark Robert Henderson
    @aphelionz
    nice
    vasa
    @vasa-develop
    I would love to add you to the dappkit GitHub org so that we could work more closely on this. Let me know your email ID in case you are ok with this ;)
    vaultec
    @vaultec81
    I just joined not too long ago.
    vaultec
    @vaultec81
    @aphelionz Hey do you know if there is a way to reference the current state in an orbitdb database with a single hash?
    Mark Robert Henderson
    @aphelionz
    I don't think so, no
    Mark Robert Henderson
    @aphelionz
    log has snapshotting but i dont think it does it to a hash automatically
    vaultec
    @vaultec81
    Would be useful to have the ability for orbit-db to fetch head hash and sync from head hash. Particularly if the use case requires the datastore to always have a deterministic output.
    Mark Robert Henderson
    @aphelionz
    it does that via fromEntryHash in the log
    i thought you meant the state as in state machine, i.e. the index
    vaultec
    @vaultec81
    I do mean the state machine. Being synced exactly the same as other nodes, and guaranteeing that with a single hash.
    Mark Robert Henderson
    @aphelionz
    look at fromEntryHash
    vaultec
    @vaultec81
    I am looking at the documentation
    I am guessing the hash comes from toMultihash
    hmm
    That is a static method. Creating a new Ipfs log instance.
    I am thinking along the lines of a single hash representing all the heads
    Then that single hash can be compared by trans-versing each head's dag node.
    Mark Robert Henderson
    @aphelionz
    ah like a superhead or metahead or something
    vaultec
    @vaultec81
    Yes