TWMSSS / hlhsinfo

This is a program that can let you get not only the information of Hualien High School's information but also others'.
https://hlhsinfo.muisnowdevs.one
Apache License 2.0
0 stars 0 forks source link

Code Rewrite #1

Open 000hen opened 1 year ago

000hen commented 1 year ago

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 commented 1 year ago

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

造成不便敬請見諒

-- TWMSSS Developers

000hen commented 1 year ago

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

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

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

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

以上為重寫版本的簡述。