Seeking help on GO micro service architecture /deployment

213 views
Skip to first unread message

Debapriya Kundu

unread,
Oct 10, 2019, 3:55:16 PM10/10/19
to Go kit
We are GO/GO KIT enthusiast and planning to build few micro service (around 10) for our project. Historically we are java/spring boot shop but planning to migrate towards GO based micro service. As you know any technology change is challenging as people are used to existing technology but our initiative is started and we are doing fine and in fact we already build first micro service in GO already using GO-KIT. 

Coming back to business we need your help on few topics –
1. Planning to deploy services as exe using GO module for dependency management. Is it best way to deploy?
2. Where to deploy GO micro service – is it JBOSS or Linux server?
3. How connection pool will be maintained across the 10 different services ? Do you need to have one connection pool for all service or connection pool by service. Do you have anything in GO-KIT?
4. How can we perform LDAP auth for GO service ? Do you have anything in GO-KIT or we have use JWT?

Onezino Gabriel Moreira

unread,
Oct 17, 2019, 2:18:00 PM10/17/19
to Go kit
Hi Debapriya, 

As simple as possible:
1. You are right, the final artefact is a exe and problably some config files.
2.  Run it as a container in services like kubernetes or PaaS as Heroku, follow the 12factor https://12factor.net/. Configurations problably in ENV.
3. As a microservice, the database should use your own database(schema) or wherever. Database drivers come with pool in most go libraries.
4.I can`t make any opnion. I never have used LDAP. 

Debapriya Kundu

unread,
Oct 17, 2019, 4:43:14 PM10/17/19
to Onezino Gabriel Moreira, Go kit
Thanks for info.

Could you please suggest any framework for go lang micro service? I am looking into go kit and go micro. I just want to make sure I am ready with 12 factor support.

Did you use any cache in microservice if yes what kind of cache?

--
You received this message because you are subscribed to the Google Groups "Go kit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-kit+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/go-kit/d1d30890-b559-4bde-8375-517be3a42bc1%40googlegroups.com.

Onezino Gabriel Moreira

unread,
Oct 18, 2019, 8:41:38 AM10/18/19
to Debapriya Kundu, Go kit
Could you please suggest any framework for go lang micro service?  
I usually use go-kit in almost anything. It fit well. I don`t like micro neither bee.  Buffalo is a good one to a complete opinated framework.


Did you use any cache in microservice if yes what kind of cache? 
Redis 
--

Debapriya Kundu

unread,
Oct 18, 2019, 9:04:07 AM10/18/19
to Onezino Gabriel Moreira, Go kit
Great to hear from you. Does go kit fit with go module? Do you have any sample code based where caching present with go kit.
Reply all
Reply to author
Forward
0 new messages