|
|
|
|
|
by gomoboo
2045 days ago
|
|
You say that Python is unsuitable here but isn’t that subjective? 60% of the speed of Redis with its core functionality could be more than suitable for some. > It is not suitable for implementing low level primitives; because its too slow and single threaded. Redis was single-threaded for much of its life. That didn’t stop it from excelling. I’ll add that I also have worked in Python predominantly. One of the things that frustrates me about it are the packages that use lower-level language bases that need compilation during a ‘pip install’. Hunting down dependencies gets old pretty fast when you were expecting ‘just Python’. For those that are ok with that and the performance hit, Python can for sure be a suitable tool for use cases that would traditionally be tackled lower down the stack. |
|
There are no pure python low level primitives; everything is either a) wrapper, or, b) slow as hell and uses memory like a hog.
Python that wraps another language is a perfectly good way to doing things; but those low level primitives are never written in python.
...and neither are the low level primitives used in this case (—-> https://github.com/redis/hiredis).