#FModel aims to bring functional, algebraic, and reactive domain modeling to #Kotlin. Check out the new demo application 💙https://github.com/fraktalio/fmodel-ktor-demo💙 #Ktor #R2DBC #EventSourcing #CQRS #EventModeling
#fmodel #kotlin #ktor #r2dbc #eventsourcing #cqrs #eventmodeling
This is a toy server with a very real-world use for me, that I built in #Kotlin, with #ktor. I first built it in Haskell, but then I changed to Kotlin, just to learn some Kotlin 🙂
It listens for GitHub's webhooks, and I use it to automatically refresh the websites hosted on my self-hosted server.
I'm building 2 #Docker images from it: one native (GraalVM native image), and the other JVM-based.
1/2
Ich habe heute gelernt
- wie man #firebase auth serverseitig aufsetzt
- wie man custom authentication provider in #ktor hinzufügt
- wie man 32gb RAM konsumiert indem man einfach nur #docker laufen lässt -_-
- das #CloudRun zwar irgendwie serverless ist, man sich aber trotzdem mit ganz schön viel Container Innereien auseinandersetzen muss
- das #openjdk auf Windows eine ganz schöne bitch ist :[
- wie man via Google cloud #secrets managed und mounted
- das #nurmalkurz nie nie nie funktioniert
#firebase #ktor #docker #CloudRun #openjdk #secrets #nurmalkurz
Ktor 2.2.4, Kotlin framework, comes with some important communication fixes
https://link.medium.com/cB81lBxGdyb
I'm doing some investigation for the server side component of my, so far, clientside only project.
The server library #ktor is pretty nice and simple so far, all non-blocking/coroutine based which is neat. And a very ergonomic API.
Also, no need for Post Man for testing! The IDE understands the library, picks out the end points i've defined, and then you can execute requests against them and see the response all right in the IDE, pretty slick developer experience!
Last week I gave a webinar with @antonarhipov on zero-downtime deployments on #kubernetes with #Ktor in #Kotlin with #ArrowKt.
You can find the webinar here, https://www.youtube.com/watch?v=zKrTBH8jqH4
And all the source-code, and instructions to run the sample locally can be found here. https://github.com/nomisRev/ktor-k8s-zero-downtime
#kubernetes #ktor #kotlin #arrowkt
Don't miss the webinar on Thursday #Kotlin!
As always there is too much I want to talk about😅 Composing different #arrowkt DSLs and #KotlinX #Coroutines to running #Kotlin JVM/Native
#JetBrains #Ktor on #Kubernetes with zero-downtime.
& be sure to bring all your questions! ☺️
https://info.jetbrains.com/kotlin-webinar-february16-2023.html?utm_campaign=webinar-february16-2023
#kotlin #arrowkt #kotlinx #coroutines #jetbrains #ktor #kubernetes
Next week Thursday the 16th I'll be talking with
@antonarhipov again about #JetBrains #Ktor and #ArrowKt.
I'll be doing some live coding again showing Arrow's Resource DSL & SuspendApp running on
#kubernetes with #Kotlin JVM & Native!😱
#jetbrains #ktor #arrowkt #kubernetes #kotlin
SuspendApp 0.4.0 is now available! This release adds a new integration module for #Ktor.
Read more details about this release at https://xebia.com/blog/suspendapp-0-4-0-is-now-available/.
The full changelog is available on Github: https://github.com/arrow-kt/suspendapp/releases/tag/0.4.0
#ktor #jetbrainsktor #arrowkt #kotlin #functionalprogramming
My lobste.rs client Claw is basically feature complete so I've started learning #Ktor to build a sync backend service for saved posts, does anybody happen to have any tips on how to go about it? Databases, authentication, deployment for the JVM environment are all new things to me so any and all information I can get would be welcome 🙏
@THISWILLWORK I'd look at using #Kotlin & #Gradle. Then you could add Spring Boot or, if you're not a fan of dragging everything but the kitchen sink in from the get-go, you could look at a more lightweight framework like #Javalin which has #Jetty built in, or #Ktor which is pretty well established. Tbh the #Jvm ecosystem is filled with more good options. I read your view on #Maven but I believe Maven 4 is around the corner and is looking quite promising.
#maven #JVM #ktor #jetty #Javalin #gradle #kotlin
I used #Ktor for a personal project built in #Kotlin, and it's pretty good.
Latest version shows what difference tooling can make. #IntelliJIDEA can basically generate an OpenAPI spec for you. Though, I don't like that the OpenAPI doc isn't generated via a #Gradle build plugin, because via the IDE it can get to be out of date.
https://blog.jetbrains.com/ktor/2022/12/08/ktor-2-2-0-released/
#ktor #kotlin #intellijidea #gradle
On one end of the complexity scale we could have a single box setup:
1. #Ktor or #Vertx as a sort of reverse proxy.
2. Vertx as an HTTP server and Guava caches for caching.
3. A simple LinkedBlockingQueue as our queuing mechanism. Maybe with a to-disk write-ahead log.
4. The EventBus as a controller.
5. Vertx verticles as our processors.
6. #sqlite as a database and post store.
7. On-disk media storage.
8. #Lucene for search.
Here we've checked all of the boxes. It won't scale, however. 3/
RT @antonarhipov
#KotlinConf is coming, and I'll be there! With @gAmUssA we are hosting a workshop building microservices with Ktor and Kafka and I'm sure will add some interesting stuff with @thekonginc into the mix ;)
#kotlinconf #kotlin #ktor #kafka #kong
Announcing the first public #kotlin example project from 47 Degrees / Xebia Functional! It showcases many different patterns using #ArrowKt with #Ktor and #kafka to build functional microservices.
Blog posts discussing our design decisions are coming soon!
https://github.com/47deg/gh-alerts-sub
This is one of the finest examples out there at the moment. There is also a super interesting PR that refactors the codebase to leverage Context Receivers. 😍
So I guess I should do an #introduction
I live in #Minneapoils #minnesota with my spouse (they/them), our toddler son, and a cat. Hobbies are #homebrew #simracing #homeimprovement #mechanic and I dabble in #electronics
For work I'm a backend developer, who's also done infra (I guess you could say #devops). Current code base uses #kotlin #kafka #postgres #rocksdb #ktor
Contributor to #cassandra #ScyllaDB (and a few other OS projects) and have spoken at Cassandra Summit 2016
#introduction #Minneapoils #minnesota #homebrew #simracing #homeimprovement #mechanic #electronics #devops #kotlin #kafka #postgres #rocksdb #ktor #cassandra #ScyllaDB