Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

サーバーダウンについて #9

Open
akazdayo opened this issue May 28, 2024 · 6 comments
Open

サーバーダウンについて #9

akazdayo opened this issue May 28, 2024 · 6 comments

Comments

@akazdayo
Copy link
Owner

日本語

最近予想以上のアクセス数があり、2日に一回ほどサーバーがダウンしてしまっています。
改善方法を考えている所なのでご不便おかけしますが、もう少しお待ちください。

English

Recently we have had more traffic than expected and our server has been down about once every two days.
We are working on ways to improve the situation, so we apologize for any inconvenience.
(Translate by DeepL)

@akazdayo
Copy link
Owner Author

akazdayo commented Jun 7, 2024

主な処理をDLLで実装する方針にしてみます。

@akazdayo
Copy link
Owner Author

結局あれはやめました。ちょっと難しかった...
できるか全くわからないけど、一番重いKMeansあたりの処理をCloudflare Workersに移動してみようかな

@akazdayo
Copy link
Owner Author

akazdayo commented Sep 5, 2024

Workersに移すのもまたやめて、主要処理をRustに移しました。
https://github.com/akazdayo/pixelart-modules

@akazdayo akazdayo closed this as completed Sep 5, 2024
@akazdayo akazdayo reopened this Sep 7, 2024
@akazdayo
Copy link
Owner Author

c857b55
Mosaic Ratio0.5~はPixelArtでは無いし、処理が重いので制限することにしました。
これでメモリリークが直ると嬉しい

@akazdayo
Copy link
Owner Author

対策したらもっと落ちるようになった。なんでかな。

@akazdayo
Copy link
Owner Author

出力画像をbase64エンコードしてみた。
これで画像はローカル側で表示するようになったはず。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant