Summary: This page is about putting filters over the network communication which goes across the WAN.
OverviewFiltering network communication across the WAN are done for two main reasons:
For both cases there are two built-in LRMI Filters. Selecting the FilterFor compression the com.gigaspaces.lrmi.nio.filters.IOStreamCompressionFilterFactory should be used and for encryption com.gigaspaces.lrmi.nio.filters.SSLFilterFactory should be used. Address Matcher File FormatEach line in the file represents a regular expression which will be applied on the remote address when a connection is established. If any of the regular expressions in the file matches that address, the filter will be created on this communication channel. For example, if you have three sites and you want to compress the communication only between these sites, you should have an address matcher file configured to point to .*Site-A.* And on Site-A the address matcher file should look like this: .*Site-B.* This file can contain more than one line and can be commented using the # char at the beginning of the line. Configuring the Gateway GSCIf you are starting your own GSC that will host the gateway processing unit, you should start it with the following system properties: -Dcom.gs.lrmi.filter.factory=<filter name> -Dcom.gs.lrmi.filter.address-matchers-file=config/<file name> If you use the built in mechanism which spawns a GSC to host the gateway you can specify custom jvm properties to be used when spawning the GSC either on the sink or delegator component (but only one of them): <os-gateway:sink id="sink" ... custom-jvm-properties="-Dcom.gs.lrmi.filter.factory=<filter name> -Dcom.gs.lrmi.filter.address-matchers-file=config/<file name>" /> or <os-gateway:delegator id="delegator" ... custom-jvm-properties="-Dcom.gs.lrmi.filter.factory=<filter name> -Dcom.gs.lrmi.filter.address-matchers-file=config/<file name>" />
|
![]() |
GigaSpaces.com - Legal Notice - 3rd Party Licenses - Site Map - API Docs - Forum - Downloads - Blog - White Papers - Contact Tech Writing - Gen. by Atlassian Confluence |