faustinoaq changed the topic of #amber to: Welcome to Amber Framework community! | https://amberframework.org | Developer happiness, productivity and bare metal performance | GH: https://github.com/amberframework | Docs: https://docs.amberframework.org | Gitter: https://gitter.im/amberframework/amber | IRC Logger: https://irclog.whitequark.org/amber | Amber::Server.start
snsei has joined #amber
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Remote host closed the connection]
_whitelogger has joined #amber
feepbot has quit [Ping timeout: 250 seconds]
feepbot has joined #amber
feepbot has quit [Read error: Connection reset by peer]
feepbot has joined #amber
<t1|Mike> Hi! Is it possible to add a custom macro to Granite without forking and modifying it? (I don't mind making a custom fork for my needs if that is the only way)
<t1|Mike> If my question is better somewhere else please let me know
<t1|Mike> I ask because a few of my models need the same contact fields (email, phone, IM handles)
<FromGitter> <Blacksmoke16> similar to `timestamps`?
<t1|Mike> Yep, exactly
<t1|Mike> It may better handled as a linked table, now I think about it
<FromGitter> <Blacksmoke16> can still define your own macro and have it just plop down the `field email : String` stuff
<FromGitter> <Blacksmoke16> thats all the `timestamps` one does
<FromGitter> <proyb6> @vlazar From what I seen in Go code, it's number of CPU multiply by 4 seem excessive for database, perhaps worth a try on Crystal Postgres ⏎ https://github.com/TechEmpower/FrameworkBenchmarks/blob/master/frameworks/Go/fasthttp/src/server-postgresql/server.go#L28
<FromGitter> <vlazar> Thanks @proyb6 Yeah, I've checked Go's and others settings with DB pool. When I first made change from 256 to 8 in single implementation I wanted to see results both on Citrine and Azure. Then I realized other implementations in Crystal are getting errors, so results for them are probably not real anyways. So I've changed them too. Still want to check Azure results with 8 before next change. BTW do you mean trying DB 4
<FromGitter> ... connections per Crystal process? Go is single process so its like 14 * 4 = 56 connections for DB pool. Crystal should be running 14 processes and using 8 connections per process. But then latency dropped on multiple requests compared to previous 256 limit for DB pool size. For better latency it looks like we need ... [https://gitter.im/amberframework/amber?at=5bf99e2ab6c0701052800b02]
<FromGitter> <drujensen> @vlazar @proyb6 the latest benchmarks are awesome! Super happy to see that. Should we use that link instead?