Morango memory performance improvements

Đang mở
#279 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@bjester đang làm issue này rồi.

Từ ngày 7/1/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

TAG: performance

What problem are we solving?

  • Memory consumption performance issues with large syncs
  • Addressing architectural things that will further enhance “streaming” syncs

How do we know this is successful?

  • When a large instance (VF DRC on BCK) can sync with KDP, without getting OOM killed on either side

Who is this for?

  • Our own sanity
  • Our users and timely access to their facility data

Are there any assumptions or constraints?

  • We’re likely not going to make the sync any faster by addressing memory issues
    • Although, with proactive planning, we can lay out the improvements to later on address the loss of speed with more drastic restructuring of the sync process itself
  • We should ensure we have locking mechanisms in place to prevent concurrent syncing complications

What approaches/risks were discussed during planning?

  • Overall, breaking down the syncing process into ETL (extract, transform, load) procedures
    • Source models →Transform → Store
    • Store → Transform → Buffer
    • Buffer → Transfer → Buffer
    • Buffer → Transform → Store
    • Store → Transform → Source models
  • Morango doesn’t differentiate between single field updates and full record updates
  • Feasibility of progress tracking in queuing, serialization, dequeuing, and deserialization
  • How the data structure or handling will change with other planned work— possibly integrating CRDTs
  • Managing foreign keys and data relationships to ensure data integrity

What is out of scope?

  • Addressing slow queries
  • Directly addressing speed performance loss

Acceptance Criteria

  • Backwards compatibility
  • Improved memory performance for both Postgres and SQLite database backends
  • Architectural improvements that will enable us to scale it further

Workspace & Resources

Ngôn ngữ chính
Python
Star
15
Fork
27
Merge trung bình
6 ngày 44 phút
Pull request đã merge (30 ngày)
13

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của learningequality/morango

Tất cả issue của learningequality/morango

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.