Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Code Rewrite #1

Open
000hen opened this issue Jun 11, 2023 · 2 comments
Open

Code Rewrite #1

000hen opened this issue Jun 11, 2023 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@000hen
Copy link
Collaborator

000hen commented Jun 11, 2023

Considering the inefficient performance, messy code, and poor integration between the server and client in the current version of the HLHSInfo server code implemented in NodeJS, we have decided to rewrite HLHSInfo. This repository will be archived.

The new code will separate the client and server API into separate repositories and will be organized based on server-side and client-side categories for execution.

@000hen
Copy link
Collaborator Author

000hen commented Jun 19, 2023

目前伺服器端遇到的bug將不會修復,我們將會在新的版本 hlhsinfo_backend_server 裡進行修復。

造成不便敬請見諒

-- TWMSSS Developers

@000hen
Copy link
Collaborator Author

000hen commented Jun 23, 2023

有關於重寫版本的HLHSInfo內容,我在此敘述:

首先,我們將把HLHSInfo的後端程式代碼轉移從NodeJS移至Rust。以目前的測試結果而言,HLHSInfo的性能提升約 5.48 倍,並且系統佔用(RAM)約可減少 14.25 倍,整體效能利用大幅成長。

再者,我們將分離前後端,避免伺服器端不必要的消耗。我們預計使用Cloudflare Pages來作為我們的前端靜態伺服器。

最後,我們將在重寫版本裡新增多學校查詢功能。您可以使用HLHSInfo查詢各個學校的資料,唯一限制為該校必須使用相同的查詢系統。

以上為重寫版本的簡述。

@000hen 000hen added the documentation Improvements or additions to documentation label Jun 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants