In this document, we have explained how we can do load balancing in Helical Insight application using Tomcat. The cluster consists of a set of connected Tomcat Servers that work together so that, in many respects, they can be viewed as a single system. Each node sets to perform the same task, controlled and scheduled by the load balancer.

  1. Tools Used:
    1. Java JDK 1.8
    2. Apache Tomcat servers
    3. Apache httpd server
    4. Mod_jk connector
  2. Download and Install Tomcat:
  3. Download any version of tomcat (7.0+) and install it. This will act as one of the nodes and deploy Helical Insight application in it. In order to understand how to install Helical Insight application, please refer to this blog: Helical Insight Application Installation Guide

    Similarly, download and install another tomcat (version 7.0+) on a different port then already existing port and this will be another node. Again deploy Helical Insight application in it by referring the same Installation blog.

    Note: You are having 2 different tomcats running on different ports. But keep hi-repository and back end Helical Insight database (which stores User Role Management information) as common for both of these tomcat instances.

    Check and confirm that both tomcat instances are running and with both Helical Insight application is accessible.

  4. Download and Install Apache httpd server:
  5. Download apache server (version 2.0 +) and install it.

  6. Download mod_jk :

    Here Download mod_jk as zip or compressed file:

  7. mod_jk installation:
  8. Extract the mod_jk compressed file and copy the file “mod_jk.so” into the httpd server modules directory.

  9. Add mod_jk to the httpd.conf:
  10. Edit the “httpd.conf” file and add following lines:

    LoadModule jk_module modules/mod_jk.so
    
    JkWorkersFile E:\Apache2.2\conf\workers.properties
    JkShmFile     E:\Apache2.2\logs\mod_jk.shm
    JkLogFile     E:\Apache2.2\logs\mod_jk.log
    JkLogLevel    error
    JkMount  /status  status
    JkMount  /*  balancer
    

    Note: Modify paths according to your installation directory.

  11. Create the workers.properties file:

In the conf directory of the Apache httpd server, create a new text file with the name “workers.properties”

Edit this “workers.properties” file and put the following lines:

worker.list=balancer,status

worker.tomcat1.type=ajp13
worker.tomcat1.port=8009
worker.tomcat1.host=localhost

worker.tomcat2.type=ajp13
worker.tomcat2.port=8010
worker.tomcat2.host=localhost

worker.balancer.type=lb
worker.balancer.balance_workers=tomcat1,tomcat2

worker.status.type=status

From outside we have 2 visible workers: balancer and stat. All the request that comes to the balancer are managed by the balancer worker.

Restart apache httpd service.

At this point the Apache httpd server is working as a front end of the Tomcat Load Balancer.

Reference :
Apache Tomcat Load Balancing Tutorials

Now the request will get distributed between the various Helical Insight installations via apache tomcat.

If you have any queries please get us at support@helicalinsight.com

Helical Insight’s self-service capabilities is one to reckon with. It allows you to simply drag and drop columns, add filters, apply aggregate functions if required, and create reports and dashboards on the fly. For advanced users, the self-service component has ability to add javascript, HTML, HTML5, CSS, CSS3 and AJAX. These customizations allow you to create dynamic reports and dashboards. You can also add new charts inside the self-service component, add new kind of aggregate functions and customize it using our APIs.
Helical Insight’s self-service capabilities is one to reckon with. It allows you to simply drag and drop columns, add filters, apply aggregate functions if required, and create reports and dashboards on the fly. For advanced users, the self-service component has ability to add javascript, HTML, HTML5, CSS, CSS3 and AJAX. These customizations allow you to create dynamic reports and dashboards. You can also add new charts inside the self-service component, add new kind of aggregate functions and customize it using our APIs.
Helical Insight, via simple browser based interface of Canned Reporting module, also allows to create pixel perfect printer friendly document kind of reports also like Invoice, P&L Statement, Balance sheet etc.
Helical Insight, via simple browser based interface of Canned Reporting module, also allows to create pixel perfect printer friendly document kind of reports also like Invoice, P&L Statement, Balance sheet etc.
If you have a product, built on any platform like Dot Net or Java or PHP or Ruby, you can easily embed Helical Insight within it using iFrames or webservices, for quick value add through instant visualization of data.
If you have a product, built on any platform like Dot Net or Java or PHP or Ruby, you can easily embed Helical Insight within it using iFrames or webservices, for quick value add through instant visualization of data.
Being a 100% browser-based BI tool, you can connect with your database and analyse across any location and device. There is no need to download or install heavy memory-consuming developer tools – All you need is a Browser application! We are battle-tested on most of the commonly used browsers.
Being a 100% browser-based BI tool, you can connect with your database and analyse across any location and device. There is no need to download or install heavy memory-consuming developer tools – All you need is a Browser application! We are battle-tested on most of the commonly used browsers.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
A first-of-its-kind Open-Source BI framework, Helical Insight is completely API-driven. This allows you to add functionalities, including but not limited to adding a new exporting type, new datasource type, core functionality expansion, new charting in adhoc etc., at any place whenever you wish, using your own in-house developers.
A first-of-its-kind Open-Source BI framework, Helical Insight is completely API-driven. This allows you to add functionalities, including but not limited to adding a new exporting type, new datasource type, core functionality expansion, new charting in adhoc etc., at any place whenever you wish, using your own in-house developers.
It handles huge volumes of data effectively. Caching, Pagination, Load-Balancing and In-Memory not only provides you with amazing experience, but also and does not burden the database server more than required. Further effective use of computing power gives best performance and complex calculations even on the big data even with smaller machines for your personal use. Filtering, Sorting, Cube Analysis, Inter Panel Communication on the dashboards all at lightning speed. Thereby, making best open-source Business Intelligence solution in the market.
It handles huge volumes of data effectively. Caching, Pagination, Load-Balancing and In-Memory not only provides you with amazing experience, but also and does not burden the database server more than required. Further effective use of computing power gives best performance and complex calculations even on the big data even with smaller machines for your personal use. Filtering, Sorting, Cube Analysis, Inter Panel Communication on the dashboards all at lightning speed. Thereby, making best open-source Business Intelligence solution in the market.
With advance NLP algorithm, business users simply ask questions like, “show me sales of last quarter”, “average monthly sales of my products”. Let the application give the power to users without knowledge of query language or underlying data architecture
With advance NLP algorithm, business users simply ask questions like, “show me sales of last quarter”, “average monthly sales of my products”. Let the application give the power to users without knowledge of query language or underlying data architecture
Our application is compatible with almost all databases, be it RDBMS, or columnar database, or even flat files like spreadsheets or csv files. You can even connect to your own custom database via JDBC connection. Further, our database connection can be switched dynamically based on logged in users or its organization or other parameters. So, all your clients can use the same reports and dashboards without worrying about any data security breech.
Our application is compatible with almost all databases, be it RDBMS, or columnar database, or even flat files like spreadsheets or csv files. You can even connect to your own custom database via JDBC connection. Further, our database connection can be switched dynamically based on logged in users or its organization or other parameters. So, all your clients can use the same reports and dashboards without worrying about any data security breech.
Our application can be installed on an in-house server where you have full control of your data and its security. Or on cloud where it is accessible to larger audience without overheads and maintenance of the servers. One solution that works for all.
Our application can be installed on an in-house server where you have full control of your data and its security. Or on cloud where it is accessible to larger audience without overheads and maintenance of the servers. One solution that works for all.
Different companies have different business processes that the existing BI tools do not encompass. Helical Insight permits you to design your own workflows and specify what functional module of BI gets triggered
Different companies have different business processes that the existing BI tools do not encompass. Helical Insight permits you to design your own workflows and specify what functional module of BI gets triggered