
Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.
Large-scale cloud native applications are often architected using tens, hundreds and even thousands of individual microservices. Public services typically expose a REST API to the outside world, but many microservices
Microsoft has revealed a few more details about the Azure Stack, its forthcoming hybrid cloud computing offering. Enterprises will be able to install the Azure Stack in their own data
Over the recent years, there has been a large number of individuals as well as organizations who are ditching the Windows platform for Linux platform, and this number will continue to grow as more developments in Linux are experienced. Linux has for long been the leader in Web servers as most of the web servers run on Linux, and this could be one of the reasons why the high migration is being experienced.
The sp_MSforeachdb stored procedure helps you to do repetitive actions against all or some of the SQL Server instance databases. For example, this query: EXEC sp_MSforeachdb ‘USE [?]; EXEC sp_spaceused’
Sometimes in the myriad of forms, it can become quite difficult figuring out whether or not a form has already been loaded and if is still open or not. To
There are three important constructs in Java???concrete classes, abstract classes and interfaces. An abstract class is a special type of a class that is marked with the abstract keyword to
Modern front-end development can be quite confusing. I started dabbling in Web programming about 20 years ago. We already had HTML, CSS and JavaScript, but that’s about it. There were
When working with dynamic SQL queries, you will encounter situations in which you will work with temporary tables. Knowing whether a temporary table exists or not is vital and can
Whenever you show a Modal Dialog a DialogResult is expected. This DialogResult can be OK, Cancel, Yes, No and so forth. Now, imagine this scenario: You show a Modal Dialog
You can use the FOR XML PATH SQL Statement to join or concatenate multiple column values into single row. You could then use STUFF to remove the first ‘,’ (now
PowerShell is a powerful and flexible shell and scripting language from Microsoft. It used to be restricted to Windows only, but a new cross-platform wind is blowing from Redmond. Microsoft
Migration of an Oracle database to Microsoft SQL server involves converting Oracle queries into the destination format. The syntax of queries in Oracle and SQL is similar, yet not equal.
There is a very quick and easy to determine your CPU usage. You can use the following code. All you need to do is to add a Timer and set
Containers eat the DevOps world. Docker is leading the pack with the ubiquitous Docker engine runtime and a plethora of related tools. In this article, I provided some basic information

You can use the following query to rename an SQL Database: USE masterGOALTER DATABASE YOURDATABASENAME SET SINGLE_USER WITH ROLLBACK IMMEDIATEGOEXEC master..sp_renamedb ‘YOURDATABASENAME’,’YOUR_NEW_DATABASE_NAME’GOALTER DATABASE YOUR_NEW_DATABASE_NAME SET MULTI_USER GO The only problem,
Today’s software is served from the cloud and the world’s data is stored in the cloud. The benefits are clear. Let the cloud platform providers deal with the complexities of
In order to calculate a file’s size in C#, you can use the FileInfo object and create some logic to calculate the physical KB, MB or GB of a file.

The SQL Intersect operator returns distinct rows that are output by both the left and right input queries operator. SELECT expression1, expression2, … FROM tablesINTERSECTSELECT expression1, expression2, … FROM tables
Automating software installations is an important part of deploying virtual machines with Vagrant. This process is called provisioning and can be integrated with DevOps tools, such as Puppet. Let’s see
There are numerous ways to find out whether or not there is an internet connection present. One of the quickest ways is to use the InternetGetConnectedState API. Here is how
In this modern world, thread dumps are still analyzed in a tedious & manual mode i.e., you have to get hold of DevOps team, ask them to send you the thread dumps, then they will mail you the thread dumps, then you will upload the dumps in to a thread dump analysis tool, then you have to apply your intelligence to analyze it. There is no programmatic way to analyze thread dumps in a proactive manner. Thus to eliminate this hassle, fastthread.io is introducing a RESTful API to analyze thread dumps. With one line of CURL command, you can get your thread dumps analyzed instantly. Here are a few use cases where this API can be extremely useful. Use case 1: Production Health Check Most of the DevOps invokes a simple Http ping to check the application???s health. This ping is good to detect whether application is alive or not. But it won???t inform anything beyond that. It won???t report whether application is poorly responding, it won???t report whether Database connections are locked up, it won???t report whether CPU is spiking up, it won???t report whether memory is leaking. Even if it reports those issue, still you would have to manually analyze to see what is causing these problems. Now with the introduction of this Thread dump analysis API, you will not only know the healthiness of the application ??? but also the root cause the problem. Beauty of this health check is: It doesn???t add any overhead (or negligible overhead). Because entire analysis of the thread dumps are done on a remote server. The only thing you would have to do is capture the thread dumps from your production machines and invoke this API. Use case 2: Performance Tests When you conduct performance tests, you might want to take thread dumps on a periodic basis and get it analyzed through the API. In case if thread count goes beyond a threshold or if too many threads are WAITING or if any threads are BLOCKED for a prolonged period or lock isn???t getting released, it needs to get in to the visibility. It should be analyzed before code hits the production. In such circumstance this API will come very handy. Because analyzing several thread dumps meticulously is impossible for anyone. Use case 3: Continuous Integration As part of continuous integration it???s highly encouraged to execute performance tests. Thread dumps should be captured and it can be analyzed using the API. If API reports any problems, then build can be failed. In this way, you can catch the performance degradation right during code commit time instead of catching it in performance labs or production. How to invoke Thread dump analysis API? Invoking Thread dump analysis API is very extremely simple: Register with us. We will email you the API key. This is a one-time setup process. Post HTTP request to http://api.fastthread.io/fastthread-api?apiKey={API_KEY_SENT_IN_EMAIL} The body of the HTTP request should contain the Thread dump that needs to be analyzed. You can either send 1 thread dump or multiple thread dumps in the same request. HTTP Response will be sent back in JSON format. JSON has several important stats about the Thread dump. Primary element to look in the JSON response is: ???problem???. API applies several intelligent thread dump analysis patterns and if it detects any issues, it will reported in this ???problem??? element. CURL command Assuming your Thread dump file is located in ???./my-thread-dump.txt,??? then CURL command to invoke the API is: curl -X POST ???data-binary @./my-thread-dump.txt http://api.fastthread.io/fastthread-api?apiKey= ???header ???Content-Type:text??? It can???t get any more simpler than that? Isn???t it?
If you’re going to use an object and get rid of it after a few lines, you don’t need to declare a variable to it. Just use With. Here is
The SQL MINUS operator makes use of two SQL statements. It takes all the results from the first statement and subtracts out the ones that are present in the second
Polymorphism is the existence of the same thing in various forms. It is a feature of OOP that enables items to change form based on circumstances. The term polymorphism is
Google parent company Alphabet released surprisingly strong financial results for the third quarter. Cloud computing and the Google Play store contributed significantly to the company’s bottom line, generating $2.3 billion
QuickBase has released its second annual State of Citizen Development Report, which finds that citizen developers are becoming more important to enterprises. “The future of work is more automated and
Databricks, the corporate sponsor of the Apache Spark project, has added two key new features to its implementation of the open source big data tool. Spark now has GPU acceleration
CoreOS, Intel and Mirantis have released a technical preview of Stackanetes, a new tool which makes it possible to deploy and manage OpenStack cloud computing deployments with the Kubernetes container
Filtering user input is extremely mundane. Who never captured user’s keystrokes in a TextBox in order to avoid some forbidden input, such as numbers or letters? If you went down
IBM has merged its two primary cloud computing services. The SoftLayer infrastructure cloud has been absorbed into its Bluemix cloud development service. Customers can now access both services through a











