Этот материал находится в платной подписке. Оформи премиум подписку и смотри или слушай Working with Microservices in Go (Golang), а также все другие курсы, прямо сейчас!
Премиум
  1. Урок 1. 00:09:24
    Introduction
  2. Урок 2. 00:01:02
    About me
  3. Урок 3. 00:00:52
    Installing Go
  4. Урок 4. 00:01:29
    Installing Visual Studio Code
  5. Урок 5. 00:01:28
    Installing Make
  6. Урок 6. 00:00:52
    Installing Docker
  7. Урок 7. 00:01:15
    Asking for help
  8. Урок 8. 00:01:07
    Mistakes. We all make them.
  9. Урок 9. 00:00:42
    What we'll cover in this section
  10. Урок 10. 00:01:37
    Setting up the front end
  11. Урок 11. 00:03:37
    Reviewing the front end code
  12. Урок 12. 00:14:57
    Our first service: the Broker
  13. Урок 13. 00:09:00
    Building a docker image for the Broker service
  14. Урок 14. 00:08:39
    Adding a button and JavaScript to the front end
  15. Урок 15. 00:09:05
    Creating some helper functions to deal with JSON and such
  16. Урок 16. 00:04:19
    Simplifying things with a Makefile (Mac & Linux)
  17. Урок 17. 00:03:27
    Simplifying things with a Makefile (Windows)
  18. Урок 18. 00:01:53
    What we'll cover in this section
  19. Урок 19. 00:11:14
    Setting up a stub Authentication service
  20. Урок 20. 00:08:56
    Creating and connecting to Postgres from the Authentication service
  21. Урок 21. 00:14:14
    Updating our docker-compose.yml for Postgres and the Authentication service
  22. Урок 22. 00:02:28
    Populating the Postgres database
  23. Урок 23. 00:08:41
    Adding a route and handler to accept JSON
  24. Урок 24. 00:15:07
    Update the Broker for a standard JSON format, and conect to our Auth service
  25. Урок 25. 00:07:10
    Updating the front end to authenticate thorough the Broker and trying things out
  26. Урок 26. 00:01:01
    What we'll cover in this section
  27. Урок 27. 00:10:08
    Getting started with the Logger service
  28. Урок 28. 00:15:06
    Setting up the Logger data models
  29. Урок 29. 00:08:02
    Finishing up the Logger data models
  30. Урок 30. 00:08:42
    Setting up routes, handlers, helpers, and a web server in our logger-service
  31. Урок 31. 00:06:33
    Adding MongoDB to our docker-compose.yml file
  32. Урок 32. 00:04:24
    Add the logger-service to docker-compose.yml and the Makefile
  33. Урок 33. 00:06:32
    Adding a route and handler on the Broker to communicate with the logger service
  34. Урок 34. 00:04:13
    Update the front end to post to the logger, via the broker
  35. Урок 35. 00:04:25
    Add basic logging to the Authentication service
  36. Урок 36. 00:04:24
    Trying things out
  37. Урок 37. 00:01:11
    What we'll cover in this section
  38. Урок 38. 00:02:08
    Adding Mailhog to our docker-compose.yml
  39. Урок 39. 00:05:10
    Setting up a stub Mail microservice
  40. Урок 40. 00:23:19
    Building the logic to send email
  41. Урок 41. 00:12:31
    Building the routes, handlers, and email templates
  42. Урок 42. 00:00:46
    Challenge: Adding the Mail service to docker-compose.yml and the Makefile
  43. Урок 43. 00:03:48
    Solution to challenge
  44. Урок 44. 00:08:01
    Modifying the Broker service to handle mail
  45. Урок 45. 00:09:50
    Updating the front end to send mail
  46. Урок 46. 00:01:19
    A note about mail and security
  47. Урок 47. 00:02:30
    What we'll cover in this section
  48. Урок 48. 00:03:21
    Creating a stub Listener service
  49. Урок 49. 00:04:22
    Adding RabbitMQ to our docker-compose.yml
  50. Урок 50. 00:07:52
    Connecting to RabbitMQ
  51. Урок 51. 00:21:16
    Writing functions to interact with RabbitMQ
  52. Урок 52. 00:02:41
    Adding a logEvent function to our Listener microservice
  53. Урок 53. 00:02:45
    Updating main.go to start the Listener function
  54. Урок 54. 00:00:41
    Change the RabbitMQ server URL to the Docker address
  55. Урок 55. 00:06:40
    Creating a Docker image and updating the Makefile
  56. Урок 56. 00:04:30
    Updating the broker to interact with RabbitMQ
  57. Урок 57. 00:05:59
    Writing logic to Emit events to RabbitMQ
  58. Урок 58. 00:06:38
    Adding a new function in the Broker to log items via RabbitMQ
  59. Урок 59. 00:03:56
    Trying things out
  60. Урок 60. 00:02:15
    What we'll cover in this section
  61. Урок 61. 00:05:39
    Setting up an RPC server in the Logger microservice
  62. Урок 62. 00:04:46
    Listening for RPC calls in the Logger microservice
  63. Урок 63. 00:05:42
    Calling the Logger from the Broker using RPC
  64. Урок 64. 00:02:47
    Trying things out
  65. Урок 65. 00:02:29
    What we'll cover in this section
  66. Урок 66. 00:02:47
    Installing the necessary tools for gRPC
  67. Урок 67. 00:04:23
    Defining a Protocol for gRPC: the .proto file
  68. Урок 68. 00:06:19
    Generating the gRPC code from the command line
  69. Урок 69. 00:07:01
    Getting started with the gRPC server
  70. Урок 70. 00:04:08
    Listening for gRPC connections in the Logger microservice
  71. Урок 71. 00:10:49
    Writing the client code
  72. Урок 72. 00:02:12
    Updating the front end code
  73. Урок 73. 00:02:43
    Trying things out
  74. Урок 74. 00:03:19
    What we'll cover in this section
  75. Урок 75. 00:03:53
    Building images for our microservices
  76. Урок 76. 00:11:51
    Creating a Docker swarm deployment file
  77. Урок 77. 00:04:40
    Initalizing and starting Docker Swarm
  78. Урок 78. 00:02:13
    Starting the front end and hitting our swarm
  79. Урок 79. 00:03:20
    Scaling services
  80. Урок 80. 00:04:31
    Updating services
  81. Урок 81. 00:01:51
    Stopping Docker swarm
  82. Урок 82. 00:05:55
    Updating the Broker service, and creating a Dockerfile for the front end
  83. Урок 83. 00:02:27
    Solution to the Challenge
  84. Урок 84. 00:01:26
    Adding the Front end to our swarm.yml deployment file
  85. Урок 85. 00:10:16
    Adding Caddy to the mix as a Proxy to our front end and the broker
  86. Урок 86. 00:06:32
    Modifying our hosts file to add a "backend" entry and bringing up our swarm
  87. Урок 87. 00:06:44
    Challenge: correcting the URL to the broker service in the front end
  88. Урок 88. 00:02:21
    Solution to challenge
  89. Урок 89. 00:01:54
    Updating Postgres to 14.2 - why monitoring is important!
  90. Урок 90. 00:04:39
    Spinning up two new servers on Linode
  91. Урок 91. 00:05:33
    Setting up a non-root account and putting a firewall in place.
  92. Урок 92. 00:03:20
    Installing Docker on the servers
  93. Урок 93. 00:03:33
    Setting the hostname for our server
  94. Урок 94. 00:05:45
    Adding DNS entries for our servers
  95. Урок 95. 00:01:19
    Adding a DNS entry for the Broker service
  96. Урок 96. 00:02:27
    Initializing a manager, and adding a worker
  97. Урок 97. 00:07:06
    Updating our swarm.yml and Caddy dockerfile for production
  98. Урок 98. 00:10:49
    Trying things out, and correcting some mistakes
  99. Урок 99. 00:02:34
    Populating the remote database using an SSH tunnel
  100. Урок 100. 00:11:13
    Enabling SSL certificates on the Caddy microservice
  101. Урок 101. 00:01:59
    What we'll cover in this section
  102. Урок 102. 00:01:55
    Installing minikube
  103. Урок 103. 00:02:39
    Installing kubectl
  104. Урок 104. 00:03:07
    Initializing a cluster
  105. Урок 105. 00:02:47
    Bringing up the k8s dashboard
  106. Урок 106. 00:14:08
    Creating a deployment file for Mongo
  107. Урок 107. 00:04:53
    Creating a deployment file for RabbitMQ
  108. Урок 108. 00:03:22
    Creating a deployment file for the Broker service
  109. Урок 109. 00:07:54
    When things go wrong...
  110. Урок 110. 00:02:21
    Creating a deployment file for MailHog
  111. Урок 111. 00:04:19
    Creating a deployment file for the Mail microservice
  112. Урок 112. 00:04:28
    Creating a deployment file for the Logger service
  113. Урок 113. 00:02:03
    Creating a deployment file for the Listener service
  114. Урок 114. 00:02:48
    Running Postgres on the host machine, so we can connect to it from k8s
  115. Урок 115. 00:03:51
    Creating a deployment file for the Authentication service
  116. Урок 116. 00:06:29
    Trying things out by adding a LoadBalancer service
  117. Урок 117. 00:04:42
    Creating a deployment file for the Front End microservice
  118. Урок 118. 00:05:34
    Adding an nginx Ingress to our cluster
  119. Урок 119. 00:04:25
    Trying out our Ingress
  120. Урок 120. 00:03:33
    Scaling services
  121. Урок 121. 00:02:04
    Updating services
  122. Урок 122. 00:05:21
    Deploying to cloud services
  123. Урок 123. 00:03:52
    Just some final thoughts and observations