← Back to context

Comment by xet7

5 days ago

> Wekan, which does run admirably well on Sandstorm, pulls an entire Mongodb instance into each grain.

There is only MongoDB raw database files at each WeKan grain, similar to SQLite. MongoDB 3 server version is same for every grain.

In progress is adding SQLite support to WeKan.

Using Caddy 2 at front, I host Sandstorm, many WeKan Snap and RocketChat at same server. Sandstorm has many websites, etc software in use. At Sandstorm, only those grains are running and use RAM where is logged in user, this is much more efficient that Docker or Snap where container is running all the time.

https://github.com/wekan/wekan/blob/main/docs/Platforms/FOSS...

https://github.com/wekan/wekan/wiki/Sandstorm

https://github.com/wekan/wekan/wiki/Caddy-Webserver-Config

There is also development towards next version of Sandstorm, that is Tempest:

- https://sandstorm.org/news/2023-10-23-sandstorm-tempest-and-...

- https://github.com/sandstorm-org/tempest

- https://sandstorm.zulipchat.com/

> MongoDB 3 server version is same for every grain.

Can you elaborate on that? If I have 2 Wekan grains open (active) are there not two Mongo instances running? How do the two grains share resources?

Edit: oh you mean the Mongo binary is shared, because the two grains share their "image" separate from their data directory? Yes that's a good point!