Tuesday 29 June 2021

Configuring Spring Boot project for deployment

 1) In Properties > Project Facets, select Dynamic Web Module, Java and Javascript.

 2) In Web Project Settings add the required context root.

 3) In Deployment Assembly add the maven dependencies (WEB-INF/lib)

Tuesday 22 June 2021

Increasing cores per socket on vmWare vSphere to utilize MS license

Whenever cores per socket are increased, for eg. to utilize 16 cores instead of 4 sockets/vCPUs with 1 core per socket. for SQL Server 2019, the vNUMA topology has to match the physical server NUMA topology for optimal performance.

Saturday 19 June 2021

Create new index in elastic 6 with typed fields in order to sum them

PUT HTTP method with  

{

    "settings" : {
        "number_of_shards" : 1
    },
    "mappings" : {
        "doc" : {
            "properties" : {
                "field":{"type":"long"},
....
...