zoukankan      html  css  js  c++  java
  • 面试题

    spring 生命周期

    一个请求提交到被程序接受的整个过程

    1、dns解析

    2、发起TCP的3次握手

    3、建立TCP连接后发起http请求

    4、服务器端响应http请求,浏览器得到html代码

    Mysql目前主要有以下几种索引类型:FULLTEXT,HASH,BTREE,RTREE。

    https://www.cnblogs.com/yuan-shuai/p/3225417.html

    hash索引不能范围查找,不能排序,不能用部分索引

    hash索引查询效率高。

    zookeeper:

    curator 事件类型:
    NODE_ADDED,
    NODE_UPDATED,
    NODE_REMOVED,
    CONNECTION_SUSPENDED,
    CONNECTION_RECONNECTED,
    CONNECTION_LOST,
    INITIALIZED;

    ElasticSearch
    通过ZenDiscovery负责选举, 节点之间通过ping来彼此发现。
    所有可以成为master的节点(node.master: true)根据nodeId字典排序,每次选举每个节点都把自己所知道节点排一次序,然后选出第一个(第0位)节点,暂且认为它是master节点。



  • 相关阅读:
    python中元类(metaclass)的理解
    aiohttp
    async/await
    asyncio
    协程
    Bayesian Non-Exhaustive Classification A case study:online name disambiguation using temporal record streams
    技术网址
    网站
    各种网址
    OpenGL学习网址2
  • 原文地址:https://www.cnblogs.com/zhonghan/p/9988647.html
Copyright © 2011-2022 走看看