Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8573939
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T19:21:49+00:00 2026-06-11T19:21:49+00:00

When some of the cassandra server in cluster are down phpcassa takes lot of

  • 0

When some of the cassandra server in cluster are down phpcassa takes lot of time to respond.

Logically phpcassa should connect to running nodes and get data in stead of trying to connect to down nodes.

Do anybody have any idea how phpcassa works?
What is its behavior in down node situations?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T19:21:51+00:00Added an answer on June 11, 2026 at 7:21 pm

    Check make_conn function here and last few lines of ConnectionPool constructor

    So, first PHPCassa shuffles your servers list in random,
    then it tries to connect to every server in your list twice in a cycle, only if the queue length is zero after the first cycle [make_conn]
    else it returns the moment it gets the first successful connection

    Also remember that your make_conn function is not called from the constructor. It will be called when there is a need for it. The source code is very simple you can go through it to get more sense

    Check this code to see how connection failure is handled and this to know the reasons for connection failure

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm running a 4-node Cassandra cluster. Some of our nodes have some very large
I have a cassandra server running on a server(serv1). cassandra-cli can connect to it
I have the cassandra cluster of 12 nodes on EC2. Because of some failure
I have Cassandra 0.8.0 running with data on server 1, and a clean install
I have a cassandra cluster of 8 nodes, cassandra 1.0.8. I'm trying to do
I have cassandra cluster of 6 nodes on ec2 , Many times i have
I have a Cassandra cluster on AWS. i would like to make some process
I have been trying out Cassandra and need some help in understanding a few
Some background info: I'm trying to run a server program in python 2.5.1 (the
Some time ago I've read an article on CLR, where author showed that if

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.