Gopher Academy
3.35K subscribers
920 photos
40 videos
280 files
2.01K links
🕸 Gopher Academy

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

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

ادمین:
@mrbardia72
Download Telegram
🔵Benefits of continuous integration

🕊 @gopher_academy | @GolangEngineers
👍2🔥1🕊1
🔵Continuous deployment vs. continuous delivery

🕊 @gopher_academy | @GolangEngineers
👍21🍾1
🔵Benefits of continuous deployment

🕊 @gopher_academy | @GolangEngineers
2🕊1🍾1
🔵یه تجربه با گولنگ که کدشو برای پردازش هزاران خط متن ورودی بهینه کرده.
مخصوصا در مورد memory allocationها دید خوبی میده و جالبه اگه به پرفورمنس علاقه دارید بخونید:

🔴 https://benhoyt.com/writings/go-1brc/

#terminal_stuff


🕊 @gopher_academy | @GolangEngineers
👍3🍾2🔥1
🐧 نشست ۱۴ ام جامعه لینوکسی شیراز

🟢 موضوع ارائه : امنیت در کانتینرها

🐦 ارائه دهنده : سعید بستان دوست

🐧 رزومه ارائه دهنده : برنامه نویس و طرفدار دنیای اوپن سورس

🗓تاریخ : سه‌شنبه ۲۱ ام فروردین ماه

ساعت : ۱۷:۰۰ الی ۱۹:۰۰

📍مکان: بلوار مدرس، بلوار آزادگان، کارخانه نوآوری شیراز طبقه دوم انتهای سالن اتاق آموزشی

حامی برگزاری : کارخانه نوآوری شیراز 🍀

حضور برای عموم رایگان میباشد

⭕️ با توجه به محدودیت های ظرفیت برای شرکت کنندگان و مدل رایگان بودن این رویداد، جهت حفظ ارزش آفرینی عدم حضور شما بعد از ثبت‌نام به منزله اضافه شدن نام شما به لیست شرکت کنندگان بد قول جامعه های فعال ما خواهد شد و در صورت تکرار مجدد، از حضور در رویداد‌های رایگان جامعه لینوکسی شیراز به صورت رایگان محدود خواهید شد.


جهت ثبت نام روی لینک زیر کلیک کنید👇🏻
https://shirazlinuxcommunity.ir/event-14

📍Location
OSM : OpenStreetMap
GoogleMap : GoogleMap


🕊 @gopher_academy | @GolangEngineers
🍾5🎉3👍1
nodeport vs loadbalancer

🕊 @gopher_academy | @GolangEngineers
👍2
dockerfile checklist

🕊 @gopher_academy | @GolangEngineers
👍5
Why is postgresql voted most loved?

🕊 @gopher_academy | @GolangEngineers
👍4🔥2🎉1🕊1🍾1
Golang 1.22 Redefines the For Loop for Easier Concurrency

https://thenewstack.io/golang-1-22-redefines-the-for-loop-for-easier-concurrency/


🕊 @gopher_academy | @GolangEngineers
👍4🍾2
1712416705304.pdf
489.2 KB
ممکنه تو مصاحبه ازتون در مورد Caching بپرسند

یا حتی بخواهید که برای سایتتون Caching راه بندازید تا سریع تر لود بشه

یا ممکنه Cache داشته باشه و تو invalidate کردن مشکل بخورید

تو این داکیومنت من به صورت ساده Caching رو توضیح دادم

🕊 @gopher_academy | @GolangEngineers
9👍5🍾2
9 best practices that you must know before building microservices:

🎯Design For Failure
A distributed system with microservices is going to fail.

You must design the system to tolerate failure at multiple levels such as infrastructure, database, and individual services. Use circuit breakers, bulkheads, or graceful degradation methods to deal with failures.

🎯Build Small Services
A microservice should not do multiple things at once.
A good microservice is designed to do one thing well.

🎯Use lightweight protocols for communication
Communication is the core of a distributed system.
Microservices must talk to each other using lightweight protocols. Options include REST, gRPC, or message brokers.

🎯Implement service discovery
To communicate with each other, microservices need to discover each other over the network.
Implement service discovery using tools such as Consul, Eureka, or Kubernetes Services

🎯Data Ownership
In microservices, data should be owned and managed by the individual services.
The goal should be to reduce coupling between services so that they can evolve independently.

🎯Use resiliency patterns
Implement specific resiliency patterns to improve the availability of the services.
Examples: retry policies, caching, and rate limiting.

🎯Security at all levels
In a microservices-based system, the attack surface is quite large. You must implement security at every level of the service communication path.

🎯Centralized logging
Logs are important to finding issues in a system. With multiple services, they become critical.

🎯Use containerization techniques
To deploy microservices in an isolated manner, use containerization techniques.


