A
A
Andrey Kovalchuk2016-10-05 15:51:39
Python
Andrey Kovalchuk, 2016-10-05 15:51:39

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

4 answer(s)
O
Oleg Gamega, 2016-10-05
@mrkovalchuk

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

B
Berloga, 2016-10-05
@Berloga

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?)

_
_ _, 2016-10-05
@AMar4enko

And where to send something? In /dev/null?
Fire and Forget? Then it doesn't matter.

V
VoidVolker, 2016-10-05
@VoidVolker

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 question

Ask a Question

731 491 924 answers to any question