GithubHelp home page GithubHelp logo

3box / 3box-services-box Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 1.0 1.62 MB

All 3box services and libraries containerized and connected to run together in one place.

HTML 4.55% JavaScript 85.89% Dockerfile 4.73% Shell 4.84%

3box-services-box's Introduction

3Box Logo

Welcome to 3Box Labs!

Twitter Follow Discord

3Box Labs is a Web3 product studio that creates software to advance a more open, safe, and collaborative web. We are the inventors and a core maintainer of Ceramic, a decentralized network for composable data. Permissionless data composability will inevitably network all of the information on the web, transform the way we build applications, and connect users to their data, and each other, in new and exciting ways. To learn more about 3Box Labs, visit https://3boxlabs.com/.

Getting Started

๐Ÿ‘ค Visit Ceramic Network to build applications with composable data.

๐Ÿ’ฌ Join Ceramic Community Discord to chat with the core team and developer community

๐Ÿ‘ฉโ€๐Ÿ’ป Explore our blog to learn more about Ceramic, comopsable data and Web3 - and sign up for our newsletter.

3box-services-box's People

Contributors

msterle avatar oed avatar zachferland avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

rtradeltd

3box-services-box's Issues

Working master branch again

Diverged since building, difficult to run current branch. Recent work work last sprint has made it easier to wire up some services in services box, should not be far from having an easy to user master branch (vs just locally working repo right now)

Add 3Box dapp

Add 3Box dapp as service and allow it spin up with configs of all other services

Initial Simulation Notes and Issues

Adding a single key increases load time, what is happening 2 โ†’ 4 seconds

Time to load/open increases fairly rapidly which number of keys/entries, does not take much to add a second. Have a feeling its more than linear.

Worst is cached data shows similar increases, even though its locally available, whats happen here? I would assume this should be fast? Is sig verification slow, maybe could cache that verification for each client?

When rapidly adding keys, all show up at first when fetching all keys, but then page reload (even with cache) only returns some of them after about 1/10. Same is found from pinning server after, sometimes even less. Even though adds are reported successful. Will have to find tighter bounds on time here? what if adds spaced by second?

There is some interdependence between stores/boxes. Open 2 for the first time (load from server) slows the other down. Both 8 secs, after one 2 secs the other 4/5 when loaded the second time from cache

Also interdependence with onsync done, open two different boxes, only one will call on sync done.

Boxes with more keys seem to open less reliably, sometimes not opening at all. While another box with fewer keys opens at same time. Often happens first reload after adds, and then works on subsequent ones again. This is is not reliably true.

Eventually go one to not open at all again, by adding many keys over and over, and stopping mid process.

MBs get added quite to slow to indexed db? some processing not data has to be slow

MBs increase when adding keys, but even though many keys are lost as mentioned above, the storage still increases on next open.

^ until you delete and reload, then more keys and entries are lost, also don't understand why the underlying log is not longer than the number of keys if am constantly changing keys. Once stuff was loft they were often equal in length.

When using cache, openbox time increase quite a bit keys/data. 500+ keys(or entries) and 30mb of data increase load time to about 15/20 seconds. Concerning this using local cache.

Exact values not simulate here yet, but Kenzo had close to 500 entries and 100mb and was seeing 30 second or more load times.

So this would align roughly with what @michaelsena and @oznekenzo have reported.

Also don't know where all the data overhead is coming from (have to look at log entry format), since added KBs worth of string chars and end up with 30mb in indexeddb

Improve logging and log tooling.

At the very least have containers write to log file on my system so that i can tail the file and write filters over it. Second iterations could use better logging libraries.

Remove IPFS container

  • CORS issue
  • When incorrectly stopped (often happens with Docker), IPFS cannot restart

Make all included services compatible

Right now some of the services referenced are referenced by specific commits that implement compatibility or compatibility hacks. We need those commits to get into their respective develop branches so that we use any commit/branch in a project/service going forward.

Add 3Box Iframe as a service.

Once we are trying the the iframe again lets add it here. This setup makes it easy to rapidly iterate on iframe/lib and try in different browsers.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.