Migrating away from acid-state

オープン
#1,486 コメント 17 件 リアクション 9 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
リファクタリング
明瞭さ
説明が足りない
活発さ
静か
技術スタック
haskell, postgres
領域
backend, databases

調査の方向性

ファイル、テスト、エントリポイントは指定されていないため、まず hackage-server における現在の acid-state の使用状況と、#1276 および #1467 の議論を確認してください。実装前に、移行の境界、バックアップとデータ移行の方針、および検索エンジンの置き換えを定義してください。acid-state に依存せずに、記載された運用上の目標を達成できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Hi there,

I've got some open source budget at work, and would like to put it towards hackage-server. In particular, my thoughts were to replace the usage of acid-state with a postgres database. By my reading, this would allow us to:

  1. use traditional database backup techniques
  2. remove a huge amount of code around managing tarball backups
  3. dramatically lower hackage-server's memory footprint
  4. probably solve #1276
  5. remove the custom search engine implementation
  6. allow for migrating data separately from shipping new binaries, which in turn will likely improve uptime

All of this is likely to help #1467 as well.

I just wanted to ensure there is an appetite for this work before I invest too much time. Happy to setup a call and discuss the finer details as well.

主要言語
Haskell
スター
471
フォーク
228
平均マージ
5日 6時間
マージ済み PR(30日)
3

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

haskell/hackage-server のほかの issue

haskell/hackage-server の issue をすべて見る

似ている issue

Haskell の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。