🕊 @gopher_academy | @GolangEngineers
🍾2🔥1🕊1
#wiki_tajrobe

🕊 @gopher_academy | @GolangEngineers
👍26🎉2🕊2🔥1🍾1
#wiki_tajrobe

🕊 @gopher_academy | @GolangEngineers
👍20🕊1🍾1
m := make(map[string]int, 3)
x := len(m)
m["Go"] = m["Go"] y := len(m) println(x, y)
Final Results
39%
3 3
13%
3 4
13%
0 0
34%
0 1
👍3🍾2🕊1
🥳 Released PayGap v1.6.0

Payment gateway providers SDK Go for zarinpal, idpay, pay.ir, and other gateway providers.

- feat: add mellat provider

https://github.com/GoFarsi/paygap


🕊 @gopher_academy | @GolangEngineers
👍15🔥7🍾31🕊1
#wiki_tajrobe

🕊 @gopher_academy | @GolangEngineers
👍5🍾2🕊1
یکی از سوال های محبوب مصاحبه بک اند: فرق Kafka و RabbitMQ چیه؟

۱. Performance and Scalability
کافکا برای throughput بالا و horizontal scalability ساخته شده است. هرچند RabbitMQ پرفرمنس بالایی دارد وقتی throughput و حجم داده زیاد باشد کافکا مناسب تر است.

۲. Message Ordering
در RabbitMQ در یک صف ترتیب پیام ها حفظ می‌شود. در کافکا در یک پارتیشن ترتیب پیام های یک topic حفظ می‌شود اما نه در پارتیشن های مختلف.

۳. Message Priority
در RabbitMQ از اولویت پیام ها پشتیبانی می‌شود که اجازه می‌دهد پیام های با اولویت بالا زودتر پردازش شوند. کافکا از اولویت پشتیبانی نمی‌کند.

۴. Message Model
مدل پیام های RabbitMQ مبتنی بر صف است و از پروتکل AMQP تبعیت می‌کند اما کافکا مدل لاگ توزیع شده دارد.

۵. Durability:
برای اینکه پیام ها Durable باشند یعنی اگر failure رخ دهد از بین نروند، در RabbitMQ نیاز به تنظیمات است اما کافکا به طور درونی از این مورد پشتیبانی می‌کند.

۶. Message Routing
در Rabbit برای مسیریابی پیام ها پیشرفته تر و با استفاده از exchange و binding انجام می‌شود اما در کافکا ابتدایی تر و با استفاده از topic و پارتیشن ها انجام می‌شود.

۷. Replication
در Rabbit برای replication می توان از Mirrored Queue استفاده کرد. و کافکا نیز به صورت درونی از partition replication پشتیبانی می‌کند.

8. Stream Processing
هر دو کافکا و Rabbit از پردازش Stream پشتیبانی می کنند.

9. Latency
طراحی RabbitMQ برای تاخیر کم است و در جایی که نیاز به پردازش نزدیک به realtime است، استفاده می‌شود.

10. License
لایسنس Rabbit از نوع Mozilla Public License و لایسنس کافکا از نوع 2.0 Apache است.




✍️Pouria JahandidehPouria Jahandideh
🎯Chief Technology Officer | Programming Mentor


🕊 @gopher_academy | @GolangEngineers
15👍10🍾3🕊2

🕊 @gopher_academy | @GolangEngineers
👍21🍾7🔥4
🎉 یافتن فرصت شغلی

دوستانی که Open to work هستند می توانند رزومه خود را برای من و بردیا بفرستند تا داخل کانال و گروه منتشر کنیم دیده شوید.

فقط استک گولنگ پروموت میکنیم.

موارد زیر را به همراه فایل pdf رزومه بفرستید:



نام و نام خانوادگی
سن
مدت سابقه
لینکدین
گیتهاب
محل سکونت
امکان نقل مکان برای کار دارم یا خیر



@ja7adr
@mrbardia72


🕊 @gopher_academy | @GolangEngineers
10👍3🍾1
Alireza Faraji CV.pdf
1.2 MB
📣 #open_to_work #job_seeker

🔤نام و نام خانوادگی: علیرضا فرجی

🙂 سن: ۳۰ ساله

🔼مدت سابقه: حدودا ۱۰ سال

🌐 محل سکونت: تهران/کرج

📍امکان نقل مکان برای کار: تمایلم برای کار شهر تهرانه

🌐لینکدین: https://www.linkedin.com/in/realovatsug/

🌐 گیتهاب: https://github.com/farajialireza

🌐 سایر: https://medium.com/@faraji.alireza


🕊 @gopher_academy | @GolangEngineers
Please open Telegram to view this post
VIEW IN TELEGRAM
🍾32🔥1🎉1

🕊 @gopher_academy | @GolangEngineers
🔥2👍1🕊1🍾1