Answer the question
In order to leave comments, you need to log in
Ruby, Python or NodeJS for a service?
For the last month, the question has been tormenting on what is the best way to write a service: Ruby, Python or NodeJS. The essence of the service is to issue dynamics (standard http server), and in free time (at night) to analyze the received statistics and data. Simply put, when there is no one, the demon starts moving data in the background, and as soon as activity appeared, it slowed down and gave a couple of cores back. And from this follows the question: what language will allow this? (I understand that they are all. Which one is more preferable.).
I choose a language for more than one project and I would like to choose one that would allow me to write not only blogs and landing pages (but also them too), but also serious services with a large amount of data.
At the moment I operate:
JS - 2 years
PHP - 2 years
PERL - 0.5 years.
C++ - 1 year
I’ve been playing around with node for the second week already, everything is cool (After PHP, it’s a fairy tale in general), but there is a feeling that something is missing.
PS due to age and little work experience, I can be stupid in understanding the distribution of the system.
Answer the question
In order to leave comments, you need to log in
It makes no sense to do it with one service. These are different tasks, write two separate applications, they don't even need to communicate with each other, just read and write to the same database. The analytics service can generally be placed on a separate server and even from another host.
The task of redistributing resources is parallel to the web muzzle. You can use different tools for different tasks. Python is good for data.
Node.JS is not suitable due to its asynchronous nature.
Therefore, taking into account your experience, I recommend PHP, and look towards queues.
I do not recommend Ruby or Python just because of the lack of experience.
I've been playing with Noda for the second week, everything is cool
Get started with Django. When you start to understand python, move on to something else.
Django-Rest-Framework / Django-Pie in the afternoon
Django + celery by night
I support about Golang.
C-shaped syntax, static typing, multithreading (lightweight threads), asynchrony, a very fast garbage collector, a rich standard library, a large number of third-party packages on a variety of topics, and many other goodies, including the presence of far from the only full-fledged free IDE ( if anyone is using).
Suitable for both web and analytics.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question