در استفاده از rpc برای مفاهیمی مانند log, cache ,... یا همان مفاهیم cross-cutting که در برنامه نویسی aspect-oriented مطرح است میتوان middleware نوشت. یک راهنمای خوب برای آموزش این کار در go
https://medium.com/@shijuvar/writing-grpc-interceptors-in-go-bf3e7671fe48
#golang #go #grpc #rpc
https://medium.com/@shijuvar/writing-grpc-interceptors-in-go-bf3e7671fe48
#golang #go #grpc #rpc
Medium
Writing gRPC Interceptors in Go
In this post, we’ll take a look into how to write gRPC Interceptors in Go. When you write HTTP applications, you can wrap route specific…
Dissasemblying go code 😊
$ go tool objdump [program_name]
https://medium.com/@felipedutratine/does-golang-inline-functions-b41ee2d743fa
#golang #go
$ go tool objdump [program_name]
https://medium.com/@felipedutratine/does-golang-inline-functions-b41ee2d743fa
#golang #go
Medium
Does Golang inline functions ?
I’m wondering if the compiler of golang is smart enough to inline functions ?
امیدوارم شرایط این ترم به نحوی پیش برود بتوانیم kafka را تا حدی پوشش دهیم
https://semaphoreci.com/community/tutorials/writing-and-testing-an-event-sourcing-microservice-with-kafka-and-go
#kafka #go
https://semaphoreci.com/community/tutorials/writing-and-testing-an-event-sourcing-microservice-with-kafka-and-go
#kafka #go
Semaphore
Writing and Testing an Event Sourcing Microservice with Kafka and Go - Semaphore
In this tutorial, we will take a look at how Kafka can help us with handling distributed messaging in a Go application, by using the Event Sourcing pattern.
Forwarded from Programming Resources via @like
Web_programming
distributed LRU cache — example: caching immutable file blobs for dl.google.com — https://github.com/golang/groupcache — https://capotej.com/blog/2013/07/28/playing-with-groupcache/
این کد رو سالهای قبل روی کلاس بررسی میکردیم ولی امسال نشد که این مهم را انجام دهیم. نزدیک عید که اغلب وقت آزاد بیشتری دارند یک جلسه خواهم گذاشت و این کار رو انجام میدهیم.
#go #download #distributed #lru #Google
#go #download #distributed #lru #Google