Azure Service Bus – Topics

This is the second of a series of posts, on Azure Service Bus integration with ColdFusion. In this post we will talk about how to use Topics in CF2021. Topics are used for one to many transfer of messages in a publish/subscribe scenario. You may refer this document for more on the subject. The following example demonstrates how to create a topic, publish messages to the created topic and subscribe to it. For the prerequisites to this exercise please refer my previous blog post on Service […]

Understanding Simple Queue Service Usage through CFML- 2

Hi CFNext users,  Please go through previous blog, if you haven’t gone through. This post is about covering few more frequent operations on SQS using CF2021, which directly integrates cloud services into language. 4.  Get Queue Url: You require the queue URL to send, receive, and delete queue messages The following example query request gets the URL for the specified queue.  stdQueueUrl = stdQueue.getQueueUrl(); 5.  Send a message to a queue: The following example shows sending a message to an existing queue sendMessageMetadata = {                   “messageBody”=”Send Message to ColdFusion […]

Old School Switch Case is now Dynamic!

Dynamic case values – From now on, we will be supporting dynamic case values. Characteristics – 1.    Both script and tag syntax supported. 2.    Types of values allowed – a.    Function calls b.     Varialbe Reference c.    Arithematic operators like +/- d.    Boolean operators like NOT/AND e.    Decision operators like CONTAINS/IS EQUAL f.     Ternary operator like (a GT b)? a : b Scopes                          

Azure Service Bus – Queues – An introduction

CFNext introduces integration with Microsoft Azure Service Bus, a managed message brokering service that enables decoupling of applications by allowing asynchronous transfer of data and state. The integration with messaging service falls into the following 2 categories: Queues: provides a buffer in the form of a queue for one to one transfer of messages between a sender and a receiver. Topics: can be used to transfer messages in a publish/subscribe scenario. In this post, which is the first of a […]

Understanding Simple Queue Service Usage through CFML- 1

Hi CFNext users,  I will be covering AWS SQS integration with ColdFusion. This post mostly revolves around below items:  AWS SQS usecase  Setting AWS credentials   Create Queue   Setting Queue Attributes   Send, Receive and Delete messages   Purge and Delete Queue. Prerequisite: CFNext, AWS account with an access key ID and a secret access key. SQS described as per Amazon AWS: “Amazon Simple Queue Service (SQS) is a fully managed message queuing service that enables you to decouple and scale microservices, distributed systems, and […]

Immediately Invoked Function Expressions

iife’s

Thread Dump Analysis using Performance Monitoring Toolset

Thread Dump Analysis Using Performance Monitoring Toolset Thread Dump is one of the most common things you perform when encountered with performance issues. For detecting faulty threads degrading your ColdFusion server, a meaningful analysis of thread dump is very useful. Issues such as deadlocks, lock contention and excess CPU utilization by individual thread dumps can be resolved by visualizing the states of individual thread dumps. Maximum throughput from the app can be achieved by rectifying the status of each thread provided […]

Performance Monitoring Toolset- Incoming Services

Monitoring Incoming services In Performance Monitoring Toolset, we have dedicated a section for monitoring incoming services to ColdFusion. There are three types of services- REST, SOAP, and RPC. Any webservice or RPC call hitting a ColdFusion node or cluster will appear in this section and their metrics will be available. Charts for all incoming services- Average Response Time – Average Response Time for all the REST/SOAP/RPC calls is calculated and displayed separately for all 3 kinds of services in timeseries graph for […]

CF Server Section – Performance Monitoring Toolset

The primary job of Performance Monitoring Toolset is to monitor CF Servers. It provides end-to-end monitoring for all kinds of setups including individual nodes, individual cluster, J2EE environment or a combination of one or more of these. Performance Monitoring Toolset has a left navigation bar using which you can go to the CF Server section. Based on your selection of global filter (for more information about global filter please refer : Global filter), you are taken to the overview of your CF […]

Mystery of Health Score – Performance Monitoring Toolset

The mystery of calculating Health Score in Performance Monitoring Toolset Performance Monitoring Toolset can measure how your system is performing. In various pages of our brand new toolset, you can find health scores for node/application/cluster/group. These health scores reflect the state of various components in your ColdFusion setup. We will see how they are calculated and how to configure them. Node Health Score Health Score is dependent on 4 parameters. They are – ART, Error rate, CPU usage, and Memory Usage. We […]