小编woo*_*eol的帖子

为什么不通过在elasticsearch中设置刷新间隔来提高性能

我看了关于提高索引性能的网站备忘录.这是网站链接

此链接指示我如何提高性能.但是,当我习惯使用elasticsearch-py批量生成python api时,它并没有提高elasticsearch中的索引速度.

即使所有配置更改都不会影响批量索引性能.

我使用并行进程或线程.每秒最大平均30000索引.

我有什么错?

主节点:1个数据节点:5个包括主节点CPU:Intel(R)Xeon(R)CPU E5645 @ 2.40GHz RAM:32G

ES_HEAPSIZE:10G

谢谢

indexing performance bulkinsert elasticsearch

3
推荐指数
1
解决办法
6977
查看次数

如何在Erlang中启动inets?

{ok, Pid} = inets:start(httpd, [{port, 0},
2>       {server_name,"httpd_test"}, {server_root,"/tmp"},
2>       {document_root,"/tmp/htdocs"}, {bind_address, "192.168.0.31"}]).
** exception error: no match of right hand side value {error,{failed_determine_ip_address,"192.168.0.31",inet6fb4,
                                                                                          nxdomain}}
Run Code Online (Sandbox Code Playgroud)

当我尝试如上所述启动inets时,我收到一条错误消息.为什么会这样?我从API文档复制并粘贴,但我仍然无法启动inets.我怎么解决这个问题?

erlang inets

0
推荐指数
1
解决办法
461
查看次数