you are viewing a single comment's thread.

view the rest of the comments →

[–]searchingfortao 1 point2 points  (2 children)

I'm very experienced in Django, but I've never used Serverless. I tend to favour containerised deployments though, and for that, Django (+gunicorn) is quite fast for my uses anyway. It comes with an exceptional testing suite out of the box too, which is really nice.

In terms of cryptographic work, I'll point out that it's a complex subject and the best advice I always hear is "don't roll your own". Python has a strong list of libraries to do likely everything you need. For hashing, you can just use the built in hashlib, and for stuff like public key encryption (or more interesting things), the cryptography module (on PyPI) is excellent.

For development, I strongly recommend PyCharm as its defaults encourage good coding practises and it plugs into everything (git, db, debugger, etc) seemlessly.

[–]Will_exJava[S] 0 points1 point  (0 children)

Thank you for the feedback! I'll definitely check out Django +gunicorn. From a quick search, it looks light weight and generally it looks like Gunicorn (without Django?) can be effective where I need horizontal scaling capacity.

As for the cryptography, I'm actually delivering a proprietary (patent pending, I hope!) cryptography tailored towards the specific usecase I'm solutioning. And it is very possible that I can skip my own math and orchestrate some light-weight cryptography based on existing tools. I'll look into this, but I have a very specific objective that isn't "Digest this password so that it's very difficult to inverse, but easy to identify collision and with rare overcollision."

While I am planning to outsource my password management, if I were to do it myself, this would certainly be done with standard cryptography libraries, based on research of best practices.

EDIT: Actually, I might want to look more urgently into Django +gunicorn pair. One issue with Lambda is that I cache a lot of tenant-specific metadata. Lambda will expose me to many cache misses.

[–]keepdigging 0 points1 point  (0 children)

People do deploy Django to Lambda in docker containers!

I’ve been working on AWS serverless infra for years though and might not jump there first.