Hello everyone. Any ideas on how to implement micr...
# server
j
Hello everyone. Any ideas on how to implement microservices with ktor? I am specifically looking for information on the general architecture and how the services communicate with each other. Looking to have the following implemented: • API gateway • Logging • Dashboard e.t.c
m
a couple of good general articles: • https://piotrminkowski.com/2018/10/09/kotlin-microservices-with-ktor/https://www.infoq.com/articles/microservices-kotlin-ktor/ (there’s a section about structuring applications) Also about structure: • https://ktor.io/docs/modules.htmlhttps://ktor.io/docs/structuring-applications.html Logging: https://ktor.io/docs/logging.html API gateway: I suggest you do not implement it by yourself, either use an OSS solution like Kong or a service like AWS Gateway Dashboard: I’m not sure if you need a dashboard to observe service metrics, but that doesn’t depend too much on the technology used (ktor), just use something general like graphite+grafana, prometheus+grafana, etc.
j
Thanks
👍 1