博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
ice glacier2 java_ICE提纲之demo/Glacier2/callback(跨网回调)
阅读量:1544 次
发布时间:2019-04-21

本文共 2642 字,大约阅读时间需要 8 分钟。

#

# Set the instance name

#

Glacier2.InstanceName=DemoGlacier2

#

# The client-visible endpoint of Glacier2. This should be an endpoint

# visible from the public Internet, and it should be secure.

#

Glacier2.Client.Endpoints=ssl -p 4064 -h localhost

#

# The server-visible endpoint of Glacier2. This endpoint is only

# required if callbacks are needed (leave empty otherwise). This

# should be an endpoint on an internal network (like 192.168.x.x), or

# on the loopback, so that the server is not directly accessible from

# the Internet.

#

Glacier2.Server.Endpoints=tcp -h localhost

#

# For this demo, we use a null permissions verifier.

#

Glacier2.PermissionsVerifier=DemoGlacier2/NullPermissionsVerifier

#

# The timeout for inactive sessions. If any client session is inactive

# for longer than this value, the session expires and is removed. The

# unit is seconds.

#

Glacier2.SessionTimeout=30

#

# Glacier can forward requests buffered or unbuffered. Unbuffered

# means a lower resource consumption, as buffering requires one

# additional thread per connected client or server. However, without

# buffering, messages cannot be batched and message overriding doesn't

# work either. Also, with unbuffered request forwarding, the caller

# thread blocks for twoway requests.

# The default is to use buffering (=1), in both directions.

#Glacier2.Client.Buffered=0

#Glacier2.Server.Buffered=0

#

# These two lines instruct Glacier2 to forward contexts both for

# regular routing, as well as for callbacks (reverse routing).

#

Glacier2.Client.ForwardContext=1

Glacier2.Server.ForwardContext=1

#

# To prevent Glacier2 from being flooded with requests from or to one

# particular client, Glacier2 can be configured to sleep for a certain

# period after all current requests for this client have been

# forwarded. During this sleep period, new requests for the client are

# queued. These requests are then all sent once the sleep period is

# over. The unit is milliseconds.

#

Glacier2.Client.SleepTime=500

Glacier2.Server.SleepTime=500

#

# With the two settings below, Glacier2 can be instructed to always

# batch oneways, even if they are sent with a _fwd/o instead of a

# _fwd/O context.

# The default value for Glacier2.Client.AlwaysBatch and

# Glacier2.Server.AlwaysBatch is 0.

#Glacier2.Client.AlwaysBatch=1

#Glacier2.Server.AlwaysBatch=1

#

# Glacier2 always disables active connection management so there is no

# need to configure this manually. Connection retry does not need to

# be disabled, as it's safe for Glacier2 to retry outgoing connections

# to servers. Retry for incoming connections from clients must be

# disabled in the clients.

#

转载地址:http://hhrdy.baihongyu.com/

你可能感兴趣的文章
strlen()
查看>>
C语言开平方与求幂次
查看>>
判定三角形与求面积
查看>>
C语言绝对值
查看>>
最快求最大公约数与最小公倍数
查看>>
维度建模关系
查看>>
MySQL基础语法
查看>>
数仓拉链表
查看>>
Spark join调优
查看>>
SparkSQL用UDAF实现Bitmap函数
查看>>
Hive简介及快速安装
查看>>
Hive基本DDL
查看>>
实时数仓建设思考与方案记录
查看>>
Traceback (most recent call last): File“...” , in <module> xxx NameError: name
查看>>
python中的 “ FileNotFoundError: [Errno 2] No such file or directory: .jpg ”
查看>>
eclipse在debug时出现Unexpected error (103) returned by AddToSystemClassLoaderSearch Unable to add乱码问题
查看>>
[菜鸟出现的问题]org.thymeleaf.exceptions.TemplateInputException: Error resolving template []
查看>>
使用Linux搭建多操作系统ngrok服务(内网穿透)
查看>>
软件工程测试题(雨课堂学堂在线选择题汇总)
查看>>
操作系统真象还原实验记录之实验十三:内存管理系统
查看>>