mirror of
				https://github.com/ets-labs/python-dependency-injector.git
				synced 2025-11-04 18:07:44 +03:00 
			
		
		
		
	Add what we are going to build section
This commit is contained in:
		
							parent
							
								
									84cecb4bc3
								
							
						
					
					
						commit
						16c6d7c319
					
				| 
						 | 
					@ -18,6 +18,18 @@ You can find complete project on the
 | 
				
			||||||
What are we going to build?
 | 
					What are we going to build?
 | 
				
			||||||
---------------------------
 | 
					---------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					We will build a monitoring daemon that monitors web services availability.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					The daemon will send the requests to the `example.com <http://example.com>`_ and
 | 
				
			||||||
 | 
					`httpbin.org <https://httpbin.org>`_ every couple of seconds. For each successfully completed
 | 
				
			||||||
 | 
					response it will log:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- The response code
 | 
				
			||||||
 | 
					- The amount of bytes in the response
 | 
				
			||||||
 | 
					- The time took to complete the response
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.. image::  asyncio_images/diagram.png
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Prepare the environment
 | 
					Prepare the environment
 | 
				
			||||||
-----------------------
 | 
					-----------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										
											BIN
										
									
								
								docs/tutorials/asyncio_images/diagram.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								docs/tutorials/asyncio_images/diagram.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 33 KiB  | 
		Loading…
	
		Reference in New Issue
	
	Block a user