Gopher Academy
3.33K subscribers
916 photos
40 videos
279 files
1.97K links
🕸 Gopher Academy

🔷interview golang
https://github.com/mrbardia72/Go-Interview-Questions-And-Answers

حمایت مالی:
https://www.coffeete.ir/mrbardia72

ادمین:
@mrbardia72
Download Telegram
Apple pay and Google pay security

🔰 @gopher_academy
💯3👍1
Big data pipelines on AWS , Microsoft Azure and GCP

🔰 @gopher_academy
👍3
Data Structures.pdf
425.5 KB
Type of data structures


🔰 @gopher_academy
💊4🕊1
Live streaming work?

Step 1: The streamer starts their stream. The source could be any video and audio source wired up to an encoder
 
Step 2: To provide the best upload condition for the streamer, most live streaming platforms provide point-of-presence servers worldwide. The streamer connects to a point-of-presence server closest to them.
 
Step 3: The incoming video stream is transcoded to different resolutions, and divided into smaller video segments a few seconds in length.
 
Step 4: The video segments are packaged into different live streaming formats that video players can understand. The most common live-streaming format is HLS, or HTTP Live Streaming.
 
Step 5: The resulting HLS manifest and video chunks from the packaging step are cached by the CDN. 
 
Step 6: Finally, the video starts to arrive at the viewer’s video player.
 
Step 7-8: To support replay, videos can be optionally stored in storage such as Amazon S3.

🔰 @gopher_academy
👍1🕊1💊1
تو این چند روز که نبودیم جناب وزیر فرمودند برای توریست ها سیمکارت خاص طراحی میکنیم که بدون مشکل به اینستاگرام و واتساپ وصل بشن.

یعنی شما فکر کن که شهروند درجه یک کشور نمیتونه از یک سری امکانات استفاده کنه، ولی توریست میتونه بدون مشکل تو همین کشور از اون امکانات (اینستاگرام و واتساپ) استفاده کنه.

دیروزم چون دید ریده و آب قطعه اومد گفت این در حد یه پیشنهاد بود

#DevTwitter

🔰 @gopher_academy
🤬14👍3💊2🤣1
How does chatGPT like system work?

🔰 @gopher_academy
👍5🕊1

🔰 @gopher_academy
🤣16
اون ور توی گروه راست دیدم
ظاهرا دارن یه گروه کمونیستی راست تشکیل میشه😂
بده ما گولنگی ها حزب تشکیل ندیم واسه جنگ😂

🔰 @gopher_academy
🤣18🐳2🕊1
Nomad vs. Kubernetes: A complete comparison



https://www.virtualizationhowto.com/2023/02/nomad-vs-kubernetes-a-complete-comparison/


🔰 @gopher_academy
🐳3
GitLab 15.9 Release

📡 https://about.gitlab.com/releases/2023/02/22/gitlab-15-9-released/

Key improvements released
Require multiple approvals from Code Owners
Manage license approval policies
Notifications now available in the GitLab for Slack app
Code Suggestions available in closed beta
etc....


🔰 @gopher_academy
👍5
#فرصت_شغلی

شرح شغل رو از لینک زیر بخونید 👇
https://lnkd.in/eQhfC7rp


🔰 @gopher_academy
3👍1
Forwarded from Bardia
package main

func f(vs ...interface{}) { print(len(vs)) } func main() { f() f(nil) f(nil...) }
Anonymous Quiz
40%
0 0 0
31%
0 1 0
25%
0 1 1
4%
1 1 0
👍1
What are the API architectural styles?

The diagram below shows the common API architectural styles in one picture.
🔹 1. REST
Proposed in 2000, REST is the most used style. It is often used between front-end clients and back-end services. It is compliant with 6 architectural constraints. The payload format can be JSON, XML, HTML, or plain text.

🔹 2. GraphQL
GraphQL was proposed in 2015 by Meta. It provides a schema and type system, suitable for complex systems where the relationships between entities are graph-like. For example, in the diagram below, GraphQL can retrieve user and order information in one call, while in REST this needs multiple calls.

GraphQL is not a replacement for REST. It can be built upon existing REST services.

🔹 3. Web socket
Web socket is a protocol that provides full-duplex communications over TCP. The clients establish web sockets to receive real-time updates from the back-end services. Unlike REST, which always “pulls” data, web socket enables data to be “pushed”.

🔹 4. Webhook
Webhooks are usually used by third-party asynchronous API calls. we use Stripe or Paypal for payment channels and register a webhook for payment results. When a third-party payment service is done, it notifies the payment service if the payment is successful or failed. Webhook calls are usually part of the system’s state machine. 

🔹 5. gRPC
Released in 2016, gRPC is used for communications among microservices. gRPC library handles encoding/decoding and data transmission.

🔹 6. SOAP
SOAP stands for Simple Object Access Protocol. Its payload is XML only, suitable for communications between internal systems. 


🔰 @gopher_academy
👍8
1677600752047.pdf
5.6 MB
12 Critical Strategies of System Design

- Design For Failure
- Redundancy And Fault Recovery
- Single-Version Software
- Multi-tenancy
- Quick Service Health Check
- Develop In The Full Environment
- Zero Trust in Underlying Components
- Do Not Build the Same Functionality in Multiple Components
- One Cluster Should Not Affect Another Cluster
- Allow (rare) Emergency Human Intervention.
- Keep Things Simple And Robust
- Enforce Admission Control At All Levels


🔰 @gopher_academy
🔥2🎉1
The diagram below shows the differences between a forward proxy and a reverse proxy.

A 𝐟𝐨𝐫𝐰𝐚𝐫𝐝 𝐩𝐫𝐨𝐱𝐲 is a server that sits between user devices and the internet.

A forward proxy is commonly used for: 
- Protect clients
- Avoid browsing restrictions
- Block access to certain content

A 𝐫𝐞𝐯𝐞𝐫𝐬𝐞 𝐩𝐫𝐨𝐱𝐲 is a server that accepts a request from the client, forwards the request to web servers, and returns the results to the client as if the proxy server had processed the request.

A reverse proxy is good for:
- Protect servers
- Load balancing
- Cache static contents
- Encrypt and decrypt SSL communications


🔰 @gopher_academy
👍2
How git commands work

🔰 @gopher_academy
👍5
1677498728649.pdf
13.9 MB
How do you gracefully shut down Pods without dropping traffic?

#kubernetes

🔰 @gopher_academy
🐳2
CICD Pipeline Explained

🔰 @gopher_academy
👍5
1677126905817.pdf
1.6 MB
𝐁𝐚𝐜𝐤-𝐄𝐧𝐝 𝐃𝐞𝐯𝐞𝐥𝐨𝐩𝐞𝐫 𝐑𝐨𝐚𝐝𝐦𝐚𝐩 💡

🔰 @gopher_academy
8👎2
– We don't write tests.
– Why?
– Because we don’t have time for it.

– Why?
– Because there is too much work and pressure.

– Why?
– Because we don’t move fast enough.

– Why?
– Because changing software has become difficult and risky.

– Why?
– Because we don’t write tests.

🔰 @gopher_academy
🤣16👍1