hardware requirement to run freedit and performance benchmark

โš“ Dev    ๐Ÿ“… 2023-06-05    ๐Ÿ‘ค steve    ๐Ÿ‘๏ธ 124      

steve

Warning

This post was published 114 days ago. The infomation described in this article may have changed.

Is there any minimum and recommended requirements to run freedit instance?

Is there any benchmark or analysis on how scalable freedit is? How many users and posts it can support on what hardware?

Like how much CPU, RAM per user, post, โ€ฆ?

Any bottlenecks in performance like on database, search, images, โ€ฆ?

๐Ÿท๏ธ benchmark ๐Ÿท๏ธ performance

freedit    2023-06-06 ๐Ÿ‘ ๐Ÿ‘Ž

I think itโ€™s enough to run v0.4*(without search) in a 128m machine. And it required 256m memory to run v0.5(with search). And if you have ten thousands posts to index, it may exhaust virtual memory and killed by system.

Considering itโ€™s very cheap to have a basic vps, I think itโ€™s better run on 1core 512mb.

1

freedit    2023-06-06 ๐Ÿ‘ ๐Ÿ‘Ž

The database sled, an embedded database like rocks-db and SQLite, is not scalable very well. So itโ€™s a simple monolith.

And the id is u32, which means you can not have more than 4.2b posts/items/comments/usersโ€ฆ

2