Posts

Showing posts from August, 2018

Conversion of a cPanel-based server from CentOS to CloudLinux OS

Image
In this article, we will first see why we need to switch to cloudLinux OS and then the installation of CloudLinux OS in a centos cPanel server. Why CloudLinux : In a non CloudLinux shared hosting environment all the resources such as  CPU, I/O and RAM are fully accessible to all accounts on that server and there is no hard limit set on the usage of these resources. Sometimes this leads to rogue scripts/programs on one client’s account to take up incommensurately large amount of resources, thus leading to the server getting overloaded and resulting in a degraded server performance for all the accounts in the server.To address this issue CloudLinux comes into action.CloudLinux creates a virtual environment for all the individual accounts on a shared server and allows us to limit the amount of resources any single account can use.This eradicates the single rogue account consuming all the resources available in the server.Your clients will immensely benefit from this. Lets ta...

UI/UX: The Necessity for Prototyping

Image
Prototypes are the combination of Wire frames and UI mock-ups which are created for representing the appearance of the application that are planned for development. The wire frames have to be laid out for determining the layouts whereas the user interface mock-ups can be outlined with the help of wire frames. Why do we need Prototypes? It’s easy to build and customized The most important reason is to reduce the development cost at an early stage of the application development. Prototypes are the crucial factors in determining the output. Prototyping saves your extra effort before investing your time and resource into the project. Development gets simple and clearer Prototyping is the process where the concept meets the reality to stand the ultimate test – the need to be, creative as well as practical. If you find an issue with your concept, you can change it quickly without an impact on the product.  In addition, it allows developers to iterate the designs as often as...

How to use redis session storage with Spring Security?

Image
Stateless architecture plays an important role when a particular user data has to be maintained across all the servers while scaling-out. This session management keeps improving for better results in a scalable environment. Spring session management brings innovation to the Enterprise Java session management space. Spring Session aims to provide a common infrastructure for managing sessions. This provides many benefits including Accessing a session from any environment (i.e. web, messaging infrastructure, etc.) In a web environment Support for clustering in a vendor neutral way Pluggable strategy for determining the session id Easily keep the HttpSession alive when a WebSocket is active It is important to understand that Spring session doesn’t depend on the Spring framework at all. Hence can be used in any kind of java frameworks. Why redis? Read more.. https://gsmplusinfotech.com/blog/how-to-use-redis-session-storage-with-spring-security/

Hosting a Static Site in Amazon S3 using your Domain

Image
A web server is not always required to host websites! Yeah you read that right. You can host your website just using Amazon S3. But it should be a static site i.e.,. it should serve only static content and client side scripts. This reduces costs and adds the benefit of being hosted in a well architect-ed infrastructure. NOTE:   A dynamic website which requires server power for processing containing scripts such as PHP, JSP or ASP.NET, etc.,. cannot be hosted using S3. A dynamic website can only be hosted in resources such as an EC2 instance. Registering the domain: The domain name have to be registered at a registrar if it is not registered already. We will be using the domain yourdomain.com with Amazon Route 53 as the DNS servers. Configuring the S3 Buckets: Two S3 buckets have to be created. One with the www sub domain and another without for example, two buckets namely yourdomain.com and www.yourdomain.com. One bucket will be containing the site’s content (bucket n...