Skip to main content

Posts

Showing posts with the label Port

Do You Know How to get performance data from WebSphere over http?

In such type of scenarios you can easily consume performance statistics from your WebSphere instance. The way is to establish a JMX connection to the JVM and gather the metrics. However remote JMX connections are not firewall friendly as they require a non standard port for communication.This non standard port has also to be defined in the WebSphere configuration. WebSphere provides a small and easy to install servlet applications that delivers performance data over http in a xml format. The application is called PerfServletApp.ear, Performance Servlet or PerfServlet. The installation is straight forward. Navigate to Applications > Application types > WebSphere enterprise applications > Install and deploy the PerfServletApp.ear located in <WebSphere-Install-Root>/installableApps/PerfServletApp.ear After deployment the Performance Servlet is reachable under the URL Filtering the results The performance servlet provides a basic filter functionality for the xml results. ...

What is Zeromq? explain the socket types of Zeromq

ZeroMQ is a library used to implement messaging and communication systems between applications and processes - fast and asynchronously. If you have past experience with other application messaging solutions such as RabbitMQ, it might come a little bit challenging to understand the exact position of ZeroMQ. When compared to some much larger projects, which offer all necessary parts of enterprise messaging, ZeroMQ remains as just a lightweight and fast tool to craft your own. ZeroMQ Socket Types ZeroMQ differs in the way its sockets work. Unlike the synchronous way the regular sockets work, ZeroMQ’s socket implementation “present an abstraction of an asynchronous message queue”. The way these sockets work depend on the type of socket chosen. And flow of messages being sent depend on the chosen patterns, of which there are four: Request/Reply Pattern: Used for sending a request and receiving subsequent replies for each one sent. Publish/Subscribe Pattern: Used for distributing data fro...

Do You Know About Port 0 ?

" Port Zero " does not officially exist. It is defined as an invalid port number. But valid Internet packets can be formed and sent "over the wire" to and from "port 0" just as with any other ports. Port 0 carries special significance in network programming, particularly in the Unix OS when it comes to socket programming where the port is used to request system-allocated, dynamic ports. Port 0 is a wildcard port that tells the system to find a suitable port number. Unlike most port numbers, port 0 is a reserved port in TCP/IP networking, meaning that it should not be used in TCP or UDP messages. Network ports in TCP and UDP range from number zero up to 65535. Port numbers in the range between zero and 1023 are defined as system ports or well-known ports. The Internet Assigned Numbers Authority (IANA) maintains an official listing of the intended usage of these port numbers on the internet, and system port 0 is not to be used. How TCP/UDP Port 0...