Is Erlang the right choice for a webcrawler?

后端 未结 3 895
梦毁少年i
梦毁少年i 2021-02-04 09:06

I am planning to write a webcrawler for a NLP project, that reads in the thread structure of a forum everytime in a specific interval and parses each thread with new content. Vi

3条回答
  •  一整个雨季
    2021-02-04 09:53

    Erlang is fine for this. Its regex library delegates (nearly all) work to PCRE, which should be fast enough. But avoid strings and use binaries instead! They both use a lot less memory and are faster to translate to C strings.

提交回复
热议问题