On this page:

Your Rating:
16 rates

Apache Thrift is a binary remoting protocol. Cassandra uses the Thrift protocol to achieve portability across programming languages. Applications written in many different languages can make calls to the Cassandra database using the Thrift protocol.

AppDynamics is preconfigured to detect business transaction entry points for Cassandra with Thrift framework applications. Note that Binary Remoting entry points are not available as Service Endpoints.  

AppDynamics measures performance data for Thrift transactions as for any other transaction. Thrift entry points are POJO-based. The response time for the transaction is measured from the POJO entry point, and the remote calls are tracked the same way as remote calls for a Servlet's Service method.

Default Naming for Binary Remoting (Thrift) Entry Points

When the automatic discovery for a request using Binary Remoting (Thrift) protocol is enabled, AppDynamics automatically identifies all the transactions and names them using the following format:


Enabling Detection for Binary Remoting (Thrift) Entry Points

Binary Remoting (Thrift) entry points are enabled by default, but if you are not seeing them in the Tier Flow Map, verify that they have been enabled in the Java automatic transaction detection rule. For more information, see Transaction Detection Rules

When enabled, you can see Thrift calls from calling tiers to the Cassandra database in the List View of the Tier Dashboard. Since the transactions using the Thrift protocol are POJO-based, they appear as POJO in the Type column.

Creating Custom Match Rules for Binary Remoting (Thrift) Requests

If you are not getting the required visibility with the auto-discovered transactions, you can configure custom match rules and transaction splitting for specific classes and methods.

When creating the custom match rule, choose POJO as the rule type. The rule should be defined on the class and method you want to use as the entry point. Someone who is familiar with your application code may need to help you make this determination. 

For information about and examples of the various POJO-based business transaction match rules you can create for Binary Remoting (Thrift), see POJO Entry Points. The rules for Binary Remoting (Thrift) entry points are the same as those for POJO entry points.