Nacos架构&原理
将虚拟节点放入 Hash 环中 circle.put(hashcode, node); } // 异步监听节点存活状态 etcdManager.watchEtcdKeyAsync(REGISTER_WORKER_PATH, true, response -> { for (WatchEvent event : response.getEvents()) { // 删除事件,从内存中剔除此节点及 Hash 环上节点 nodeCaches.remove(ks[3]); try { // 心跳丢失,清除 etcd 上该节点的处理任务 manager.deleteEtcdValueByKey(PER_WORKER_PROCESS_SERVICE.concat(SL ASH).concat(ks[3]), true); } catch (InterruptedException e) { log.error("clear 删除多余的节点同步 specialSyncEventBus.unsubscribe(taskDO); // 删除多余的节点处理任务数 proxy.deleteEtcdValueByKey(PER_WORKER_PROCESS_SERVICE.concat(SLASH).concat(IPU tils.getIpAddress()).concat(SLASH).concat(taskDO.getServiceName())0 码力 | 326 页 | 12.83 MB | 9 月前3Spring Boot 1.4.0.RELEASE Reference Documentation
IP addresses. server.tomcat.max-threads=0 # Maximum amount of worker threads. server.tomcat.min-spare-threads=0 # Minimum amount of worker threads. server.tomcat.port-header=X-Forwarded-Port # Name of server.undertow.io-threads= # Number of I/O threads to create for the worker. server.undertow.worker-threads= # Number of worker threads. # FREEMARKER (FreeMarkerAutoConfiguration) spring.freemarker0 码力 | 554 页 | 493.90 KB | 1 年前3Spring Boot 1.4.0.M2 Reference Documentation
IP addresses. server.tomcat.max-threads=0 # Maximum amount of worker threads. server.tomcat.min-spare-threads=0 # Minimum amount of worker threads. server.tomcat.port-header=X-Forwarded-Port # Name of server.undertow.io-threads= # Number of I/O threads to create for the worker. server.undertow.worker-threads= # Number of worker threads. # FREEMARKER (FreeMarkerAutoConfiguration) spring.freemarker0 码力 | 328 页 | 1.74 MB | 1 年前3Spring Boot 1.4.0.M2 Reference Documentation
IP addresses. server.tomcat.max-threads=0 # Maximum amount of worker threads. server.tomcat.min-spare-threads=0 # Minimum amount of worker threads. server.tomcat.port-header=X-Forwarded-Port # Name of server.undertow.io-threads= # Number of I/O threads to create for the worker. server.undertow.worker-threads= # Number of worker threads. # FREEMARKER (FreeMarkerAutoConfiguration) spring.freemarker0 码力 | 531 页 | 477.38 KB | 1 年前3Spring Boot 1.4.x-SNAPSHOT Reference Documentation
IP addresses. server.tomcat.max-threads=0 # Maximum amount of worker threads. server.tomcat.min-spare-threads=0 # Minimum amount of worker threads. server.tomcat.port-header=X-Forwarded-Port # Name of server.undertow.io-threads= # Number of I/O threads to create for the worker. server.undertow.worker-threads= # Number of worker threads. # FREEMARKER (FreeMarkerAutoConfiguration) spring.freemarker0 码力 | 570 页 | 508.60 KB | 1 年前3Spring Boot 1.4.x-SNAPSHOT Reference Documentation
IP addresses. server.tomcat.max-threads=0 # Maximum amount of worker threads. server.tomcat.min-spare-threads=0 # Minimum amount of worker threads. server.tomcat.port-header=X-Forwarded-Port # Name of server.undertow.io-threads= # Number of I/O threads to create for the worker. server.undertow.worker-threads= # Number of worker threads. # FREEMARKER (FreeMarkerAutoConfiguration) spring.freemarker0 码力 | 356 页 | 1.88 MB | 1 年前3Spring Boot 1.4.0.RELEASE Reference Documentation
IP addresses. server.tomcat.max-threads=0 # Maximum amount of worker threads. server.tomcat.min-spare-threads=0 # Minimum amount of worker threads. server.tomcat.port-header=X-Forwarded-Port # Name of server.undertow.io-threads= # Number of I/O threads to create for the worker. server.undertow.worker-threads= # Number of worker threads. # FREEMARKER (FreeMarkerAutoConfiguration) spring.freemarker0 码力 | 345 页 | 1.83 MB | 1 年前3Spring Boot 1.4.5.RELEASE Reference Documentation
IP addresses. server.tomcat.max-threads=0 # Maximum amount of worker threads. server.tomcat.min-spare-threads=0 # Minimum amount of worker threads. server.tomcat.port-header=X-Forwarded-Port # Name of server.undertow.io-threads= # Number of I/O threads to create for the worker. server.undertow.worker-threads= # Number of worker threads. # FREEMARKER (FreeMarkerAutoConfiguration) spring.freemarker0 码力 | 355 页 | 1.87 MB | 1 年前3Spring Boot 1.4.5.RELEASE Reference Documentation
IP addresses. server.tomcat.max-threads=0 # Maximum amount of worker threads. server.tomcat.min-spare-threads=0 # Minimum amount of worker threads. server.tomcat.port-header=X-Forwarded-Port # Name of server.undertow.io-threads= # Number of I/O threads to create for the worker. server.undertow.worker-threads= # Number of worker threads. # FREEMARKER (FreeMarkerAutoConfiguration) spring.freemarker0 码力 | 566 页 | 506.66 KB | 1 年前3Spring Boot 1.4.4.RELEASE Reference Documentation
IP addresses. server.tomcat.max-threads=0 # Maximum amount of worker threads. server.tomcat.min-spare-threads=0 # Minimum amount of worker threads. server.tomcat.port-header=X-Forwarded-Port # Name of server.undertow.io-threads= # Number of I/O threads to create for the worker. server.undertow.worker-threads= # Number of worker threads. # FREEMARKER (FreeMarkerAutoConfiguration) spring.freemarker0 码力 | 566 页 | 505.96 KB | 1 年前3
共 232 条
- 1
- 2
- 3
- 4
- 5
- 6
- 24