[2023-07-03 11:16.57 +0000]

Watching rust actix videos.

Good show around of typical basic actix code
https://www.youtube.com/watch?v=Nx89jLjV0vE

Gives an introduction , overview of the components, motivations
https://www.youtube.com/watch?v=ayUfHdHFCZE

[2023-07-03 11:32.45 +0000]

Last Week I had told that I am dipping my feet in both libraries, getting a feel for them. To then make better conception or understanding of the comments others make about those libraries. And basically feel them out myself too, and not relying on completely external inputs when deciding. Majorly for me to get a feel for what someone else is talking about though.

I was told this was a good strategy. Bogdan also mentioned that Axum is indeed good, and will give more lasting learnings. Basically the learnings from the tower ecosystem and how everything fits together will be useful long term. At least compared to Rocket. No strong comparisons against Actix.

One factor I will be dealing with additionally is if I can find mentors with experience in the webframework in case I get stuck. Bogdan is also relatively new to Axum, but likes it, so I think I might have some help. Miroslav is also hopefully experienced. Will have to ask. George Mulhearn has expressed familiarity with Actix, and seems curious about Axum.

Okay, so I definitely seem to have blessings of the team with axum. I got yesses or +ve from 3 mentors, and need to ask the 4th. Currently I am studying Actix, through some videos, trying look at the code and the workflow of someone demonstrating a example project. I will talk to Miroslav finally, compile a decision statement, and fix one.

[2023-07-03 13:34.25 +0000]

axum - tokio team (+)

[2023-07-03 15:12.30 +0000]

https://youtu.be/A4cKi7PTJSs

[2023-07-03 18:12.08 +0000]

Actix https://youtu.be/ayUfHdHFCZE

Actix and Axum look quite similar actually.

THe tower system which I feared might after all be a boon, as axum, tower, tokio are all designed to fit in together. https://youtu.be/q53xalVoc6w In actix we may have had to do that but with other libraries.

Axum would be fun for the whole team.

[2023-07-03 18:27.40 +0000]

https://youtu.be/TCERYbgvbq0

Q: Do you use neovim and such? Looks very daunting to me. Q: How am I doing until now. Q: What are the steps I can take to ensure,

Todo: Read up on databases. Q: Can you suggest what would be a good next step from this stage.

I am thinking of covering a little more on axum while simultaneously working on the axum test server. Would try out database, integration for simple dummy jsons. And add logging. So this week, I suppose - Database - logging

Then implement the whole thing using realistic datatypes. (stage 2)

[2023-07-04 07:40.45 +0000]

https://blog.logrocket.com/comparing-logging-tracing-rust/

https://www.reddit.com/r/rust/comments/tryk3q/tracingactixweb_equivalent_for_axumtower/

https://carlosmv.hashnode.dev/adding-logging-and-tracing-to-an-axum-app-rust

[2023-07-06 08:36.44 +0000]

My PC borked due to low storage. I believe btrfs is partly to blame here, since there is already 50G + of storage, but somehow it's metadata blocks got full. A btrfs balance -m / solved the issue, but took up bit of time debugging the strange issues it caused. There was no notification either that something is up. Just rude awakening by ENOSPC errors while running containers for integration testing.

Side effect of this messup was my distrobox containers are all down. I need to recreate them. Thankfully, since I have been blogging and keeping notes of setup procedures, this should hopefully be quick.

Need to get back on pace soon after. !

[2023-07-06 14:59.40 +0000]

Back on track. Planning on writing simple tests.

Reading:

https://blog.logrocket.com/best-rust-http-client/

[2023-07-07 18:20.07 +0000]

Chose reqwest. https://blog.logrocket.com/making-http-requests-rust-reqwest/

Might be useful: - https://github.blog/2022-06-03-a-beginners-guide-to-ci-cd-and-automation-on-github/ - https://docs.github.com/en/actions/using-jobs/running-jobs-in-a-container


naian is participating in Linux Foundation's LFX 2023 mentorship program, working on the aries-vcx mediator project at Hyperledger Foundation.

Published

Category

Status

Tags

Contact