17
vatson
8y

That moment when you realize that if you want fast with nodejs you should know cpp

Comments
  • 1
    More details!
  • 3
    @lostpirate long story short. We need to parse huge csv files (1mb-1gb) and format them(i18n of content, l10n of date/numbers/percentage). All data should be streamed through system with zero letency. Also there is a lot of concurrent requests. All existing modules for csv parsing and formatting date/numbers are slow. Even we will write custom implementation of it, piping of data through nodejs' streams is still bottleneck
  • 1
    I've heard Phoenix / elixir is good with concurrency
  • 3
    @aswinramakrish my teammates have already created POC with go which is x36 faster than current solution
  • 3
    This benchmark might be helpful - https://hashrocket.com/blog/posts/...
  • 3
    @aswinramakrish this proves one again that you should have cpp in your pocket ;)
Add Comment