helvede.net is one of the many independent Mastodon servers you can use to participate in the fediverse.
Velkommen til Helvede, fediversets hotteste instance! Vi er en queerfeministisk server, der shitposter i den 9. cirkel. Welcome to Hell, We’re a DK-based queerfeminist server. Read our server rules!

Server stats:

157
active users

#dynamodb

0 posts0 participants0 posts today

How to build #MongoDB Event Store? The neat part is you don't!

Oh well, past me thought like that, but Alexander Lay-Calvert persuaded me to change my mind and did most of the work. We delivered #MongoDB storage, and it went surprisingly well. I wrote a detailed write-up on how to do it!

There were many interesting challenges in how to make it consistent and performant, so I think that's an interesting read.

I think it's a good guide if you're considering using #MongoDB as anevent store. Surprisingly, I have had numerous discussions recently with people trying to do it.

If you're considering using key-value databases like #DynamoDB and #CosmosDB, then this article can also outline the challenges and solutions.

My first choice is still on #PostgreSQL, but I'm happy with the #MongoDB implementation in #Emmett.

If #MongoDB is already part of your tech stack and the outlined article constraints are not deal-breakers, this approach can deliver a pragmatic, production-friendly solution that balances performance, simplicity, and developer familiarity.

I'm not sure what took longer, delivering the implementation or writing this article. So I'll appreciate the feedback and sharing with your friends. ❤️

event-driven.io/en/mongodb_eve

event-driven.ioHow to build MongoDB Event Store - Event-Driven.ioEvent-Driven by Oskar Dudycz

@GossiTheDog Ultimately - this is a big part of why I hate the very-cloud-specific (and normally proprietary tech) like #DynamoDB. You can get a framework figured out to migrate most of your Lambda-ey code back on prem* (containerizing, building a scheduler of sorts etc), you can obviously EC2 on prem*, you can RDS and S3 on prem*, but there's those cloud-specific things that leave you beholden to ol' Jeff Bezos. The inflexibility to move is what scares me.

* or to another cloud

We benchmarked read and update performance by running common workloads with a fixed dataset size of 50GB (plus replications) and multiple throughput levels (measured by operations per second) across two popular SDBaaS solutions: Amazon #DynamoDB and #Redis Enterprise Cloud. No matter which workload we tested, Redis Enterprise Cloud maintained an end-to-end latency of 0.5-0.6 msec.
redis.com/blog/serverless-data

RedisDefining Serverless Databases as a Service | RedisSDBaaS ensures flexible scaling, eliminates the need to manage anything, and prevents you from paying a fortune to DBaaS vendors.

It seems like it should be possible to make a super lightweight #ActivityPub (Mastodon compatible) server that is #serverless, and e.g. stores all its state in a light serverless database like #DynamoDB.

Then you would get free scaling to multiple users, very low ongoing costs, and you could even use a premade ActivityPub client as your frontend. Is there an open source initiative along these lines already?

I realise I'm likely underestimating the effort involved here.

#introduction

Hi, I'm Erik, a #golang programmer from Norway.

I'm all for using #statecharts, so much so that I made statecharts.dev. I have witnessed the rise and fall of #rest, but continue to support restful architecture. I think I'm somehow naturally drawn towards #declarative systems.

Heavily into #kubernetes, #openshift, #kubebuilder professionally (at my employer Stibo DX), and have a sprinkle of #awslambda / #dynamodb in some personal projects.

statecharts.devWelcome to the world of StatechartsThe world of statecharts describes what statecharts are, their benefits and drawbacks, how they differ from state machines, and practical examples on how to use them.