Tutor profile: Sudheer K.
Subject: Python Programming
Explain how you can minimize the Memcached server outages in your Python Development?
When one instance fails, several of them goes down, this will put larger load on the database server when lost data is reloaded as client make a request. To avoid this, if your code has been written to minimize cache stampedes then it will leave a minimal impact Another way is to bring up an instance of Memcached on a new machine using the lost machines IP address Code is another option to minimize server outages as it gives you the liberty to change the Memcached server list with minimal work Setting timeout value is another option that some Memcached clients implement for Memcached server outage. When your Memcached server goes down, the client will keep trying to send a request till the time-out limit is reached
Subject: Perl Programming
What is Subroutine in Perl?
Subroutine is a block of code that can be reused by a program either internally or externally. A general representation of subroutine is as follows: sub NAME PROTOTYPE ATTRIBUTES BLOCK Here, the sub is a keyword followed by subroutine name NAME. PROTOTYPE represents the parameters for a subroutine. ATTRIBUTES give additional semantics about subroutine. Value of attribute can be either be “locked”, ”method” or “lvalue”. BLOCK is a block of code for the subroutine. Once subroutine is defined, we can call it using the statement, &subroutine_name; The ampersand(&) is optional unless we are using references that refer to a subroutine name. Subroutines in Perl can also be called as follows: subroutine_name();
Subject: Computer Networking
What formats can I use to configure the BGP community attribute?
We can configure communities in three different formats called decimal, hexadecimal, and AA:NN. In order to configure and display in AA:NN, where the first part is the AS number and the second part is a 2-byte number, issue the ip bgp-community new-format global configuration command
needs and Sudheer will reply soon.