supertokens-core
supertokens-core copied to clipboard
Use https://www.graalvm.org/ instead of OpenJDK for lower RAM consumption, and to reduce the problem of cold start
This issue is thanks to the team at manycore.io
We currently use a JRE extracted from OpenJDK 12.0.2. This comes along with the SuperTokens zip file that's downloaded via our website. It's also present in the various docker containers that we ship. The docker containers can be found in the org repos list and have a name like "supertokens-docker-
Docker Image size: 161MB (for the one compatible with MySQL)
Minimum resources consumed (see the supertokens row. Others are there for a comparison):
Any news regarding this? It's been almost 2 years :-)
@edulix yeaaa.. well, this is something we definitely want to do. It's just not been too much of a problem with just using open JDK, hence haven't gotten around to doing it. However, please feel free to help out if you can.