Answer the question
In order to leave comments, you need to log in
Who is better at sending messages?
Good day.
Tell me, please, which of the two monsters (Java and python) will quickly cope with the simultaneous sending of 10'000 \ 100'000 messages?
Whose backend will win?
Answer the question
In order to leave comments, you need to log in
no one, for such tasks the language is secondary, everything will depend on the architecture.
I have a similar task in a personal project (messages are not exactly messages, in the sense of a chat, but the load is planned somewhere nearby), I looked in different directions, then I realized that I was fooling around and took firebase ...
in projects with such a load, critical parts are taken out to something smart and asynchronous (in the case of a chat) for example go or node.js
ps if this is your pet project and you cannot give a 100% guarantee that such a load will be (by guarantee I mean a well-thought-out promotion strategy and a good advertising budget), write to whatever you want and don't worry
Well, Java is faster than Python.
but there are several buts:
1) the task - it can be done in such a way that only python or only java can handle it by a wide margin
2) there are all sorts of pypy that work faster than a regular interpreter
3) which is faster than java or jython?)
And where to send something? In /dev/null?
Fire and Forget? Then it doesn't matter.
Depends on the type of messages, their volume, code quality, testing conditions, the concept of "better" tester, programmer's mood and the phase of Jupiter's satellites. And in general - it is necessary to take and test. For the concept of "better" - very, very extensible.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question