Skip to content

SDK performance optimization #1236

Closed
Closed
@ogmios-voice

Description

@ogmios-voice

Unfortunately the code of the SDK seems to be highly unoptimized. While it's pretty stable (definitely the most important factor), a lot of code looks like to be written by juniors / inexperienced programmers: excess object creation, excess conversions (e.g. in DynamoDB), etc., all of them wasting memory and CPU, while also affecting the GC, thus the stability of the whole application. Some of them could be fixed easily, others might also need architecture redesign. (I've seen so many performance related problems in the code, that I simply cannot open a new issue for all of them.)
Of course it won't really make a difference in very poorly written applications, but I would be really interested in the memory and CPU overhead of the different projects of the SDK in stress tests, especially in case of databases.

While this is an "epic" request, involving a lot of testing and profiling, and would require a senior developer with decent experience in optimization to watch over the whole process, it would greatly improve the quality of the SDK (if the new code is also produced with these quality measures in mind).

Metadata

Metadata

Assignees

No one assigned

    Labels

    guidanceQuestion that needs advice or information.response-requestedWaiting on additional info or feedback. Will move to "closing-soon" in 5 days.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions