Skip to content

Pre-load Workspace #12

@yushan87

Description

@yushan87

As the compiler gets used more and more by the RESOLVE WebAPI, the problem we are going to run into is the massive amounts of Disk IO Reads to retrieve the files needed for compilation. The proposed solution is to create a file representation (MetaFile) at start time that contains all the file's hierarchy information and the data stored in the file.

However, there is a problem if the RESOLVE workspace is updated and we have multiple WebAPI back ends. In this case, either we restart all WebAPI instances to regenerate all the MetaFile or we need some other way to notify all the WebAPI's and them regenerate the MetaFile without having to restart.

Personally, I think option number 2 is much more appealing, but we need to figure out a way to broadcast the message to all the WebAPI backends simultaneously. Currently, there isn't a way to do this, so this is something worth looking into in the future.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions