SolidLabResearch / Challenges

24 stars 0 forks source link

The Community Solid Server should scale to use available resources (multithreading) #20

Closed Falx closed 2 years ago

Falx commented 2 years ago

Pitch

When deploying or hosting the Community Solid Server (CSS) you want to be able to use all available hardware resources. Right now the CSS is running in a single threaded matter. With current CPUs consisting of multiple cores, the CSS could use those extra cores to be able to handle more load, or handle requests while executing a longer running task on another core.

Desired solution

There are multiple approaches to make the CSS multithreaded, the discission about this can be tracked in this issue.

Another important part is allowing the locking mechanism to support multithreading. Right now when some process writes to a file, that file is locked and cannot be read/written by another process (in some cases the processes can at least read). This issue should be solved for all configurations, so that locking strategies can be considered (multi)thread-safe.

Acceptance criteria

Pointers

Current relevant issues:

pheyvaer commented 2 years ago

@Falx Considering that https://github.com/CommunitySolidServer/CommunitySolidServer/issues/322 is closed, what still need to happen for this challenge to be completed?

Falx commented 2 years ago

You are right, sorry, this can be closed!