Comments (2)
We need a proxy like nginx or envoy to communicate the cloud system with the exterior while load-balancing resources.
For the heavy task, we may want to use WebAssembly so we can use almost the same (native) code in the cloud nodes and in the user browser as well as achieving a better performance than using JS alone in the browser.
The problem with using WebAssembly only in the browser is the (efficient) communication between the browser and the cloud. We can address this problem by:
- Use HTTP to communicate and use JSON as a way to communicate nodes. Easy to implement.
- User GRPC and Protocol Buffers to communicate between nodes. To do that, we will need to use JS to retrieve the response from the webassembly execution and then send it over grpc.
It seems that GRPC is not supported in Go over WebAssembly, but, this repo seems to solve it: https://github.com/johanbrandhorst/grpcweb-wasm-example.
from gocey.
Done
from gocey.
Related Issues (20)
- Continuous Integration HOT 1
- As an examiner, I want to know the motivations of the work so that I can evaluate it properly. HOT 3
- As a non-tech-savvy user, I want to start contributing to a problem from my browser so that I do not need to install anything on my computer. HOT 1
- As a non-tech-savvy user, I want to be able to select which project I want to contribute to so that I can collaborate in something I am interested in. HOT 4
- As a researcher, I want to upload problems so that users can collaborate to it.
- As a tech-savvy user, I want to contribute to the problem by running code natively so that I can achieve better performance. HOT 1
- As a researcher, I want to communicate browser-based nodes and native nodes so that both can work together towards a solution.. HOT 1
- As a researcher, I want an interface for native nodes comunications so that using the distributed system is easier. HOT 1
- As an Administrator, I want to get metrics from the execution of problems so that I can assess how the system is performing. HOT 3
- As an Administrator, I want to run a demo problem so that I can test the platform. HOT 2
- As a researcher, I want an interface for browser-based nodes comunications so that using the distributed system is easier.
- As a possible contributor, I want to have all functions tested so that my own contributions can be checked before being added. HOT 1
- You should also test, not only train HOT 1
- As a deployer, I want to deploy the system in a new machine so that I can run it.
- Representación de soluciones HOT 6
- Cloud based system HOT 1
- Browser based UI HOT 1
- Problems to test the platform HOT 1
- As a researcher, I want different systems to communicate between each others with a common solution representation so that all of them can work with it and share it. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gocey.