mastodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance, open to everyone, but mainly English and French speaking.

Administered by:

Server stats:

801
active users

#dynamodb

1 post1 participant0 posts today

I've developed a simple to use DynamoDB ODM for PHP. Inspired by the likes of Doctrine, this ODM provides a powerful and flexible approach to the mapping DynamoDB items to PHP objects, making use of the attributes to provide mappings and transformers.

Feedback is always welcome, so please have let us know how you find it or if you have any questions. Usage examples are in the Readme.

github.com/Harmonic-Digital-Lt

GitHubGitHub - Harmonic-Digital-Ltd/dynamodb-odm: A simple DynamoDB ODMA simple DynamoDB ODM. Contribute to Harmonic-Digital-Ltd/dynamodb-odm development by creating an account on GitHub.
#DynamoDB#PHP#FOSS

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

📦 #LocalStack 3.7 Released: Local #AWS Emulator

🛠️ Emulates 50+ #AWS services locally (#Lambda, #S3, #DynamoDB, #Kinesis, #SQS, #SNS, more)
🐳 Runs in a single #Docker container on your machine or #CI environment
💻 Enables local #CloudDevelopment without connecting to remote cloud
🧪 Ideal for testing complex #CDK applications or #Terraform configurations
🔧 Supports additional features like #CloudDevelopment workflows
🆓 Open-source version available, with extended Pro version

#LocalStack provides a comprehensive local #AWS environment for developers and testers, simplifying cloud application development and reducing costs. Compatible with various deployment methods including CLI, Docker, and Helm.

#devops

github.com/localstack/localsta

GitHubGitHub - localstack/localstack: 💻 A fully functional local AWS cloud stack. Develop and test your cloud & Serverless apps offline💻 A fully functional local AWS cloud stack. Develop and test your cloud & Serverless apps offline - localstack/localstack
Continued thread

Registration form is working, and I even wrote a #Playwright test to check it!

I started moving the fetching logic to a queue, and I've got it wired up, but the next step is to make the queue handler save the user's achievements to the DB as well.

This is where #DynamoDB trips me up. There are Achievements, there are Users, and then there are Achievements that a User has earned; a many-to-many relationship. I'd feel pretty confident in how to design an SQL schema, but not #NoSQL

I'm in the process of writing my own email service. Hoping to start extracting myself from the Google ecosystem one service at a time, and when it comes to email I really want to roll my own.

Since I'm a team of one, I've had to consider how I'd get this done in a reasonable timeframe. I ended up deciding to go with AWS and have been able to quickly setup a way to send and receive email on my domain. I decided to have AWS write the email directly to S3, and now I'm writing a job to parse the files, upload to DynamoDB, and then move the file to a sub folder based on the recipient.

Next I'll be working on the web app to manage the emails in DynamoDB. I'll end up needing to write a simple login system, setup https, and then I can start working on the meat of the project.

#webdev#aws#dev
Continued thread

While you learn the basics of Rust, AWS Lambda, #SAM, #DynamoDB, and #API Gateway, you'll also build a fully functional URL shortener that you can deploy in your AWS account and experiment with!

For those who have already purchased a previous version, you can download the new release directly from the product page on Gumroad. 🔄

If you’re intrigued and considering buying the book now, visit our website for all the details.

Replied in thread

@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