I feel pretty good about this, actually
-
I feel pretty good about this, actually
-
Peter Toft Jølvingreplied to Jenniferplusplus on last edited by
@jenniferplusplus is that 111ms from diverging like post to Outbox to actual delivery with a queueing in between? With actual db lookups in there? That's very much *nodding "not bad" respectfully*
-
Jenniferplusplusreplied to Peter Toft Jølving on last edited by
@joelving post to a recipient's inbox, yes. You can't draw conclusions about performance from this, of course. The dev db has like 40 rows, everything is localhost, and the queue is in-memory.
Although the in-memory queue might be viable for small servers?
Anyway, I meant more that it's doing all the things, and it's properly observable. Receive a post; process, parse, and store it; put it in local timelines; and send it to federated peers.
-
Peter Toft Jølvingreplied to Jenniferplusplus on last edited by
@jenniferplusplus uh, that's a very nice milestone. Congrats!
And sure, you won't see the tail end of performance in that setup, though I think you may see a theoretical best-case?
For small servers, you definitely don't need a separate queue server like RabbitMQ - the fewer moving parts the better - but you'd still need persistence so as not to lose data. I've been looking at Wolverine to do something like this on Postgres, but haven't tried it yet. Maybe that'll work with your architecture?
-
Jenniferplusplusreplied to Jenniferplusplus on last edited by
oh snap. It's legible to mastodon
#Letterbook -
Jenniferplusplusreplied to Peter Toft Jølving on last edited by
@joelving I'm using MassTransit. I think it can use a SQL db as a transport, and thus for persistence. But honestly, I'll probably recommend just setting up RabbitMQ.
-
Gabbo the wafrn guy :neocat_floof_devil_256: (not a vampire)replied to Jenniferplusplus on last edited by
@joelving @jenniferplusplus is this a new fedi server?
-
Gabbo the wafrn guy :neocat_floof_devil_256: (not a vampire)replied to Jenniferplusplus on last edited by
@joelving @jenniferplusplus oh no another software to test against.
In my case the big headache is being the database, mysql. Wich Im working to migrate to postgres in the main instance (this one).
if i can cache something on redis I do it
-
0xBADBABE on a break;replied to Jenniferplusplus on last edited by
@jenniferplusplus omg, congrats!!
-
Jenniferplusplusreplied to Gabbo the wafrn guy :neocat_floof_devil_256: (not a vampire) on last edited by
-
Jenniferplusplusreplied to 0xBADBABE on a break; on last edited by
@jasmin thank you!