No existing decentralized databases are compatible with web workers.
What are web workers?
You can outsource JavaScript to web workers.
Web workers allow you to run multi-threaded JavaScript.
When you run JavaScript in parallel to the main thread, the main thread is free to respond to user input.
Can you explain web workers with a picture?
You can see in the diagram that without web workers (that's the "before" part of the picture), the main thread has to finish processing all JavaScript before responding to user input. With the use of web workers (that's the "after" part of the picture), the main thread can send JavaScript to web workers and then focus on updating the UI.
I think that for someone that doesn't know what a web worker is already, saying "Assassin is a decentralized database that uses background threads to kill slow JavaScript" would make more sense right off the bat. Very cool project!
"Assassin is a decentralized database that hires web workers to kill slow JavaScript."
Does that make sense? How can I make it clearer? I feel like not too many people understand the power of web workers.
genderev / assassin
Assassin is a decentralized database that uses background threads to kill slow JavaScript.
Background
Usage
Why do we need a new database?
What are web workers?
Can you explain web workers with a picture?
You can see in the diagram that without web workers (that's the "before" part of the picture), the main thread has to finish processing all JavaScript before responding to user input. With the use of web workers (that's the "after" part of the picture), the main thread can send JavaScript to web workers and then focus on updating the UI.
Features💥
I think that for someone that doesn't know what a web worker is already, saying "Assassin is a decentralized database that uses background threads to kill slow JavaScript" would make more sense right off the bat. Very cool project!
Do you mind if I make that my repo description?
Not at all!