Discover more from Project Bacalhau
Bacalhau Project Report – Feb 19, 2023
Bacalhau on a Raspberry Pi, improved docs and telemetry, and calling Bacalhau from FVM smart contracts
We’ve been hard at work making Bacalhau more reliable and performant this week, and also delivered some exciting new features!
Bacalhau now runs on the edge 😤🐟📲
You can now run Bacalhau as both a client and server on devices that use the 32-bit ARMv6 or ARMv7 architecture! That means you can run Bacalhau jobs on wifi routers, low-power edge devices, and all models of Raspberry Pi:
Bacalhau is already great for edge computing. It supports streaming data from thin clients that run in remote and constrained locations with data coming from sensors or cameras. Bacalhau data locality and resource management features allow the devices to offload jobs to the right place.
For example, if a device is going to process it's own sensor data, it can either process it on the device itself if it's capable or shift that job off to the network if it doesn't have the capacity in that moment.
Now, even more ARM-based edge devices can submit jobs to be processed elsewhere and can run their own jobs too!
Many, many docs improvements! 📚✨
We’ve added numerous improvements to our Bacalhau examples and documentation (too many to count!). The examples are now easier to understand, more consistent and up to date with the latest features in the CLI.
Our Python SDK also now has examples to show how easy it is to use!
Improved telemetry 📡📊
We’ve improved the consistency and scope of our telemetry to include our database calls, Docker orchestration and even our Lotus node integration!
This improves the quality of the data the team has to work with so that we can build a more reliable, performant Bacalhau. It also allows compute providers to better understand what their nodes are doing.
Telemetry only runs if specially configured and only on requestor and compute nodes. As ever, Bacalhau supports the Do Not Track standard so clients can choose to opt out of telemetry.
Running jobs from FVM ⛓️🚀
Bacalhau can now be called directly from FVM smart contracts on the Filecoin Hyperspace testnet!
Using our FVM/Bacalhau bridge, on-chain smart contracts can perform arbitrary compute over external data using all the power of Bacalhau jobs. This means that Bacalhau can now be used both as an oracle for FVM and as a way to trigger inexpensive computation from a smart contract.
As an example, you can now use Bacalhau to trigger Stable Diffusion jobs and return random numbers from the Drand randomness beacon directly to a smart contract!
We’ll be providing permanent contract addresses for the Bacalhau bridge shortly.
Thanks for reading our project report! Subscribe for free to receive future updates about our work.
Questions/comments? Let us know!
Thanks for reading!
Your Humble Bacalhau Team
<!-- Place this tag where you want the button to render. -->
<a class="github-button" href="https://github.com/filecoin-project/bacalhau" data-color-scheme="no-preference: light; light: light; dark: dark;" data-size="large" aria-label="Star filecoin-project/bacalhau on GitHub">Star</a>
Thanks for reading Project Bacalhau! Subscribe for free to receive new posts and support my work.