DEV Community

Discussion on: 9 Steps to Get 100 Stars on GitHub

Collapse
 
ender_minyard profile image
ender minyard

"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.

GitHub logo genderev / assassin

Assassin is a decentralized database that uses background threads to kill slow JavaScript.

ASSASSIN

GitHub license GitHub license1 GitHub license GitHub license2 GitHub license31 GitHub license3 GitHub license4 GitHudk

Background

Usage

Why do we need a new database?

  • 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.

web worker diagram

Features 💥

💫  Lightweight

Collapse
 
nastyox1 profile image
nastyox

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!

Collapse
 
ender_minyard profile image
ender minyard

Do you mind if I make that my repo description?

Thread Thread
 
nastyox1 profile image
nastyox

Not at all!