mastodon.world is one of the many independent Mastodon servers you can use to participate in the fediverse.
Generic Mastodon server for anyone to use.

Server stats:

12K
active users

#litestream

0 posts0 participants0 posts today

Anyone using #litestream for an #sqlite DB

I have a 3GB database, and Litestream is replicating it to another server. However, it seems to be running out of control with disk space. On the original server (where the live DB is) is a
generations folder under the hidden litestream folder. It is full of WAL files. Currently over 37,000 files consuming 118GB of disk space.

My config includes
retention: 24h and retention-check-interval: 1h with a snapshot-interval: 4h. I understood it would delete anything older than 24 hours. Am I doing something wrong? These wal files go back to the day I started using litestream

#GoToSocial #gts @gotosocial@thefedi.forum

Anyone using #litestream for an #sqlite DB

I have a 3GB database, and Litestream is replicating it to another server. However, it seems to be running out of control with disk space. On the original server (where the live DB is) is a generations folder under the hidden litestream folder. It is full of WAL files. Currently over 37,000 files consuming 118GB of disk space.

My config includes retention: 24h and retention-check-interval: 1h with a snapshot-interval: 4h. I understood it would delete anything older than 24 hours. Am I doing something wrong? These wal files go back to the day I started using litestream

🌖 Ruby on Rails 的 LiteStack 簡介 | AppSignal Blog
➤ Ruby on Rails 的 LiteStack 簡介
blog.appsignal.com/2023/09/27/
本文介紹 LiteStack,一個一站式解決方案,可在單臺機器上託管和處理所有生產數據。LiteStack 使用 SQLite 提供數據庫、ActiveJob、ActionCable 和 ActiveSupport::Cache 存儲。此外,本文還介紹了 Litestream 和 StableDiffusion,並提供了一個示例 Rails 應用程序。
+ 這篇文章提供了很好的 LiteStack 簡介,並且還有一個有趣的示例應用程序。
+ 很棒的文章,對於 Ruby on Rails
#Ruby on Rails #LiteStack #SQLite #ActiveJob #ActionCable #LiteCache #Litestream

AppSignal Blog · An Introduction to LiteStack for Ruby on Rails | AppSignal BlogIn the first part of this series, we'll set up an example Rails application and introduce the basics of LiteStack.

🌘 我全力支持服務器端SQLite · The Fly Blog
➤ SQLite數據庫的歷史和優點,Litestream的介紹和使用方法。
fly.io/blog/all-in-on-sqlite-l
本文介紹了SQLite數據庫的優點,並介紹了Litestream,一個開源項目,通過複製實現了SQLite在全棧應用程序中的可行性。Litestream使用SQLite的WAL模式日誌記錄,實現了數據庫的高可用性和並發性。
+ 這篇文章很好地介紹了SQLite數據庫和Litestream的優點,讓我對它們有了更深入的瞭解。
+ Litestream的使用方法很簡單,讓我對在全棧應用程序中使用SQLite數據庫有了更多信心。
#數據庫 #SQLite #Litestream

FlyI'm All-In on Server-Side SQLiteBen Johnson has joined Fly.io
Replied in thread

@chrisg If you had to rank them in order, which aspects are most/least important to your vision?

- storage engine
- replication protocol(s)
- backup / resilience mechanisms
- query / indexing modes
- primary means of access (web, SQL, ...)
- license

Do you see this falling somewhere on the #SQLite / #Litestream / #LiteFS spectrum, or are you envisioning a new greenfield project?

Replied in thread

@serge The Litestream website has a nice overview of similar alternatives: litestream.io/alternatives/

Quite nice selection for various priorities and trade-offs.

TL;DR:
- #Litestream is primarily for disaster recovery
- #LiteFS is a distributed file system from the same authors for "high availability and low global latency"
- #rqlite (and #dqlite) " trades higher durability for lower write throughput"

litestream.ioAlternatives - LitestreamLitestream replicates SQLite databases in real-time to S3.