What are the components of the Loggregator system?
Metron - Forward logs to the Loggregator subsytem
Doppler - gather logs from Metron
Traffic Controller - handles client requests for logs
Firehose - a websocket endpoint that exposes app logs, container metrics and ER component metrics
Nozzles - consume the firehose output
How do you scale an application manually?
cf scale -m -i
What are the four levels of high-availability provided by PCF?
BOSH detects and recreates failed VMs
BOSH also detects and restarts failed processes
Application instances are automatically spread -- Across different Cells -- Across Cells in different Availability Zones
CF Converger detects if an application instance has failed and restarts it
What is the difference between scaling up and scaling out?
scale up (vertically) increases the disk space limit or memory limit of all instances of an application. It requires downtime as the container is recreated.
scale out (horizontally) increases the number of instances of an application by creating or destroying them. It requires no downtime.
pluralsight recap
What are some fundamental changes impacting application design and delivery?
Distributed computing
Ephemeral infrastructure
Immutable infrastructure
What is a modern methodology for delivering cloud based applications?
Twelve-factor app
How are logs handled in a Twelve-factor app?
As event streams
True or false, Garden is an interface with many implementations.
True, there's Linux and Windows and more on the way
Which component of the Elastic runtime exposes an API for users to manage applications?
Cloud controller
What are the four levels of high availability that keep your applications running?
Availability zones
BOSH managed processes
Failed VMs - any VM that BOSH deploys will be recreated if you enable resurrector
Self healing application instances handled by the brain within Diego
Where should you write your application logs?
To Standard Out and Standard Error
What are some of the different origin codes that were seen in the log?
cf logs
API for cloud controller
stage for stating
cell for running applications
What did you think about accessing the logs? How is that different from what you do today?
What is the difference between scaling out versus scaling up?
Scaling up requires down time to recreate the container Scaling horizontally requires no downtime
How do you recover failed application instances today? What happens if the underlying platform fails? How do you recover from that?
How could you tell if your application has been crashing?
Look at the logs, but probably the best place to go is cf events
கோடை விடுமுறை தஞ்சாவூர் கீழவாசல் குணங்குடிதாசனில் பால் சர்பத் விலையை 12 லிருந்து 15 ரூபாயாக உயர்த்தி இருந்தார்கள். கார்த்திகைச்செல்வன் அப்போது தான் பன்னிரண்டாம் வகுப்புத் தேர்வெழுதி முடித்திருந்தான். ஒரு வாரம் கூட கடக்க வில்லை. அவனுக்கு அவ்வளவு போரடித்தது. கல்லூரி சேரும் வரை, தனக்கு எப்படியாவது ஒரு வேலை வாங்கி தரும்படி தன் அப்பாவிற்கு அழுத்தம் கொடுத்தான். பரீட்சை முடியும் வரை படிக்க வேண்டும் என்ற ஒரு வேலை இருந்தது. பரீட்சை முடிந்தவுடன் என்ன செய்வதென்று அவனுக்கு புரியவில்லை. பன்னிரண்டாம் வகுப்பு முடிந்த பின்பு தான் இந்த பிரச்சனை வரும். அதற்கு முன்பு வரை அடுத்த ஆண்டு இதுதான் படிக்கப் போகிறோம் என்ற ஒரு தெளிவு இருக்கும். கிடைக்கும் பழைய புத்தகங்களை புரட்டிக் கொண்டிருந்திருக்கலாம். கம்ப்யூட்டர் சயின்ஸ் குரூப் பரிதாபங்கள் அன்று மாலை அவனது அப்பா வீடு திரும்பும் போதே "நாளை என்னுடன் வா, உன்னை ஓரிடத்திற்கு அழைத்து செல்கிறேன். ஆபீஸ்ல வேலை. கம்ப்யூட்டரெல்லாம் இருக்கும்" என்றார். கம்ப்யூட்டரா? ஹையா தன் வாழ்க்கையில் விண்டோஸ் வழியாக தென்றல் வீசப் போகிறதே!! மாக...
காது புடி வாத்தியார் என்று பயத்துடன் அழைக்கப்பட்ட சாலமன் அய்யாவின் காது பிடிக்கு தப்பிய காதுகளும் உண்டோ? ஒருமுறை ஐந்தாம் வகுப்பில், வகுப்பு வேளையில் ஓசி tit bits தின்றதால் மாட்டி கொண்டேன். இன்னொரு முறை 7 ஆம் வகுப்பில் காப்பி அடித்ததிற்காக, நீ நான் என ஒருவரை ஒருவர் கை காட்ட முழு வகுப்பும் மாட்டி கொண்டு முழிக்க, முழு பள்ளிக்கும் பின் உதாரணம் ஆனோம். யப்பா காது, இன்னா வலி வலிக்கும். மறக்க முடியுமா அத்திருகு நாட்களை?
do you know the difference between restarting, restaging and redeploying an application? How does each of these affect the services, environment-variables available to an application? Starting an app: 1. ' $ cf push YOUR-APP' command with manifest entry of command attribute i.e. command: node YOUR-APP.js 2. ' $ cf push YOUR-APP -c "node YOUR_APP.js"', where -c command line option for defining the start command. First time deployment using 'cf push' uses buildpack start command by default. Restarting an app: Restarting your application stops your application and restarts it with the already compiled droplet. Diego cell unpacks, compiles and runs a droplet on a container. 'cf restart YOUR-APP' Restaging an app: Restaging your application stops your application and re-stages it, by compiling a new droplet and starting it. 'cf restage YOUR-APP'
Comments
Post a Comment