Skip to content

Use boost shared memory to access an in-memory fst table from multiple processes  #87

Open
@MarcusKlik

Description

@MarcusKlik

See here, boost allows for the creation of memory shared between processes. For fst that could mean that a single in-memory fst table can be shared between different processes. First between R processes, for example by node in a parallel cluster (package parallel). Later, also between different fst clients, such a an R and Python client. With shared memory there is virtually no overhead in accessing a table from multiple processes.

A notable advantage is that we can run custom R methods on the same fst table, something that is not possible now (R is single threaded at it's core).

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions