Here's a bunch of the Bear ecosystem modules just to give you an idea of where we are. The green ones are supposed to be like your node core equivalent, and then some more stuff beyond that as well. This is the Hyper ecosystem. So you have, as I've mentioned already, Hyper core. You have Hyper DHT which is direct peer-to-peer connections, and then you have Hyper swarm which is topic discovery over the DHT. Data structures I've mentioned, Hyper B is the key value store, Hyper drive is the file system, Autobase is multi-writer linearization, and then these utility modules, core store is for managing multiple hyper cores, local drive is the file system equivalent to Hyper drive, so you can mirror from a peer-to-peer file system to a local file system and vice versa, which is also what mirror drive provides.
Here's the deployment layers. So you version your app, like you bump the packaged version just the way you would with a module or anything, and then you make a new build, and then you use pair build to create the deployment directory and then you stage that deployment directory, and that's your staging environment that we talked about earlier, which is this middle tier here. Once you're ready, you go to pre-release, that's provision, and then once that's ready, you go to production, and that's multi-sig. So we find this to be very effective. Then there's the release cycle. Again, you version, you make the distributables, you build the deployment folder, you stage, you provision, repair the request, get signatures, verify the signatures, commit, go to production. The reason I keep saying the same thing, is because once you get into the pattern, it's like oh, this is really easy. Once you've set it up, it's like ba-ba-ba-ba-ba. It's like a flow state, and we've been in it for a while, and it feels great.
You don't have to deal with servers being down, staging servers down, or someone's pushed to it and now it's like broken and stuff. You don't have to deal with any of that. If you'd like to play around with this stuff, we've got some boilerplates. The Hello Power Electron boilerplate shows you, you clone it, it's a repo, you just clone it, and then you can just follow the instructions, and quickly get a PIDS peer-enabled Electron application set up straight out of the gate. If you already have an Electron application, take a look at this, and you can see how to put it in there. It's like a couple of steps. Get it in there, and you've got peer-to-peer updates. We've just recently, there's a blog post on pears.com, forward slash news, about this. We've just released the Hello Pair Bear boilerplate. What that does is it's peer-to-peer over there updates for terminal program processes. So like a CLI, a REPL, a daemon service, all of these things can be written as standalone executables, no peer dependencies, no node needed, nothing else needed. You can just give it to your user through website download, app get sources, brew, whatever you want. And then from there, they've got instant peer-to-peer updates. They never have to update again through another channel, another mechanism. And what we also have coming soon, we have this working internally.
Comments