off-topic

https://github.com/clojurians/community-development/blob/master/Code-of-Conduct.md Clojurians Slack Community Code of Conduct. Searchable message archives are at https://clojurians-log.clojureverse.org/
2020-12-31T01:27:17.318100Z

We have an api at work, where the transport is http://socket.io(which I don't particularly like, but provides a unified abstraction over websockets and long polling), and the api is defined as a graphql endpoint

2020-12-31T01:29:12.318300Z

Graphql is ok, and it gives you some bounds and lets you talk about synchronous request/response kind of messages and asynchronous subscription kinds of messages

2020-12-31T01:29:49.318500Z

The server side is using lacinia to process the graphql

2020-12-31T01:32:39.318700Z

An alternative would be to look at something like grpc's service (server?) language, which I guess is actually part of the protocol buffer language, buy let's you describe a service as a collection of kind of rpc calls with some asynchronous streaming stuff

2020-12-31T01:39:45.318900Z

https://gist.github.com/hiredman/60e5e6f0025cb38c8a7739d21f5a8ce6 is an idea I had but havent pursued too deeply, which describes a (stateful) api as a collection of specs for messages, and states where those messages are valid, inspired by ubf

2020-12-31T03:58:11.319100Z

I didn't know graphql had support for subscriptions. that's pretty cool. looking at the lacina docs for them now.

2020-12-31T04:00:21.319300Z

Will also look into grpc and that gist, thanks!

2020-12-31T09:26:54.321800Z

What do you think about this project? https://dqlite.io/ Distributed SQLite. I always like SQLite for it easiness, and that would be great to use in smaller applications [it would be great with datahike].

vemv 2020-12-31T12:05:37.322400Z

It has a jepsen test, so it looks like a serious effort 😃 https://github.com/canonical/jepsen.dqlite

👍 2
2020-12-31T12:54:15.325100Z

I tried to understand how it worked, but from my understanding, they launch the golang app and test it from there. It did not manage to understand how you could use it though xD. I wished I was smart enough to try to develop against the wire protocol,

2020-12-31T12:54:40.325800Z

Plus the jepsen code is in Clojure haha

2020-12-31T23:17:13.328500Z

Happy new year everyone :)

🎉 11
borkdude 2020-12-31T23:19:17.328700Z

Happy 2021!

🦜 14