Rank 2: Process
gonna check
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 2: Process
gonna check
And also, what's your Appwrite version?
Rank 2: Process
0.49 1min, 0.25 5min 0.17 15min
Rank 2: Process
1.4.7
Rank 2: Process
No but there are tons of logs. Which container should I look at? mariadb?
Appwrite if there's something related there
I would try upgrading to the latest patch, since it has bug fixes. This could be a bug. Remember performing a backup previously
Rank 2: Process
No, only errors regarding documents already existing which I asume to be when I add before update if existing in my app.
In fact one of the patches had an upgrade in the database framework so it could solve the issue
Rank 2: Process
OK, thx. Btw, I'm never sure about the upgrade process : can I skip right from 1.4.7 to any 1.4.x ? (x > 7)
You can go directly to the latest patch
Important to have a backup for in case something goes wrong
Rank 2: Process
sure 🙂
Tell me of upgrading solved the issue
What are the specs on your server?
Rank 2: Process
6GB RAM + 4 GB Swap. 2 Cores of a Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz
A couple of users for the moment.
Rank 2: Process
Just upgraded to .13. Will take you updated asap. Thx.
Rank 2: Process
Hi, so far so good: 1,90s, way better even if it may seem a bit long just for a login (?) but the other requests times are ok too. Gonna upgrade my prod server and check if things are better too.
2s seems reasonable, but I find it a bit high too 🤔
How are you benchmarking it?
Hey 👋 When working on some cloud features, I noticed similar behaviour for me. I suspect it might be passwod hashing causing this (we might have updated some configuration for our Cloud, but instead updated it it open-sourced version too).
Can you please try to use Users API and import user with MD5-hashed password? Lets see if that is faster
Or anonymous session, it also skips password hashing
Rank 2: Process
In Chrome (Performance tab). Of course the network can be a bottleneck but the upgrade to .13 did the trick. Just upgraded my prod server and got the same result (~1.5sec / login). Thx.
Rank 2: Process
Hi Matej. Not sure what you mean: you want me to "import" a User? You mean "create" a new user with MD5-hashed mode?
Hi 👋 Yes please. The idea is to create session without hashing it, and see if that makes it quicker.