Search Engine 5

Interview questions

What deployment architecture es production clusters is? The amount of data each index is about how much? Each index about how many slices?

Interviewer psychological analysis

This issue, including the back of the redis something, comes es, redis, mysql sub-library sub-table and other technologies, the interview will be asked! How is your production environment deployment? To put it plainly, this issue lacks technical content, is to see you have not done this thing in a real production environment!

Some students may not be done in a production environment, and did not actually get online machine deployed es cluster, did not actually play too, did not go inside the cluster es import a few tens or hundreds of millions of the amount of data , you're less likely to know the details of it inside some production projects.

If you are playing himself over demo, not touched the real es cluster, you may at this time be ignorant. Do not ignorant, you must clear sky answer this question out, that you really done this thing.

Face questions analysis

Actually, this is nothing, if you really done es, you certainly know your actual production situation es cluster, the deployment of several machines? How many indexes? Each index How much amount of data? Each index to how many slices? You know for sure!

But if you really did not do, do not true, I tell you a basic version, you simply say that time just fine.

  • es production clusters we deployed five machines, each machine is a 6-core 64G, and cluster total memory is 320G.
  • Our daily incremental data es cluster is about 20 million a day, daily incremental data about 500MB, monthly incremental data is about 600 million, 15G. Currently, the system has been running for several months, and now the total amount of data es cluster is probably about 100G.
  • Currently there are online 5 index (the combination to your own business and see for yourself what the data can be put es), the amount of data each index is about 20G, so within this amount of data, we assigned each index eight shard, shard three more than the default five shard.

Probably say you will do.

 

Guess you like

Origin www.cnblogs.com/lingboweifu/p/11897423.html